Search found 13 matches

by Richard Clarke
18 Feb 2016 4:52
Forum: Visual Prolog
Topic: Form Menu Action
Replies: 1
Views: 2983

Form Menu Action

My form formA has got a menu and a poush button. The push button does what I want but not the menu action.
by Richard Clarke
13 Feb 2016 3:10
Forum: Visual Prolog
Topic: Activate window
Replies: 3
Views: 3751

Thanks, that works. Believe it or not, setting focus was the first thing that occured to me. Sadly I used vpi::winSetFocus instead of setfocus() , as in:- Window=FormA, WindowHandle = Window:getVPIWindow(), vpi::winSetFocus (WindowHandle) , This, for some reason, does not have the desired effect (wh...
by Richard Clarke
12 Feb 2016 21:49
Forum: Visual Prolog
Topic: Form Menu Code Expert
Replies: 14
Views: 8961

It's the lack of symmetry, if that's the right word, that is disconcerting. There is admirable assistance from the code expert when using the taskmenu, but not for other menus of user creation. This is not logical., or should I say not orthogonal. . Both are menus so user would expect their behaviou...
by Richard Clarke
12 Feb 2016 21:40
Forum: Visual Prolog
Topic: Activate window
Replies: 3
Views: 3751

Activate window

If you have more than one window showing, say FormA and Form B, how can you make one rather than the other active under program control (as you can manually with mouse clicks)? If you mouse click on such a window, say FormA the previously active window (say FormB) receives the deactive event and the...
by Richard Clarke
11 Feb 2016 1:17
Forum: Visual Prolog
Topic: Form Menu Code Expert
Replies: 14
Views: 8961

Form Menu Code Expert

A while ago it was said "I guess, we should add one more tab on the Properties editor for dealing with the individual menu entities." I can see under Properties, Menu: you get to choose the menu you have created but this is not exactly "dealing with the individual menu entities" I'd like to be able ...
by Richard Clarke
21 Jan 2016 13:09
Forum: Visual Prolog
Topic: Messages window - update
Replies: 3
Views: 3752

Thanks for getting back to me. Not quite EVERYTHING is delayed: some things slip through others do not. Here's the set up. There are two forms formA and formB plus the messages window on display. formB has an edit_ctl In code behind formA there is a looping routine Within the loop we send text Rem1 ...
by Richard Clarke
21 Jan 2016 1:15
Forum: Visual Prolog
Topic: Messages window - update
Replies: 3
Views: 3752

Messages window - update

Is it possible to update the messages window using :update() ? Reason for asking is: Output to the messages window is delayed while looping code loops in a form "formA" Output to an edit_ctl of another form, "fomB" is similarly delayed but can be forced OK with FomB:update(). I gather the explanatio...
by Richard Clarke
21 Apr 2012 23:52
Forum: Visual Prolog
Topic: Form Menu Code Expert
Replies: 14
Views: 8961

The help file says re Dialog and Window Expert Dialog and Window Expert The Dialog and Window Expert is a tool that connects Visual Prolog code to layouts of windows, dialogs , forms, and IDE controls. After a dialog or a window is designed, the Dialog and Window Expert can be used to generate the n...
by Richard Clarke
14 Apr 2012 16:12
Forum: Visual Prolog
Topic: Form Menu Code Expert
Replies: 14
Views: 8961

Sounds worthy. If you look at the help on creating a form, at Creating a Form you will see that the illustration shows what you now get, i.e the Form Properties Dialog but the description below matches not that but the Window Attributes Dialog (which is what you used to get under 6.3 but now only ge...
by Richard Clarke
12 Apr 2012 23:37
Forum: Visual Prolog
Topic: Form Menu Code Expert
Replies: 14
Views: 8961

I know the property editor is all that is there: that is exactly whay have pointed out. :-( The question remains why is the Dialogs and Windows Expert no longer available for forms and dialogs? It was available in version 6.3 for windows forms and dialogs, and worked just fine. Under 7.3 it is only ...
by Richard Clarke
12 Apr 2012 13:42
Forum: Visual Prolog
Topic: Form Menu Code Expert
Replies: 14
Views: 8961

The Dialog and Windows expert is not available for forms (or dialogs) via menu View (or CTRL+Shift+W). - a note pops up saying <form name>|<dialog name> is not associated with a dialog or window The property editor does not provide for code generation for menu items (as it does for windows). The fun...
by Richard Clarke
12 Apr 2012 0:09
Forum: Visual Prolog
Topic: Form Menu Code Expert
Replies: 14
Views: 8961

Yes I figured. But it would be easier with the code expert.
You could bring up the code expert via right click on a form or a dilaog in v 6.3; I wonder why its no longer available. :shock:
by Richard Clarke
10 Apr 2012 16:38
Forum: Visual Prolog
Topic: Form Menu Code Expert
Replies: 14
Views: 8961

Form Menu Code Expert

Is there a code expert (such as that available for the Task Window) to generate the necessary code in the form implemenation file of a form (that has an associated menu) in response to menu item selections? If not, is there a workaround to write the code manually? Ditto if the form has an associated...