Search found 98 matches

by dominique f pannier
21 Mar 2013 10:43
Forum: Visual Prolog
Topic: Expand a picture without flickering with 7.4
Replies: 8
Views: 4135

Expand a picture without flickering with 7.4

Hi, I joined two projects (the second in the next post) . One is build with VIP 7.4, the other one with VIP 7.3. The purpose of the projects is to expand the same picture. One can see that the expansion with 7.3 is perfect, when the expansion with 7.4 displays an unpleasant flickering. The code is f...
by dominique f pannier
14 Mar 2013 16:23
Forum: Visual Prolog
Topic: How to declare and to pass Control name between clauses
Replies: 2
Views: 1065

Hi, This code will not work. If you write : check_value(_String,EditControl_name):- name :=EditControl_name, name :setVisible(true). it means that the fact-variable name stores the object EditControl_name . Then when you declare this fact-variable, its type is editcontrol : facts name : editcontrol ...
by dominique f pannier
3 Mar 2013 17:18
Forum: Visual Prolog
Topic: TreeControl exception in 7.4
Replies: 2
Views: 988

Sorry,
all is right. I forgott to define the treemodel in the show event :-( :!:
by dominique f pannier
3 Mar 2013 16:48
Forum: Visual Prolog
Topic: TreeControl exception in 7.4
Replies: 2
Views: 988

TreeControl exception in 7.4

Hi,
When adding a treeControl in a dialog or in a form without doing something else than define the @node item, I get the following exception in 32bit and 64bit platfom.
by dominique f pannier
28 Feb 2013 17:49
Forum: Visual Prolog
Topic: Ambiguity in wedBrowserControl
Replies: 2
Views: 2366

Ambiguity in wedBrowserControl

Hi, I want to set the position of a webBrowserControl into a form. I think to use, in the show event : webBrowserControl_ctl:top :=30, webBrowserControl_ctl:left :=0, But I get an ambiguity warning : top and left are properties of the inherited interface webBrowser and also domains if the inherited ...
by dominique f pannier
28 Feb 2013 17:12
Forum: Visual Prolog
Topic: script-error windows in html pages of webBrowser
Replies: 8
Views: 2883

It seems that it only occurs in 64bit mode. I tried to trace with the debugger the pntPixel2Unit predicate of dialog.pro which runs the mapDialogRect predicate apparently incriminated by the exception report, but without success : the program Under debug terminated normally. But out of debug, the ex...
by dominique f pannier
28 Feb 2013 14:26
Forum: Visual Prolog
Topic: script-error windows in html pages of webBrowser
Replies: 8
Views: 2883

Hi again,
Apparently, these exceptions appears only when the following code is added at the show event:

Code: Select all

        setState([wsf_Maximized]),
:!:
by dominique f pannier
28 Feb 2013 11:46
Forum: Visual Prolog
Topic: script-error windows in html pages of webBrowser
Replies: 8
Views: 2883

Hi, I found the very simple solution : like explained : the WebBrowser control hides all its dialog boxes ... the webbrowser property silent fills this role. Now, I come back upon exceptions which are regularly generated when I want to close a web page opened with the webBrowser. My code of the form...
by dominique f pannier
26 Feb 2013 17:32
Forum: Visual Prolog
Topic: Cosmetic : unreachable height inti IDE
Replies: 2
Views: 1117

Thanks to clarify about these safeguards, Thomas.
by dominique f pannier
24 Feb 2013 17:55
Forum: Visual Prolog
Topic: Cosmetic : unreachable height inti IDE
Replies: 2
Views: 1117

Cosmetic : unreachable height inti IDE

Hi, Launch the listDemo project of the VIP 7.4 Examples. Edit the listdemo.dlg , select edit_ctl or OK_button . Click into the value column of the properties window : X, Y, Width, etc. have values with a blue background : they can be changed. It's not the case of the height property : impossible to ...
by dominique f pannier
19 Feb 2013 14:18
Forum: Visual Prolog
Topic: Webrowser example
Replies: 4
Views: 1485

Hi, After multiple try in 32 bits mode, at first click : - wiki and Discussion forum opens right the html page - Home Page and Video Tutorials almost invariabily does not open the page and either opens a window with the title "Demonstrates usage of the active X control" and the message that the prog...
by dominique f pannier
19 Feb 2013 11:00
Forum: Visual Prolog
Topic: Webrowser example
Replies: 4
Views: 1485

by dominique f pannier
19 Feb 2013 10:53
Forum: Visual Prolog
Topic: script-error windows in html pages of webBrowser
Replies: 8
Views: 2883

Thanks Thomas,
I will investigate. :-)
by dominique f pannier
17 Feb 2013 10:30
Forum: Visual Prolog
Topic: Webrowser example
Replies: 4
Views: 1485

Webrowser example

Hi,
When launching Webbrowser example and clicking upon File/New browser and then Home Page or Video tutorials, I get the attached exception once a while....
It did not happen with the 2 other links.
by dominique f pannier
16 Feb 2013 16:35
Forum: Visual Prolog
Topic: script-error windows in html pages of webBrowser
Replies: 8
Views: 2883

script-error windows in html pages of webBrowser

Hi, When running a trivial URL with then webBrowserControl object, it'not rare that are displayed script-error windows because of the code of the hmtl page of the target site. In the webBrowser Properties article, MSDN mentions the ScriptErrorSuppressed property. http://msdn.microsoft.com/en-us/libr...