Discussions related to Visual Prolog
-
brook
- Posts: 6
- Joined: 5 Mar 2015 12:45
Unread post
by brook »
Dear Thomas
I promise this is ma last question ....
I want to open a form when clicking a buttons.
Code: Select all
predicates
onLinseed_infoClick : button::clickResponder.
clauses
onLinseed_infoClick(_Source) = button::defaultAction.
the name of the form is Linseed_info.frm
I am used to common dialog ask, message.. i am not used to calling form thats why
Regards,
Brook
-
Thomas Linder Puls
- VIP Member
- Posts: 1399
- Joined: 28 Feb 2000 0:01
Unread post
by Thomas Linder Puls »
There is no limit on the number of questions you may ask.
You open a form in the same way as a dialog (using the applicationWindow/taskWindow as parent):
Code: Select all
predicates
onLinseed_infoClick : button::clickResponder.
clauses
onLinseed_infoClick(_Source) = button::defaultAction :-
_ = linseed_info::display(applicationWindow::get()).
Regards Thomas Linder Puls
PDC
-
brook
- Posts: 6
- Joined: 5 Mar 2015 12:45
Unread post
by brook »
Thanks Thomas!!
Regards,
Brook