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 264 - Native Widgets On Mobile  (Read 675 times)
Reuben B.
Four Js
Posts: 1143


« on: May 26, 2025, 05:40:20 am »

The default rendering of the Genero User Interface is that Native widgets are used on mobile devices.  This enhancement dates back to 2018 and the 1.00.47 release of the Genero Browser Client, you can see this mentioned in the GBC 1.00.47 New Releases and Upgrade Notes.  The result of this is that on a mobile device, instead of getting the Four Js DATEEDIT, DATETIMEEDIT, TIMEEDIT, SPINEDIT widget you would get the applicable native widget.  The upside is that the user gets a consistent user experience with other applications on their mobile device.  The downside is that there isn’t always a 1-1 correspondence between a 4gl Attributes, 4gl Presentation Style and what the native widget is capable of.   This is most noticeable with the date format where the widget will use the native format setting rather than the 4gl FORMAT setting.
 
How this is implemented is a good lesson in GBC Customization , the concept of Widget Instantiation Overrides, and the use of Theme Conditions. 

Read more at https://4js.com/ask-reuben/ig-264/

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