Title: Ask Reuben 264 - Native Widgets On Mobile Post by: Reuben B. 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/ |