Form::Form
Section: ET++ method description (n)
Updated: automatically Mon Apr 8 20:17:11 1991
Index
Return to Main Contents
NAME
Form::Form - instance method
TEMPLATE
void Form(int id, VObjAlign align, Point gap, VObject * label, ellipsis ...)
SPECIFIERS
public
DESCRIPTION
Example how to use:
Form *formItem =
new Form(cIdNone, eVObjHCenter, gPoint2,
new TextItem("Find What:"),
new BorderItem(new EditTextItem(cIdFind, "", 100)),
new TextItem("Change To:"),
new BorderItem(new EditTextItem(cIdChange, "", 100)),
NULL);
ARGUMENTS
- int id
-
the id of the Form
- VObjAlign align
-
how to align the items. See also enum VObjAlign.
- Point gap
-
the minimum gap between the items
- VObject * label
-
A NULL-terminated list of pairs of label items and data entry items is expected here. See also the example.
- ellipsis ...
-
RETURN ARGUMENT
void
CATEGORIES
client interface
FILES
- implementation:
-
Form.C
NAME
Form::Form - instance method
TEMPLATE
void Form(int id, VObjAlign align = eVObjHCenter, Point gap = gPoint0, Collection * items = NULL)
SPECIFIERS
public
DESCRIPTION
Example how to use:
Collection *list = new OrdCollection;
list->Add(new TextItem("Find What:"));
list->Add(new BorderItem(new EditTextItem(cIdFind, "", 100)));
list->Add(new TextItem("Change To:"));
list->Add(new BorderItem(new EditTextItem(cIdChange, "", 100)));
Form *formItem = new Form(cIdNone, eVObjHCenter, gPoint2, list);
ARGUMENTS
- int id
-
the id of the Form
- VObjAlign align = eVObjHCenter
-
how to align the items. See also enum VObjAlign.
- Point gap = gPoint0
-
the minimum gap between the items
- Collection * items = NULL
-
It should contain pairs of labels and data entry items. See also the example.
RETURN ARGUMENT
void
CATEGORIES
client interface
FILES
- implementation:
-
Form.C
NAME
Form::Form - instance method
TEMPLATE
void Form(int id, VObjAlign align, Point gap, char * label, ellipsis ...)
SPECIFIERS
public
DESCRIPTION
Example how to use:
Form *formItem =
new Form(cIdNone, eVObjHCenter, gPoint2,
"Find What:", new EditTextItem(cIdFind, "", 100),
"Change To:", new EditTextItem(cIdChange, "", 100),
NULL);
ARGUMENTS
- int id
-
the id of the Form
- VObjAlign align
-
how to align the items. See also enum VObjAlign.
- Point gap
-
the minimum gap between the items
- char * label
-
A NULL-terminated list of pairs of strings and VObjects is expected here. Each VObject is automatically put into a BorderItem. See also the example.
- ellipsis ...
-
RETURN ARGUMENT
void
CATEGORIES
client interface
FILES
- implementation:
-
Form.C
Index
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FILES
-
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FILES
-
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FILES
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:27 GMT, March 30, 2022