Search found 88 matches

by daveplummermd
20 May 2012 12:17
Forum: Visual Prolog
Topic: frameDecoration::closeResponder
Replies: 1
Views: 974

frameDecoration::closeResponder

Guys I am trying to verify the close requests with user input. But, I can not see how to prevent closure . here is clip of code in question: predicates onClose : frameDecoration::closeResponder. clauses onClose(_Source) =frameDecoration::defaultCloseHandling():- Ans=vpiCommonDialogs::ask("Are You Su...
by daveplummermd
18 May 2012 14:06
Forum: Visual Prolog
Topic: window vs vpiDomains::windowHandle type difference.
Replies: 2
Views: 1258

Thanks for reply.
I am studying the differences now.

dave plummer
by daveplummermd
17 May 2012 18:28
Forum: Visual Prolog
Topic: window vs vpiDomains::windowHandle type difference.
Replies: 2
Views: 1258

window vs vpiDomains::windowHandle type difference.

Guys What is wrong with this code: onShow(Source, _CreationData):- vpi::winMove (Source, rct(0,0,200,200) ) , On compilation it states: TaskWindow\TaskWindow.pro(36,23) error c504: The expression has type '::window', which is incompatible with the type 'vpiDomains::windowHandle' I am bumping all ove...
by daveplummermd
15 May 2012 0:15
Forum: Visual Prolog
Topic: exe with all the *.dll s
Replies: 6
Views: 2337

OK....
After a few trials, this appears to be accomlished with VMware virtualized application at:
http://download3.vmware.com/media/thina ... demo9.html

in case others have similar question.

dave
by daveplummermd
13 May 2012 15:43
Forum: Visual Prolog
Topic: exe with all the *.dll s
Replies: 6
Views: 2337

Are you referring to a 3rd party tool? Or, something packaged in to CE?

Thanks for response

Dave
by daveplummermd
12 May 2012 17:14
Forum: Visual Prolog
Topic: exe with all the *.dll s
Replies: 6
Views: 2337

exe with all the *.dll s

Guys
I am migrating to VP 7.3 CE...I really like it.
But, in old VP (5.x) I could compile to standalone EXE that required no accompanying *.dll in the same directory to run.

Is there a way to package all this into one EXE?

Thanks in advance
Dave Plummer M.D.
by daveplummermd
6 May 2012 21:16
Forum: Visual Prolog
Topic: Formatted quoted String
Replies: 3
Views: 1333

thank you Kari
I see this reference also (http://www.marathon-studios.com/unicode ... git_Number)

looks like all escape sequences are unicode now?

again thanks

dave plummer
by daveplummermd
6 May 2012 18:32
Forum: Visual Prolog
Topic: Formatted quoted String
Replies: 3
Views: 1333

Formatted quoted String

Guys How do I format a quoted string? (to include the quotations marks in the output). old method (VIP5.2): ..... format(FormatedString," I want this in quotes : \34%\34",Var), ... Now when I use (VIP 7.3): ... FormatedString=string:format(" I want this in quotes : \34%\34",Var), ... it notes that \...
by daveplummermd
5 May 2012 12:26
Forum: Visual Prolog
Topic: Object as predicate argument?
Replies: 8
Views: 2690

Very helpful.
Thanks you.
by daveplummermd
4 May 2012 18:31
Forum: Visual Prolog
Topic: Object as predicate argument?
Replies: 8
Views: 2690

Very interesting.

I will study your code carefully.

Thanks for you rapid reply.

Dave Plummer M.D.
by daveplummermd
4 May 2012 14:20
Forum: Visual Prolog
Topic: Object as predicate argument?
Replies: 8
Views: 2690

the predicate "ww" is declared as:

Code: Select all

predicates     ww: (object).
about half way down.
by daveplummermd
4 May 2012 10:54
Forum: Visual Prolog
Topic: Object as predicate argument?
Replies: 8
Views: 2690

Thanks

I meant for that to be identical snippets of code. In any case, with change, it does not work either.

Any other ideas?

Dave
by daveplummermd
3 May 2012 23:05
Forum: Visual Prolog
Topic: Object as predicate argument?
Replies: 8
Views: 2690

Object as predicate argument?

Guys can you tell me why this code compiles fine fine: onFileNew(_Source, _MenuTag):- ExeObj=useExe::new("D:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe http://discuss.visual-prolog.com"), ExeObj:setShowWindow(true()), ExeObj:run(), programControl::sleep(15000), if ExeObj:isActive() then ExeO...