July 02, 2025, 01:29:18 AM
Main Menu
Main Menu
Home
Search
Four Js Development Tools Forum
►
Discussions by product
►
Genero BDL
►
Form with only buttons
Form with only buttons
Started by Jeremy G., August 06, 2015, 10:30:46 AM
Previous topic
-
Next topic
Print
Go Down
Pages
1
User actions
Jeremy G.
Posts: 12
Form with only buttons
August 06, 2015, 10:30:46 AM
Hello,
I'm a beginner to genero & 4gl.
I'm on genero Studio 2.50.23 and I created a form with just 3 buttons, and I can't display it cause it directly closed without INPUT. So, how can I display it and make ON ACTION on the buttons?
Regards
Sebastien F.
Posts: 547
Re: Form with only buttons
#1
August 06, 2015, 11:33:21 AM
Hello Jeremy,
If you have only buttons in your form, you need to control these with a MENU instruction + ON ACTION blocks:
https://4js.com/online_documentation/fjs-fgl-manual-html/?path=fjs-fgl-manual#c_fgl_menus_001.html
What do you want to do exactly?
You may consider to:
A) Implement a list view with DISPLAY ARRAY as the first dialog of your application, to let the user immediately browse in a list of records.
B) Use the MENU instructions with ATTRIBUTES(STYLE="dialog", ...) to get a typical popup box and let the user choose between several options.
https://4js.com/online_documentation/fjs-fgl-manual-html/?path=fjs-fgl-manual#c_fgl_menus_008.html
Seb
Jeremy G.
Posts: 12
Re: Form with only buttons
#2
August 06, 2015, 11:50:53 AM
Thanks you very much,
MENU
ON ACTION [..]
works perfect.
Best Regards,
jg
Print
Go Up
Pages
1
User actions
Four Js Development Tools Forum
►
Discussions by product
►
Genero BDL
►
Form with only buttons
User actions
Print