System Settings (Maintain Table Screen): Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
(Replaced content with "Deprecated: this only applied to the winforms client")
Tag: Replaced
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Overview ==
Deprecated: this only applied to the winforms client
The System Settings screen is an example of a relatively simple [[Creating some simple Maintain Table Screens | Maintain Table Screen]] but it differs from all the others in one important respect.  Some of the controls on the screen are dynamically created as they are needed.  This means there are some unusual programming features related to this screen but more importantly the control definitions for these dynamic controls are in the database and not in a YAML file.
 
The purpose of this page is to provide documentation for how to define and use these dynamically created controls.  The System Settings screen will be used as an example.  The screen looks like this.
 
[[File:SystemSettings1.jpg]]
 
The screen consists of a grid which displays filtered rows depending on the ComboBox selection at the top.  The group box beneath the grid is all set up in the YAML file.  The database table that backs this screen is s_system_defaults which is a non-cached table.  The area beneath the group box is where controls are created dynamically depending on the content of the database.

Latest revision as of 21:04, 11 Mayıs 2022

Deprecated: this only applied to the winforms client