Search found 22 matches

by Frank
19 Dec 2018 0:31
Forum: Visual Prolog
Topic: maximizing message window
Replies: 1
Views: 3457

Re: maximizing message window

Sorry, Please disregard what I posted, finally I found the way. Thanks
by Frank
18 Dec 2018 23:32
Forum: Visual Prolog
Topic: maximizing message window
Replies: 1
Views: 3457

maximizing message window

I have the following code which maximizes the task Window during creation and sets the font for the message window. I would appreciate if you let me know what statement should I add to this clause to maximize the message Window(form)clauses too during the creation. I tried adding wsf_maximized expre...
by Frank
31 Dec 2017 4:12
Forum: Visual Prolog
Topic: Changing TaskMenu font size
Replies: 3
Views: 1906

Re: Changing TaskMenu font size

Thanks again, I followed your clear instructions- it worked!!!!
by Frank
31 Dec 2017 3:10
Forum: Visual Prolog
Topic: Changing TaskMenu font size
Replies: 3
Views: 1906

Re: Changing TaskMenu font size

Thanks so much Harrison, I will try it.
by Frank
30 Dec 2017 21:55
Forum: Visual Prolog
Topic: Changing TaskMenu font size
Replies: 3
Views: 1906

Changing TaskMenu font size

Happy 2018 to everyone. Does anyone know how to: 1- Change the font size of the Project TaskMenu items such as, File, Help, etc. 2- Is it possible to maximize the size of a dialog box when it is initially cterated, e.g. by calling some predicates (wsf_Maximized) that is used for Windows? Best regard...
by Frank
26 Feb 2017 18:12
Forum: Visual Prolog
Topic: Accessing a specific URL from within the code
Replies: 5
Views: 1768

Accessing a specific URL from within the code

Thank you Thomas.
For now I used webBrowser control and it works fine for what I wanted to do.

Best,
Frank
by Frank
24 Feb 2017 18:46
Forum: Visual Prolog
Topic: Accessing a specific URL from within the code
Replies: 5
Views: 1768

Accessing a specific URL from within the code

I was able to find the webBrowser code in the example section that deals with the URLs. Apparently opening a URL in an external browser is achieved through the webBrowserControl type control( which is not an standard Control) on the Form. But I cannot figure out how to include such a control on a Fo...
by Frank
21 Feb 2017 17:29
Forum: Visual Prolog
Topic: Accessing a specific URL from within the code
Replies: 5
Views: 1768

Accessing a specific URL from within the code

Thanks Thomas.

All I want to open the website in an external browser, once the button is clicked.

Or alternatively if it makes it easier, I would like to put a URL link in my dialog box such that once someone clicks on that to open that website in an external browser.

Best,
Frank
by Frank
20 Feb 2017 5:30
Forum: Visual Prolog
Topic: Accessing a specific URL from within the code
Replies: 5
Views: 1768

Accessing a specific URL from within the code

Hello, Environment VP 7.4 Commercial Edition. I am trying to access an specific URL www.abc.com from within a dialog box when someone clicks on the cancel button. I am using the following code inside the program : ... predicates onCancelClick : button::clickResponder. clauses onCancelClick(_Source )...
by Frank
25 Oct 2015 21:46
Forum: Visual Prolog
Topic: Visual Prolog 7.4 Commercial Edition
Replies: 2
Views: 3339

Thanks
by Frank
19 Oct 2015 21:26
Forum: Visual Prolog
Topic: Visual Prolog 7.4 Commercial Edition
Replies: 2
Views: 3339

Visual Prolog 7.4 Commercial Edition

I would like to upgrade my operating system from Windows 7 to Windows 10. Please let me know if version 7.4 compatible with that.

Thanks,
Frank
by Frank
5 Jun 2015 17:39
Forum: Visual Prolog
Topic: Deterministic Error
Replies: 7
Views: 3383

Deterministic Error

Hi Martin,
As I indicated earlier, when I followed Peter's suggestion, the problem was resolved and the code is running fine now. However, I will try Thomas and your suggestions to make the code even better.

Thanks again.

Best regards,
Frank
by Frank
3 Jun 2015 21:43
Forum: Visual Prolog
Topic: Deterministic Error
Replies: 7
Views: 3383

Deterministic Error

Thanks Martin, Peter and Thomas for your valuable and detailed suggestions. I continued getting the error messages when I replaced the retract statement with text1(Title) and/or removed the cut. The error message disappeared when I used Peter's suggestion: if retract (text1(Title)),! then Result= Ti...
by Frank
2 Jun 2015 23:18
Forum: Visual Prolog
Topic: Deterministic Error
Replies: 7
Views: 3383

Deterministic Error

I capture a string variable(Title) in one part of the program in a class fact class facts text1:(string). clauses dotext(Title):- retract(text1(Title)), asserta(text1(Title)),!. dotext(Title):- asserta(text1(Title)). then I try to use the variable in another part of the same program predicates onDia...
by Frank
1 Feb 2015 17:31
Forum: Visual Prolog
Topic: Wiki Visual Prolog Tutorial- Error message
Replies: 1
Views: 1580

Wiki Visual Prolog Tutorial- Error message

At the end of an excellent step-by-step Fundamental Visual Prolog GUI tutorial, there is an instruction how to make tryGetName predicate global by adding certain codes to ancestorDialog.cl. After addition, of the suggested lines the codes looks like: class ancestorDialog : ancestorDialog open core, ...