Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:56 pm
by BeeJay >> Fri, 22 Sep 2006 0:31:23 GMT
We do something similar with a key combination on our base form, but have taken it a step further to display a dialog with read only TextBoxes with the following details, so you can copy/paste this information as appropriate or easily inspect the underlying objects.
Form Name
Useful when you want to open the form in painter.
Control Name of the activeControl if applicable
Useful when you want to check properties of the control in painter, particularly in a multi-layered complex form structure where the control in question is not visible when the form is first opened in painter.
Form Current Object **
The underlying persistent data model object that is currently being displayed or edited.
Form Transaction Agent **
The underlying transient transaction agent that will be used to update or create the persistent data model object
Form Object **
The transient instance of the form object itself.
Control Current Object **
If applicable, the object associated with the control.
eg: In the case of a ComboBox the listObject for that ComboBox
** These four items also have Inspect buttons beside them that can be used to launch the Jade object inspector against that object.
Refer the attached screen dump for an example of this as a picture is often easier to understand.
To use a form like this does of course rely on a common superform for all your forms and a compatible persistent data model and transaction agent construct being used in the system in question.
Cheers,
BeeJay.
-
Attachments
-
- 4593.zip
- (6.09 KiB) Downloaded 193 times