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: Ask Reuben 153 - Skipping Fields  (Read 4613 times)
Reuben B.
Four Js
Posts: 1116


« on: November 25, 2022, 04:22:03 am »

Historically Text User Interface (TUI) applications had no method to show that you could not edit a field.  In Informix-4gl if you wanted to prevent a user editing a field, you might skip over a field using NEXT FIELD NEXT and NEXT FIELD PREVIOUS.
 
When transforming your sources to Genero and a Graphical User Interface (GUI), this code pattern is one you should consider removing, and replace with use of the ui.Dialog.setFieldActive(fieldname, boolean) method.
 
This prevents the user being able to edit the field and provides an appropriate User Experience in a GUI environment.
 
Read more at https://4js.com/ask-reuben/ig-153/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines