Title: Form with only buttons Post by: Jeremy G. on 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 Title: Re: Form with only buttons Post by: Sebastien F. on 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 Title: Re: Form with only buttons Post by: Jeremy G. on August 06, 2015, 11:50:53 am Thanks you very much,
MENU ON ACTION [..] works perfect. Best Regards, jg |