Search found 88 matches

by daveplummermd
18 Jun 2019 13:13
Forum: Visual Prolog
Topic: sciLexer selcted text
Replies: 2
Views: 4757

Re: sciLexer selcted text

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

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

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) = Form :- Form ...
by daveplummermd
30 Apr 2019 17:02
Forum: Visual Prolog
Topic: onKeyDown and window::defaultKeyDownHandling
Replies: 6
Views: 428

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(Parent), Form:show(). clauses new(Parent) :-...
by daveplummermd
26 Apr 2019 14:25
Forum: Visual Prolog
Topic: Color background of standard control
Replies: 3
Views: 319

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

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("eventDispCtr...
by daveplummermd
11 Feb 2019 1:58
Forum: Visual Prolog
Topic: email sending...
Replies: 4
Views: 3373

Re: email sending...

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

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("smtp.googlemail....
by daveplummermd
2 Jan 2019 6:25
Forum: Visual Prolog
Topic: Identify and call back to "parent" object.
Replies: 1
Views: 3224

Identify and call back to "parent" object.

Guys Is it possible to identify the calling object and callback back to it from a created object? Example: 1) From within Taskwindow create object O1 that belongs to class C1. 2) From within Taskwindow create object O2 that belongs to different class C2 now... 3) Both O1 and O2 each create objects O...
by daveplummermd
17 Dec 2018 19:40
Forum: Visual Prolog
Topic: Wheel Scrolling in Grid Example
Replies: 4
Views: 3506

Re: Wheel Scrolling in Grid Example

Guys No changes to generatedInitialize . Let me restate the steps: 1) move the declaration of " grid_vmove_cells_area " to vpiGrid.cl 2) Add listener " addVScrollListener(onVScroll)] " to the constructor new(Parent) in childDialog.pro new(Parent) :- dialog::new(Parent), generatedInitialize(), This:a...
by daveplummermd
6 Dec 2018 17:48
Forum: Visual Prolog
Topic: Wheel Scrolling in Grid Example
Replies: 4
Views: 3506

Re: Wheel Scrolling in Grid Example

OK, if interested, I got it. 1) move the declaration of "grid_vmove_cells_area" to vpiGrid.cl 2) Add listener " addVScrollListener(onVScroll)" to the clause " generatedInitialize()" in childDialog.pro 3) add the clause "onVScroll" to handle the scroll event onVScroll(Source, ScrollCode, ThumbPositio...
by daveplummermd
2 Dec 2018 3:06
Forum: Visual Prolog
Topic: Wheel Scrolling in Grid Example
Replies: 4
Views: 3506

Wheel Scrolling in Grid Example

Guys
Can you advise on how to introduced scrolling the GRID by mouse wheel events in the Grid example distributed with v8.+. I have scoured the forum with no luck.

Thanks in advance
Dave Plummer
by daveplummermd
24 Oct 2018 16:48
Forum: Visual Prolog
Topic: Get Menu check status
Replies: 7
Views: 7623

Re: Get Menu check status

perfect!
Thanks
by daveplummermd
16 Oct 2018 13:39
Forum: Visual Prolog
Topic: Get Menu check status
Replies: 7
Views: 7623

Re: Get Menu check status

how do I get the vpiDomains::menuTag from the resourceidentifier defined in the IDE?

thanks in advance
dave
by daveplummermd
16 Oct 2018 13:08
Forum: Visual Prolog
Topic: Get Menu check status
Replies: 7
Views: 7623

Re: Get Menu check status

Thanks for this excellent reply!