Online Help
This WinCheckBox plugin object can be used to replace the original CheckBox object shipped with AutoPlay Media Studio. It doesn't support text color, but instead accepts theming through the Skin action plugin or an external product.
Please note that the WinCheckBox currently is shown as transparent only in runtime, while displaying a solid background color during design in the editor. This cosmetic issue might be solved in a future update.
The caption to be displayed for the checkbox control.
Allows you to show a checkbox that show initially as checked on the page.
Usually, the checkbox square is shown to the left of the caption text, but checking this option will display the square at the right of the caption.
If you need to display several lines of text in the caption of the checkbox, use this option.
Clicking this button will display a dialog which allows you to select the font, font style and size. Additionally, you may set the text to be displayed as underline or strikeout.
Other properties may be introduced in future versions of this plugin.
Fires when the left mouse button is clicked on the control.
Fires when the right mouse button is clicked on the control.
Fires when the mouse enters the window containing the control.
Fires when the mouse leaves the window containing the control.
Sets the checked/unchecked state of a wincheckbox object.
(string) The name of the wincheckbox object.
(boolean) Whether to make the wincheckbox object checked or unchecked
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
-- Set the control as checked WinCheckBox.SetChecked("MyWinCheckBox", true);
Returns true if a specific wincheckbox object is checked, or false if it's unchecked.
(string) The name of the wincheckbox object.
True if the wincheckbox object is checked, false if it is unchecked. If an error occurs, false will be returned. You can use Application.GetLastError to determine whether this action failed, and why.
-- Check the state of a wincheckbox state = WinCheckBox.GetChecked("MyWinCheckBox");
Sets the text (caption) currently displayed on the wincheckbox object.
(string) The name of the wincheckbox object.
(string) The text to be displayed as caption of the wincheckbox object.
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
-- Set the text of the checkbox WinCheckBox.SetText("MyWinCheckBox", "New Caption");
Returns the text currently displayed on the wincheckbox object.
(string) The name of the wincheckbox object.
(string) The currently caption of the wincheckbox object. If no text is displayed or an error occurs, an empty string ("") is returned. You can use Application.GetLastError to determine whether this action failed, and why.
-- Get the current caption caption = WinCheckBox.GetText("MyWinCheckBox");
Sets the enabled/disabled state of a wincheckbox object.
(string) The name of the wincheckbox object.
(boolean) Whether to make the checkbox object enabled (true) or disabled (false).
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
-- Disable the WinCheckBox WinCheckBox.SetEnable("MyWinCheckBox", false);
Sets the visibility of a wincheckbox object.
(string) The name of the wincheckbox object.
(boolean) Whether to make the checkbox object visible (true) or hidden (false).
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
-- Hide the WinCheckBox WinCheckBox.SetVisible("MyWinCheckBox", false);
Forces a redraw of the window containing the control. This is intended to be used if the background image or color of the page is changed, and the WinCheckBox object has to be redrawn to continue to look "transparent" on the page in runtime.
(string) The name of the wincheckbox object.
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
-- Redraw the WindCheckBox window holding the control WinCheckBox.Redraw("MyWinCheckBox");
Ulrich Peters
upeters@mindquake.com.br
Plugin is copyright © 2008-2009 MindQuake Serviços de Informática Ltda.
Copyright © 2008-2009 MindQuake Serviços de Informática Ltda.
All Rights Reserved.