Search found 63 matches

by daveplummermd
25 Jul 2021 20:51
Forum: Visual Prolog
Topic: installing 1002 error
Replies: 1
Views: 86

installing 1002 error

Hello I am running Build1001 CE and have downloaded 1002 CE. On installation, I receive the Windows Installer dlg box : vpi1002.jpg The previous builds have allowed the previous versions to remain installed (all the way back to 5.2, a good idea). Can you advise on the proper installation sequence an...
by daveplummermd
17 May 2021 13:54
Forum: Visual Prolog
Topic: timerSet Problem n VIP10CE
Replies: 2
Views: 422

Re: timerSet Problem n VIP10CE

Thanks much
by daveplummermd
16 May 2021 21:25
Forum: Visual Prolog
Topic: timerSet Problem n VIP10CE
Replies: 2
Views: 422

timerSet Problem n VIP10CE

Hello A recent upgrade from VIP9CE to VIP10CE is throwing an error on previously working code (the same project works in VIP9). Constructing a DLG, I have the code: clauses new(Parent) :- dialog::new(Parent), generatedInitialize(), _ = timerSet(20), !. new(_). Compiles fine and at runtime produces t...
by daveplummermd
12 Mar 2021 12:14
Forum: Visual Prolog
Topic: Example for removeAllBy
Replies: 5
Views: 1024

Re: Example for removeAllBy

Gukalov

is it possible to do this same thing with different domains?
For example if x=1 and List=[1,2,3] in your example? What is the comparator to be used?

Code: Select all

X=1, List=[1,2,3], L = list::removeAllBy(somecomparitor, List, X),
dave
by daveplummermd
10 Mar 2021 22:46
Forum: Visual Prolog
Topic: Example for removeAllBy
Replies: 5
Views: 1024

Re: Example for removeAllBy

Thank you for the example.
There is some stuff here I don't understand but I'll work through it using debug to learn.
Again, thanks for your reply.
by daveplummermd
10 Mar 2021 16:16
Forum: Visual Prolog
Topic: Example for removeAllBy
Replies: 5
Views: 1024

Example for removeAllBy

Folks, could anyone provide an example of how to use "removeAllBy". There is no such example in the programs provided under examples and I don't understand the arguments that need to be included.

Thanks in advance
Dave Plummer MD
by daveplummermd
16 Feb 2021 17:43
Forum: Visual Prolog
Topic: pictLoad (bmp and jpeg)
Replies: 1
Views: 676

pictLoad (bmp and jpeg)

Folks,
Does pictLoad(FileName) only work with *.bmp files?
dave
by daveplummermd
3 Aug 2020 20:44
Forum: Visual Prolog
Topic: Custom Control Help
Replies: 2
Views: 2666

Re: Custom Control Help

Thomas
Thanks so much. This is an extremely helpful response and works as advertised. Now, I just have to understand how and why, but that's on me.

Thanks Again

dave
by daveplummermd
27 Jul 2020 22:02
Forum: Visual Prolog
Topic: Custom Control Help
Replies: 2
Views: 2666

Custom Control Help

Guys I need help with custom controls and "reusable code". Example: 1) I have made a custom control "lb" that only contains a listbox. 2) I then make a diaglog box "dlg" and insert my new custom control "lb" 3) Now I want to take action in dlg.pro on any selec...
by daveplummermd
29 Mar 2020 12:58
Forum: Visual Prolog
Topic: pictDraw problem and question
Replies: 10
Views: 6496

pictDraw problem and question

Hello I am trying to understand and eliminate an unexpected behavior with the pictDraw predicate. I have a custom control that is used in standard dialogue. The control has this code: onPaint(_Source, _, Gdiobject) :- vpi::pictGetSize(pictPlus, XWidth, YHeight, _ImageSize), This:getClientRect() = rc...
by daveplummermd
11 Mar 2020 1:04
Forum: Visual Prolog
Topic: Dialog and Window Expert(Problem)
Replies: 1
Views: 3716

Dialog and Window Expert(Problem)

Guys After adding a new menu item using the dlg presenting by double-clicking "taskwindow.mnu" in the project tree, the behaviour of the "dialogue and Window Expert" preseting after double click of "taskwindow.win" is changed/lost. For example, double clicking on the un...
by daveplummermd
4 Jan 2020 14:51
Forum: Visual Prolog
Topic: Declaring predicates containing elipse
Replies: 2
Views: 4418

Declaring predicates containing elipse

How do I declare the predicates supporting the following? clauses ppp(...) :- W = { () :- stdio::write(...) }, qqq(W). I am working through the examples included in the document "Language Reference/Terms", under the heading "Capturing ellipsis (...)". The above code is included t...
by daveplummermd
18 Jun 2019 13:13
Forum: Visual Prolog
Topic: sciLexer selcted text
Replies: 2
Views: 7981

Re: sciLexer selcted text

Thanks
by daveplummermd
1 May 2019 13:40
Forum: Visual Prolog
Topic: onKeyDown and window::defaultKeyDownHandling
Replies: 6
Views: 4472

Re: onKeyDown and window::defaultKeyDownHandling

Thanks Guys
I am going to experiment/play with both ideas

dave