Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on May 13, 2020, 05:52:34 am



Title: Ask Reuben 22 - What is fgl_zoom?
Post by: Reuben B. on May 13, 2020, 05:52:34 am
Fgl_zoom is not something you will find in our documentation, it is a library I have made available in our GitHub repository.  It is a solution to the design pattern where you have a BUTTONEDIT to enter a code value, the user clicks on the BUTTONEDIT button, a window is opened that displays a list of possible values,  the user selects a row, and the appropriate code value is entered into the BUTTONEDIT widget.  If a user happens to know the code they can type it directly but for most occasions the user will be selecting from the displayed list.

The key design factor is that it is written generically using coding technique such as Dynamic Dialogs, base.SqlHandle,  so that instead of lots of repeated code, all a developer needs to code is what is unique about each fgl_zoom window such as the SQL statement, options for each column, and options for the window.

By using a library such as fgl_zoom that encompasses such coding techniques you can cut down on the number of lines of code in your application, improve the consistency of your application, and make your development team more productive.

I’ll cover some of the individual coding techniques in the next few Ask-Reubens.

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