Página 1 de 2

A little help for a very important cause

Publicado: 13 Jun 2012 21:13
por Holly
Hi,
I'm Oliver and I'm a teacher in an institution for disabled.

I'm working for a totally free initiative.
The browser I've attached is perfect for disabled.

I need a complete favourite section that shows saved urls in a combobox.
Then I need a section, on an another page of the project.
In this section my users could add, edit, delete. or move a bookmark along the combobox.
I think a combobox is better because I will change font size easily.
Pratically I need a bookmark section like a normal browser.

Thanks a lot in advance

http://dl.dropbox.com/u/20876074/WebBrowser.zip

Re: A little help for a very important cause

Publicado: 13 Jun 2012 23:08
por rafaxplayer
ok, here I send you what I miss so far, the design theme and details I leave it in your hands, any doubt still here;)

HIDE: ON
Hidebb Message Hidden Description

Re: A little help for a very important cause

Publicado: 14 Jun 2012 00:38
por xxsolracxx
ok

Re: A little help for a very important cause

Publicado: 14 Jun 2012 01:05
por Holly
Nice work, don't worry for the theme and design.

I have some questions:

1 The "Edit Bookmark function" works in a strange mode

2 Up and Down buttons aren't useful. I need that these two buttons change the position of the bookmark in the list and obviously in the file Bookmarks.dat. If it is too hard for you, don't worry.

3 Why you use DialogEx plugin? I don't want to disturb you in the future so,
do you confirm Windows 8 compatibility?

Excuse me dear Rafaxplayer, but I'm desperate!

I will wait for a your complete .apz

Thanks a lot my friend!

Re: A little help for a very important cause

Publicado: 14 Jun 2012 06:24
por rafaxplayer
New version coming down from the same link

1 - I think I fixed the behavior of "edit"

2 - What to change the order is somewhat tedious if you have to do well in her dat, better dejarlode good causes

3 - DIALOGEX is a way to use pop-ups very useful, do not think there win8 problems, if any were fixed in future versions of ams and now we can do nothing.

Any suggestions more to say and only tiens try to improve the program, not a hassle for me when it comes to good causes.

Re: A little help for a very important cause

Publicado: 14 Jun 2012 18:20
por Holly
Ok friend, I uploaded a new version.
I've fixed the bug regarding the tab text and I've removed Up and Down arrows.

http://dl.dropbox.com/u/20876074/WebBrowser2.apz

Now there are two problems:

1 When I double click on a bookmark, it is opened always in the tab 1.

2 I need an "Add to bookmark button" with dialog to accept.


Muchas Gracias!

Re: A little help for a very important cause

Publicado: 15 Jun 2012 09:53
por rafaxplayer
Well it is easy to store favorite with this code on the button of favorites:
edit =true;
sUrl = IExplorer.GetLocationURL("Web"..ActiveTab);
sName = IExplorer.GetTitleText("Web"..ActiveTab);
if sName ~= "" and sUrl ~= "" then
	DialogEx.Show("Dialog2", true, nil, nil);
end
Concerning the tabs I found a problem with iesplorer objects, is that the true function plugin.setvisible not work and can not be hecr as you put it in your order, once hidden is no way to make it visible (or I do not you do) you should find another method for tabs

Re: A little help for a very important cause

Publicado: 15 Jun 2012 12:06
por mecivic
Bellow is an example that might help with tabs

HIDE: ON
Hidebb Message Hidden Description

Re: A little help for a very important cause

Publicado: 15 Jun 2012 16:34
por Holly
@rafaxplayer
Please try to update IExplorer Object Plugin

http://dl.dropbox.com/u/20876074/IExplo ... ersion.zip

This is a new version, created just for me by the developer.
This version fixes SetVisible problems and Zoom features.


As you can see in the example below, I tried to add the code you suggested but it doasn't work.

xButton5
http://dl.dropbox.com/u/20876074/WebBrowser3.apz

Re: A little help for a very important cause

Publicado: 15 Jun 2012 17:22
por rafaxplayer
<div>

Re: A little help for a very important cause

Publicado: 15 Jun 2012 17:41
por j2a2foros
yes..

Re: A little help for a very important cause

Publicado: 15 Jun 2012 17:53
por Holly
rafaxplayer escribió:<div>
What do you mean?

Re: A little help for a very important cause

Publicado: 15 Jun 2012 20:09
por rafaxplayer
Now the tabs are working properly with this version of the plugin

The favorites button also works whenever there is a web loaded into the active tab.

Re: A little help for a very important cause

Publicado: 15 Jun 2012 20:21
por Holly
Excuse me, what is the link?
I tried your previous link

http://dl.dropbox.com/u/27007640/Plugins/WebBrowser.apz

but it refer to the old version of the sample

Thanks for your time man!

Re: A little help for a very important cause

Publicado: 16 Jun 2012 06:16
por rafaxplayer
ok sorry...

HIDE: ON
Hidebb Message Hidden Description

Re: A little help for a very important cause

Publicado: 16 Jun 2012 11:51
por Holly
Sorry rafaxplayer, this link refers to the old version.
Please rename it to avoid confusion.

Re: A little help for a very important cause

Publicado: 16 Jun 2012 13:44
por rafaxplayer
Holly escribió:Sorry rafaxplayer, this link refers to the old version.
Please rename it to avoid confusion.

HIDE: ON
Hidebb Message Hidden Description

Re: A little help for a very important cause

Publicado: 16 Jun 2012 18:11
por Holly
Now the url is loaded into the active tab.

Note that the "Add to Favourite" (xButton5) doesn't work.
I press it, confirm it but no favourite is added into the list.

So I changed your code and now it works, below the sintax I used
edit =true;
sUrl = IExplorer.GetLocationURL("Web"..ActiveTab);
sName = IExplorer.GetTitleText("Web"..ActiveTab);
if sName ~= "" and sUrl ~= "" then
        ret = DialogEx.Show("Dialog2", true, nil, nil);
end

if ret == 1 then
INIFile.SetValue("Bookmarks.dat", "Bookmarks", sName, sUrl);
Dialog.Message("Ok", "Bookmark saved!", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
end
I hope there are no errors, otherwise please make a correction.

Finally I tested it on Windows 8 Consumer Preview and It works perfectly.

Dear Rafaxpleyer thanks a lot for your great support.

Re: A little help for a very important cause

Publicado: 16 Jun 2012 18:20
por rafaxplayer
sorry the code of xbutton5 is:
edit =true;
sUrl = IExplorer.GetLocationURL("Web"..ActiveTab);
sName = IExplorer.GetTitleText("Web"..ActiveTab);
if sName ~= "" and sUrl ~= "" then
       ret= DialogEx.Show("Dialog2", true, nil, nil);
       	if ret == 1 then
			INIFile.SetValue("Bookmarks.dat", "Bookmarks", sName, sUrl);
			Dialog.Message("Ok", "Bookmark saved!", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
			
		end
        
end

Re: A little help for a very important cause

Publicado: 16 Jun 2012 18:30
por Holly
Ok, I've just applied your code now.
You have been very fast!