Home - RAD C++ GUI Lib 1.2.2 Documentation
Published on March 09, 2007 [03:04:01 PM]



Browse class : Button

Function : Button(String Title,UINT UniqueId ,short X,short Y,short W,short H,_window ParentObject [,bool Enabled,bool Visible, bool Centered,bool Default,UINT ExtendedStyle, bool HasIcon, Icon DisplayIcon])


Description

Constructor. UniqueId is a numaric value to uniquely idetify the control on a form or any kind of parent window, when command is triggered. To prevent same id's use macro AUTO_ID instead of a constant value for this parameter. ParentObject can be any object from RAD C++ library, even another button, but usualy it is a Form you already have created.


Return

Nothing


Remarks

Example:

Form form1("My form");
Button button1("ButtonX",AUTO_ID,0,0,100,100,form1);





Visit www.radcpp.com for more help and updates. Documentation created using FlaX.Doc