Changes

Jump to: navigation, search

CIO 20133 Release 0.4 - OOP344

68 bytes added, 20:14, 20 November 2013
CCheckMark Student Resources
{{OOP344 Index | 20133}}
==CButton==
Button is a child of CField.
void radio(bool isRadio);
operator bool();
operator char*();
bool operator=(bool flag);
};
</syntaxhighlight></big>
 
 
===Attributes===
<big><syntaxhighlight lang="cpp">
*These methods set and get _flag.
<big><syntaxhighlight lang="cpp">
bool radio(); // addition for R0.6 void radio(bool isRadio); // addition for R0.6
</syntaxhighlight></big>
* These to methods, get and set the '''_radio''' attribute.
<big><syntaxhighlight lang="cpp">
operator bool(); // addtion for R0.6
</syntaxhighlight></big>
* Overload the '''bool''' cast to return the value of '''_flag'''
<big><syntaxhighlight lang="cpp">
operator char*(); // addtion for R0.6</syntaxhighlight></big>
* Overload the '''char*''' cast to return the value of '''_Label.data()'''
<big><syntaxhighlight lang="cpp">
===CMenuItem Student Resources===
====CMenuItem Help/Questions Blogs====
Yu Zhu Zhao Copy constructor question http://yzhao91.wordpress.com/2013/11/20/cmenuitem-copy-constructor-question/
====CMenuItem Blog Posts====

Navigation menu