Page 1 of 1

How to call a form from a button

Posted: 12 Mar 2015 16:35
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

Posted: 12 Mar 2015 20:34
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()).

Posted: 18 Mar 2015 13:54
by brook
Thanks Thomas!!
:-)