21
edits
Changes
→Constructors and Methods
const char* Border=C_BORDER_CHARS);
</syntaxhighlight></big>
Passes the corresponding attributes to it's parents (CFrame) constructor and then sets the _data attribute to the incoming Data argument. Also using '''container(CDialog* theContainer)''' it set the container to NULL.
<big><syntaxhighlight lang="cpp">
~CField();
virtual void set(const void* data) = 0;
</syntaxhighlight></big>
* an edit() method
* an editable() method that returns true if the class is to edit data and false if the class is to only display data.
<big><syntaxhighlight lang="cpp">
void container(CDialog* theContainer);
</syntaxhighlight></big>
Casts '''"theContainer"''' to a CFrame pointer and passes it to CFrame::frame(CFrame*) method; (to set the frame of CDialog)
<big><syntaxhighlight lang="cpp">
CDialog* container();
</syntaxhighlight></big>
==CLabel==