button Overview


Push buttons, radio buttons and checkboxes can be controlled using this wrapper. Although the push() method generates the BN_CLICKED notification no actual mouse event occurs, therefore the application does not need to be in the foreground.

Example

// Test checkbox
    CheckBtn.check = false;
    if (CheckBtn.check != false)
        Env.LogError("Could not uncheck the checkbox");
		

Methods

push Pushes (clicks) the button. This method will generate a BN_CLICKED notification.

Properties

check Depending on the button type this property gets/sets the value of a checkbox or the radio. Note that this method does not generate click notifications; use push() if you want the button handlers to be called.

 


© 2003 Lightweight Technologies. All rights reserved.