Search found 57 matches

by daveplummermd
16 Feb 2021 17:43
Forum: Visual Prolog
Topic: pictLoad (bmp and jpeg)
Replies: 1
Views: 112

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

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

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

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

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

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

Re: sciLexer selcted text

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

Re: onKeyDown and window::defaultKeyDownHandling

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

dave
by daveplummermd
1 May 2019 1:43
Forum: Visual Prolog
Topic: onKeyDown and window::defaultKeyDownHandling
Replies: 6
Views: 3811

Re: onKeyDown and window::defaultKeyDownHandling

I understand that I can introduce a "addNativeMessageHandler(onNative)" and then detect and act on key presses that way...such as this code to detect a keydown and keyup events for the left shift key: implement keyDown inherits formWindow open core, vpiDomains clauses display(Parent) = For...
by daveplummermd
30 Apr 2019 17:02
Forum: Visual Prolog
Topic: onKeyDown and window::defaultKeyDownHandling
Replies: 6
Views: 3811

onKeyDown and window::defaultKeyDownHandling

I cant seem to capture a "onKeyDown" event. I contstruct a simle form called "keyDown", that has both a "setKeyDownResponder" and a "setCharResponder" implement keyDown inherits formWindow open core, vpiDomains clauses display(Parent) = Form :- Form = new(Pare...
by daveplummermd
26 Apr 2019 14:25
Forum: Visual Prolog
Topic: Color background of standard control
Replies: 3
Views: 2751

Re: Color background of standard control

Perfect, thanks!
by daveplummermd
24 Apr 2019 20:47
Forum: Visual Prolog
Topic: Color background of standard control
Replies: 3
Views: 2751

Color background of standard control

Guys Can the color background of a standard control, specificlly static text control, be modified? I am reading the disscussions, many answers that refer to "next versions" that have probably been implemented in my 9.01 CE. After standard creation here: generatedInitialize() :- setText(&qu...
by daveplummermd
11 Feb 2019 1:58
Forum: Visual Prolog
Topic: email sending...
Replies: 5
Views: 7256

Re: email sending...

vip 9?
cant wait.
dp
by daveplummermd
10 Feb 2019 0:33
Forum: Visual Prolog
Topic: email sending...
Replies: 5
Views: 7256

email sending...

Guys Can you advise on how to send email from within VIP8CE program? I have included the "sendMail_smtp" class in my project. I have placed the code: predicates onHelpTestemail : window::menuItemListener. clauses onHelpTestemail(_Source, _MenuTag) :- MailServer = sendMail_smtp::new("s...