Search found 88 matches

by daveplummermd
15 Apr 2018 22:22
Forum: Visual Prolog
Topic: message window wrap
Replies: 2
Views: 5122

message window wrap

Guys How does one set/change the word-wrap value (force text to wrap) in the standard message window, like that created in any supplied example? ( I can maximize, I cant seem to wrap) typical code..... onShow(_Source, _CreationData) :- Obj = messageForm::display(This), MessageControl = Obj:getMessag...
by daveplummermd
15 Apr 2018 22:16
Forum: Visual Prolog
Topic: compound domains as return values?
Replies: 2
Views: 4961

Re: compound domains as return values?

Thanks so much.
by daveplummermd
8 Apr 2018 21:57
Forum: Visual Prolog
Topic: compound domains as return values?
Replies: 2
Views: 4961

compound domains as return values?

Hello

Is it possible to declare a procure in an interface to a class that returns a compound domain?
Such as:

Code: Select all

interface X getDates()->dates Dates. end interface X
where the return domain is defined:

Code: Select all

domains dates = d (integer,integer,integer).
Thanks in advance,
Dave
by daveplummermd
2 Apr 2018 1:15
Forum: Visual Prolog
Topic: sendMessage examples?
Replies: 5
Views: 6433

Re: sendMessage examples?

Thanks so much for reply.

This all was solved when I realized that I can create class predicates in TaskWindow, like any other.

My newbie mistake with this really impressive language!

Thanks again

dave
by daveplummermd
1 Apr 2018 12:52
Forum: Visual Prolog
Topic: sendMessage examples?
Replies: 5
Views: 6433

Re: sendMessage examples?

Thanks, but this code includes predicates for "messageBox", but not "sendmessage"

dave
by daveplummermd
1 Apr 2018 2:05
Forum: Visual Prolog
Topic: sendMessage examples?
Replies: 5
Views: 6433

sendMessage examples?

Hello

Are there any examples that make use of "sendMessage". I do not see any in the examples. I am trying to activate a taskmenu item from within a class.

Thanks in advance
dave plummer m.d.
by daveplummermd
15 Mar 2018 21:15
Forum: Visual Prolog
Topic: e504 (Type incompatibility)
Replies: 4
Views: 4020

Re: e504 (Type incompatibility)

Thank you both for your replies.

Do you recommend "foreach" over backtracking into nondeterm clause for 1) readability of code or 2) run time efficiency. Or both?

Thanks
by daveplummermd
14 Mar 2018 20:39
Forum: Visual Prolog
Topic: e504 (Type incompatibility)
Replies: 4
Views: 4020

e504 (Type incompatibility)

Guys Can you help? Compiler gives me error e504 The expression has type '::string', which is incompatible with the type 'ArgType$*' pointing to : ReplaceSlist = list::getMember_nd(LSlist), facts - similars similar : (string_list). predicates substitute_Phrases : (string*, string*, string*) determ. c...
by daveplummermd
9 Mar 2018 14:49
Forum: Visual Prolog
Topic: Help with type differences
Replies: 2
Views: 2304

Re: Help with type differences

Of coarse!
thanks you sir.

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

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: 2977

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: 2977

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: 2977

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: 2977

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: 1588

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...