Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Form with only buttons  (Read 8521 times)
Jeremy G.
Posts: 12


« 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
Sebastien F.
Four Js
Posts: 528


« Reply #1 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
Jeremy G.
Posts: 12


« Reply #2 on: August 06, 2015, 11:50:53 am »

Thanks you very much,

MENU
ON ACTION [..]

works perfect.

Best Regards,

jg
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines