|QCommenceForm *||form (int i_index)|
|void||on_formDestroyed (QObject *form)|
Public Member Functions
|QDumontCommenceForms (const QDumontCommenceForms ©)|
|QDumontCommenceForms (QObject *parent)|
|void||append (QCommenceForm *addition)|
|QList< QCommenceForm * >||forms|
This object maintains a list of currently opened detail forms. What this provides is the ability to acquire a handle to any detail form that happens to be open when this call is made. All of the properties and methods on that form are available to the handle just as if it was a local Form.
This can be handy in situations where other forms that are open can provide information to this form. Any field on the target (other) form can be queried and manipulated.
$OBJECT=Form Option Explicit dim ddll: set ddll = createObject("DumontDLL") dim dfrm: set dfrm = ddll.Form(Form) Sub Form_OnLoad() dim i: for i = 0 to ddll.formCount - 1 dim otherForm: set otherForm = ddll.form(i) if( otherForm.name = "Company" ) then dfrm.Field("Company Name").Value = otherForm.keyField.Value end if next End Sub
|QDumontCommenceForms::QDumontCommenceForms||(||const QDumontCommenceForms &||copy||)||
|void QDumontCommenceForms::append||(||QCommenceForm *||addition||)||
|void QDumontCommenceForms::on_formDestroyed||(||QObject *||form||)||
~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
Commence Database User Support Group Forum
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC