Search found 56 matches

by daveplummermd
8 Mar 2018 21:53
Forum: Visual Prolog
Topic: Help with type differences
Replies: 2
Views: 3076

Help with type differences

I am having trouble resolving this error: The expression has type '() -> ::string* procedure', which is incompatible with the type '::string*' that points to this code: onPushButton2Click(_Source) = button::defaultAction :- xx(DB), List = DB:getallaslist, listboxnew_ctl:addList(List), !. where getal...
by daveplummermd
8 Mar 2018 21:30
Forum: Visual Prolog
Topic: Fill a listbox
Replies: 6
Views: 4449

Re: Fill a listbox

Thank you Thomas. I will re-direct my approach to learning.
Appreciate the feedback and guidance.

dave plummer
by daveplummermd
8 Mar 2018 15:35
Forum: Visual Prolog
Topic: Fill a listbox
Replies: 6
Views: 4449

Re: Fill a listbox

Hey, listen. Thank you for your help on the list box and guidance for overall learning. I must say, that I thought I was the only one in the Midwest on the steep learning curve. I feel very confident in VIP 5.x, but am struggling here in Minnesota trying to find all the functions and predicates that...
by daveplummermd
6 Mar 2018 11:04
Forum: Visual Prolog
Topic: Fill a listbox
Replies: 6
Views: 4449

Fill a listbox

Thank you kindly for the rapid and helpful response. Also, thank you for the URL containing the table of 5.x to 8.1 conversions. My question is, how would I have found your answer. The table that you sent me does not have any listbox functions. There does not seem to be any CNTRL-Shift-V activated d...
by daveplummermd
6 Mar 2018 2:46
Forum: Visual Prolog
Topic: Fill a listbox
Replies: 6
Views: 4449

Fill a listbox

How do I fill a list box with a string list, or even a single item? I have many successful projects in visual prologue 5.2. I'm trying to take on 8.1 without any experience with intervening versions. This is quite the learning curve. I have created a list box, I have its name, ID, property value she...
by daveplummermd
5 Jan 2015 23:30
Forum: Visual Prolog
Topic: Install under Dropbox...or not
Replies: 2
Views: 2231

Install under Dropbox...or not

Guys I am installing VP 7.5 commercial edition. I want to work on projects from two machines and have that work synchronized. I use dropbox for synchronizing. Here's my question: Should I install VP on both machines, allowing all the default locations, keeping only my project files within the dropbo...
by daveplummermd
13 Jan 2014 18:22
Forum: Visual Prolog
Topic: STOPIT! Exception in VPI user error hander (vpi::setErrorHandler)
Replies: 1
Views: 1633

STOPIT! Exception in VPI user error hander (vpi::setErrorHandler)

Guys I hav ea project that routinly terminates with a dialog: Title: Exception in VPI user error hander (vpi::setErrorHandler) Internal : "Dump could not be formatted besides finally finding the bug, can I get this message to stop appearing? I know it sounds messy, but I want it to stop even before ...
by daveplummermd
11 Oct 2013 15:00
Forum: Visual Prolog
Topic: seCursor() ?
Replies: 1
Views: 1380

seCursor() ?

Guys

Can you advise me on how to change the cursor, say from the standard arrow to a anything else?

Thanks in advance

dave
by daveplummermd
11 Oct 2013 14:40
Forum: Visual Prolog
Topic: "onPushButtonMouseEnter" event not detected
Replies: 5
Views: 2406

Guys

Thanks for these very helpful replies. I always learn stuff beyond the scope of the initial question.

BTW...what is with all the "term paper" crap on the board.....can this be removed or otherwise cleaned up?

Thanks again

Dave P
by daveplummermd
6 Oct 2013 2:51
Forum: Visual Prolog
Topic: "onPushButtonMouseEnter" event not detected
Replies: 5
Views: 2406

Tonton Thanks so much. When code entered exactly as you outlined, the compiler complains that the return value for the eventhandler "subEH" is not fully bound. clauses new(Parent) :- dialog::new(Parent), generatedInitialize(), pushButton_ctl:setSubClassHandler(subEH,false) . predicates subEH : eHand...
by daveplummermd
30 Sep 2013 15:00
Forum: Visual Prolog
Topic: "onPushButtonMouseEnter" event not detected
Replies: 5
Views: 2406

"onPushButtonMouseEnter" event not detected

Guys I am trying to detect a mouse over a dialog push button. I use the following: predicates onPushButtonMouseEnter : window::mouseEnterListener. clauses onPushButtonMouseEnter(_, _, _Flags):- vpiCommonDialogs::note("entered"), !. Should this detect a mouse-over-button and fire the clause? Thanks i...