wnd.dlgItem Property


object = wnd.dlgItem(dlgItemID);

Returns a wrapper object for the child control, identified by its control ID. The type of object returned depends on the control class, for example this property will return a button object if the control ID identifies a button control.

Example

// Access controls on the dialog
var Dialog = wnd.dialog;
var PushBtn = Dialog.dlgItem(1013);// control ID of button "Push"
PushBtn.push();

Parameters

dlgItemID
Required. The ID of the control.

See also

wnd Overview | wnd.wnd

 


© 2003 Lightweight Technologies. All rights reserved.