Open main menu

CDOT Wiki β

Changes

Console Framework Classes 20103 - OOP344

10 bytes added, 19:05, 15 November 2010
FWButton
==FWButton==
Button is a Label that child of FWField.It displays a small piece of text (usually one word or two) and accepts a keyboard one key hit and returns its valueentry. Also a button when editedWhen in edit mode, to indicate the editing mode, surrounds it will surround the text of the Label with squared brackets ( '''['''LabelText''']''' ).
===Class Definition===
<big><syntaxhighlight lang="cpp">
const char* Border=FW_BORDER_CHARS);
</pre></big>
When creating a Button, pass
<big><pre>
~FWButton();