|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 11 to 13 of 13 total|
|Problem getting customized interfaces to apply throughout an application|
|Thu, Jun 2 2016 1:51 PM||Permanent Link|
Emailed you the sample code. Attached is the same for anyone's curiosity.
|Fri, Jun 3 2016 8:05 AM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< Emailed you the sample code. Attached is the same for anyone's curiosity. >>
Okay, the problem is two-fold:
1) The TDialog control interface only controls the *default* property values used for the control's UI elements. So, the control instance is created centered, but the Layout.Position is overridden with whatever value was set at design-time for the form (in this case, lpNone).
2) Even if you use the "initialize control interface to default" button in the form designer for your dialog, it isn't going to affect the layout properties. I specifically excluded them from consideration during an initialize operation because most of the time a developer doesn't want the layout re-initialized, only the look and feel.
The solution here is to either:
1) Just change the Layout.Position at design-time for your dialog instance.
2) Dynamically create a TDialog instance at run-time, by-passing using the designers in the IDE and, therefore, by-passing the storing/loading of the layout properties for the dialog at run-time.
|Fri, Jun 3 2016 10:04 AM||Permanent Link|
Okay - I can work with that
|« Previous Page||Page 2 of 2|
|Jump to Page: 1 2|