21
edits
Changes
→Class Definition
void draw(int Refresh = FW_NO_REFRESH)const;
</pre></big>
If the Border is visible, it will first call Border's draw passing '''Refresh'''as an argument to it.<br />Then it will make a direct call to iol_display to show the data kept in Field's '''_data'''.<br />The values used for the arguments of iol_display are:*str: address of string pointed by _data + the value of _offset*row: absRos() (''add one if border is visible'')*col: absCol() (''add one if border is visible'')*len: width() (''reduce by two is border is visible''')
<big><pre>
int edit();
</pre></big>
Makes and direct call to, and returns '''iol_edit()'''.
For the coordinates and width arguments follow the same rules as the draw function.
For the rest of the arguments of iol_edit, use the attributes of '''FWLineEdit'''.
<big><pre>
bool editable()const;
</pre></big>
Always return true;
<big><pre>
void set(const void* Str);
</pre></big>
Copies the characters pointed by '''Str''' into the memory pointed by Field's '''_data''' up to '''_maxdatalen''' characters.
=== Dialog and Line editor Tester ===