Control Methods

The methods defined in the Control class are summarized in the following table.

Method Description
aboutBox Calls the About box for the control
canBeChildOf Returns whether the control can be placed on the specified form or control
canControlHaveChildren Returns whether a control is permitted to be the parent of other controls
canHaveAsChild Returns whether the specified control can be placed on the control
centreWindow Centers the control on its parent
clientHeight Returns the height of the client area of a control in pixels
clientWidth Returns the width of the client area of a control in pixels
convertFormPosition Converts the specified horizontal and vertical positions into coordinates relative to the control
createPicture Creates a picture for the control
createPictureIndirect Creates a short binary that contains an instruction concerning the window to be copied
delete Deletes the control
getControl Accesses dynamically created controls of the same type as the receiver
getControlWindowId Returns the Windows identifier that Jade creates and assigns to each control window
getFormLeft Returns the absolute left position of the control on the form in pixels
getFormTop Returns the absolute top position of the control on the form in pixels
getRegisteredKeys Returns an array of the keys that are in effect for the control
is3D Returns whether the control was drawn three-dimensionally
isInPainter Returns whether the control is on the Painter form
isMoveable Returns whether the control can be moved in the Jade Painter
isMySheetVisible Returns whether the sheet is the current visible sheet
isSelectable Returns whether instances of the control can be selected in the Jade Painter
isSizeable Returns whether the control can be resized in the Jade Painter
loadControl Enables an existing control to be cloned at run time
registerKeys Establishes the entire set of key codes in which the key events of a control are interested
resetFirstChange

Resets the firstChange event status of the control and all children of the control

saveProperties Allows local properties edited in the Painter to be saved with the painted form
setSkin Sets the skin for a specific control, regardless of the setting of the skinCategoryName property
setFocus Sets the focus to a control
setFontProperties Sets the fontBold, fontName, and fontSize properties for text associated with the control
showMySheet Provides a control with the ability to make the sheet the top sheet of a folder control

For details, see "Window, Form, and Control Methods", later in this document.