| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Create Object Definition (CRTOBJDFN) command defines a Java object and its attributes. An object could be a simple grafical feature, a control or a sofisticated feature with link, image or system-command and reacting to Event such as click, right-click etc...
All optional parameters are controlled by the object type (OBJTYPE) parameter. To prompt the correct parameters, first specify the OBJTYPE then press enter.
Premised that iWeb converts 5250 application into Java objects. The concept of this CL command, part of a set of CL commands, is to interface Java Objects (and their properties and events) with RPG programs. The advantages of using CL commands are in the fact that they have parameters which can accept variables or expressions. For instance: One can create a "Button" which can call a host program using a variable which could be any field currently on the screen. Another example is the simplicity of showing an article's picture using, to define the path of the image, the expression ' ''/directory/articles/picture/'' *cat &FLD01 *tcat ''.gif'' ' where &FLD01 is a field (visible or hidden) within a subfile. Any customizations or enhancement are retained after a DDS or RPG application is recompiled because iWeb uses cascading XML documents to define styles and functions. The root is the original display, any sublevel XML are customizations. All customization or widget development can be defined for specific user, group, or languages. One can create a multi-language version of the application without touching the original RPG or DDS, or a specific layout can be defined for specific LOGIN user or one can specify that any fields such as COST% are hidden for a group of user. All this and much more just by using just the iWeb CL commands.
See also related commands.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| OBJ | Object | Qualified object name | Required, Positional 1 |
| Qualifier 1: Object | Name, *DDSSRC | ||
| Qualifier 2: Collection | Name, DEFAULT | ||
| OBJTYPE | Object type | BGCOLOR, BORDER, BUTTON, CALCULATOR, CALENDAR, CALENDAR2, CALENDAR3, CONSTANT, CHECKBOX, COLHEAD, COLFILTER, COLOR, COLORCHOOSER, FIELDBUTTON, FIELDCONSTANT, FIELDFKEY, FIELDIMG, FIELDLINK, FIELDSTYLE, FIELDVIEW, FKEY, FKEYBAR, FKEYLINE, FONT, FORMATVIEW, FRAME, IGNORE, IMG, INITIALVALUE, LINE, LINK, LISTBOX, LISTBOXVAR, MENUSTYLE, NOTITLE, NONDISPLAY, PASSWORD, PROTECT, RADIOVAR, REPLACEPATTERN, SCANHEX, STYLE, TAB, TABLEHEAD, TABLESTYLE, TEMPLATE, TITLE, TOOLBARBUTTON, TOOLTIP, UNHIDE | Required, Positional 2 |
| TEXT | 'Description' text | Character value, *BLANK | Optional, Positional 3 |
| IMG | Image path or expression | Character value | Optional, Positional 4 |
| LABEL | 'Label' text | Character value, *DFT, *NONE | Optional, Positional 5 |
| CONSTANT | 'Constant' text | Character value | Optional, Positional 6 |
| OUTSIDE | Outside position | *NONE, TOPLEFT, TOPCENTER, TOPRIGHT, BOTLEFT, BOTCENTER, BOTRIGHT, LEFTTOP, LEFTCENTER, LEFTBOT, RIGHTTOP, RIGHTCENTER, RIGHTBOT, CORNERTOPLEFT, CORNERTOPRIGHT, CORNERBOTLEFT, CORNERBOTRIGHT | Optional, Positional 7 |
| LINE | Line type | HORIZONTAL, VERTICAL | Optional, Positional 8 |
| TOP | Top position in char. unit | Decimal number | Optional, Positional 9 |
| LEFT | Left position in char. unit | Decimal number | Optional, Positional 10 |
| LENGTH | Length in char. unit | Decimal number, *END | Optional, Positional 11 |
| POSITION | Position | ABSOLUTE, RELATIVE | Optional, Positional 12 |
| USE | Use | I, O, B | Optional, Positional 13 |
| LOWER | Accept lower case for I/B use | *YES, *NO | Optional, Positional 14 |
| WIDTH | Width | Decimal number | Optional, Positional 15 |
| HEIGHT | Height | Decimal number | Optional, Positional 16 |
| UNIT | Unit for width and height | PIXEL, CHAR | Optional, Positional 17 |
| ADAPT | Adapt container for Output use | *YES, *NO | Optional, Positional 18 |
| ALIGN | Alignment | RIGHT, LEFT, CENTER, *NONE | Optional, Positional 19 |
| BORDER | Border | Element list | Optional, Positional 20 |
| Element 1: Bordstyle | *DFT, *NONE, RAISED, LOWERED, LINE, EMPTY, ETCHEDRAIS, ETCHEDLOWE | ||
| Element 2: Size in pixel | Decimal number, 1 | ||
| Element 3: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| TOOLTIP | 'Tooltip' text or expression | Character value, *NONE | Optional, Positional 21 |
| TOOLTCOL | Tooltip color | Element list | Optional, Positional 22 |
| Element 1: BgColor in hexadecimal | Character value, *DFT, *NONE, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| Element 2: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| TOOLTFONT | Tooltip font | Element list | Optional, Positional 23 |
| Element 1: Font | Element list | ||
| Element 1: Family font name or URL(.ttf) | Character value, *DFT, *MONOSPACED, *SANSSERIF, *SERIF | ||
| Element 2: Style | NORMAL, ITALIC, BOLD, ITALICBOLD | ||
| Element 3: Size in pixel | Decimal number, 12 | ||
| TOOLTBORD | Tooltip border | Element list | Optional, Positional 24 |
| Element 1: Border | Element list | ||
| Element 1: Bordstyle | *DFT, *NONE, RAISED, LOWERED, LINE, EMPTY, ETCHEDRAIS, ETCHEDLOWE | ||
| Element 2: Size in pixel | Decimal number, 1 | ||
| Element 3: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| BGCOLOR | BgColor in hexadecimal | Character value, *NONE, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | Optional, Positional 25 |
| COLOR | Color in hexadecimal | Character value, 000000, *RED, *GREEN, *BLUE, *WHITE, *BLACK | Optional, Positional 26 |
| BGIMG | Background image | Element list | Optional, Positional 27 |
| Element 1: Background image path or expr. | Character value | ||
| Element 2: Background position | *NONE, TOPLEFT, TOPCENTER, TOPRIGHT, BOTLEFT, BOTCENTER, BOTRIGHT, LEFTCENTER, CENTER, RIGHTCENTER | ||
| Element 3: Background repeat | *NONE, REPEAT, REPEAT-X, REPEAT-Y | ||
| TITLE | Title | Element list | Optional, Positional 28 |
| Element 1: 'Title' text | Character value, *NONE | ||
| Element 2: Title position | TOPUPPERLEFT, TOPUPPERCENTER, TOPUPPERRIGHT, TOPLEFT, TOPCENTER, TOPRIGHT, TOPUNDERLEFT, TOPUNDERCENTER, TOPUNDERRIGHT, BOTUPPERLEFT, BOTUPPERCENTER, BOTUPPERRIGHT, BOTLEFT, BOTCENTER, BOTRIGHT, BOTUNDERLEFT, BOTUNDERCENTER, BOTUNDERRIGHT | ||
| Element 3: Title color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| FKEY | Function Key | CA-CF01, CA-CF02, CA-CF03, CA-CF04, CA-CF05, CA-CF06, CA-CF07, CA-CF08, CA-CF09, CA-CF10, CA-CF11, CA-CF12, CA-CF13, CA-CF14, CA-CF15, CA-CF16, CA-CF17, CA-CF18, CA-CF19, CA-CF20, CA-CF21, CA-CF22, CA-CF23, CA-CF24, ENTER, ROLLUP, ROLLDOWN, HOME, PRINT, PAGEDOWN, PAGEUP, HELP | Optional, Positional 29 |
| STATUS | Fonction Key status | *DISABLED, *ENABLED, *INVISIBLE, *VISIBLEIFTEXT | Optional, Positional 30 |
| INITVALUE | 'Initial value' text | Character value | Optional, Positional 31 |
| BUTTONACT | Button action | SYSCMD, LINK, F01, F02, F03, F04, F05, F06, F07, F08, F09, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F20, F21, F22, F23, F24, ENTER, *NONE | Optional, Positional 32 |
| ONCLICKACT | onClick action | SYSCMD, LINK, F01, F02, F03, F04, F05, F06, F07, F08, F09, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F20, F21, F22, F23, F24, ENTER, *NONE | Optional, Positional 33 |
| SYSCMD | System command or expression | Character value | Optional, Positional 34 |
| HREF | Href link or expression | Character value | Optional, Positional 35 |
| EVAL | Evaluate field(s) expression | Values (up to 100 repetitions): Element list | Optional, Positional 36 |
| Element 1: [Formatname.]Field name | Character value, '&THIS', *CLIENTFLD | ||
| Element 2: Eval value expression | Character value, '&THIS' | ||
| CALENDAR | Date format | *MDY, *DMY, *YMD, *JUL, *ISO, *USA, *EUR, *JIS, DDMMYY, MMDDYY, YYMMDD, YYDDD, YYYYMMDD, MMDDYYYY, DDMMYYYY | Optional, Positional 37 |
| CALENDAR2 | 2 fields calendar | Element list | Optional, Positional 38 |
| Element 1: 1st Field name | Name | ||
| Element 2: 1st Date format | YY, MM, DD, DDD, YYYY | ||
| Element 3: 2nd Field name | Name | ||
| Element 4: 2nd Date format | YY, MM, DD, DDD, YYYY | ||
| CALENDAR3 | 3 fields calendar | Element list | Optional, Positional 39 |
| Element 1: 1st Field name | Name | ||
| Element 2: 1st Date format | YY, MM, DD, DDD, YYYY | ||
| Element 3: 2nd Field name | Name | ||
| Element 4: 2nd Date format | YY, MM, DD, DDD, YYYY | ||
| Element 5: 3rd Field name | Name | ||
| Element 6: 3rd Date format | YY, MM, DD, DDD, YYYY | ||
| VALUEON | 'Value *ON' text | Character value | Optional, Positional 40 |
| VALUEOFF | 'Value *OFF' text | Character value | Optional, Positional 41 |
| CHECKALL | Table header "check[un-] all" | *YES, *NO | Optional, Positional 42 |
| COLFILTER | 'Format.field' name | Character value | Optional, Positional 43 |
| FONT | Font | Element list | Optional, Positional 44 |
| Element 1: Family font name or URL(.ttf) | Character value, *DFT, *MONOSPACED, *SANSSERIF, *SERIF | ||
| Element 2: Style | NORMAL, ITALIC, BOLD, ITALICBOLD | ||
| Element 3: Size in pixel | Decimal number, 12 | ||
| INPUTCOL | Input field color | Element list | Optional, Positional 45 |
| Element 1: BgColor in hexadecimal | Character value, *DFT, *NONE, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| Element 2: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| INPUTFONT | Input field font | Element list | Optional, Positional 46 |
| Element 1: Font | Element list | ||
| Element 1: Family font name or URL(.ttf) | Character value, *DFT, *MONOSPACED, *SANSSERIF, *SERIF | ||
| Element 2: Style | NORMAL, ITALIC, BOLD, ITALICBOLD | ||
| Element 3: Size in pixel | Decimal number, 12 | ||
| INPUTBORD | Input field border | Element list | Optional, Positional 47 |
| Element 1: Border | Element list | ||
| Element 1: Bordstyle | *DFT, *NONE, RAISED, LOWERED, LINE, EMPTY, ETCHEDRAIS, ETCHEDLOWE | ||
| Element 2: Size in pixel | Decimal number, 1 | ||
| Element 3: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| INPPRCOL | Protected input field color | Element list | Optional, Positional 48 |
| Element 1: BgColor in hexadecimal | Character value, *DFT, *NONE, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| Element 2: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| INPPRFONT | Protected input field font | Element list | Optional, Positional 49 |
| Element 1: Font | Element list | ||
| Element 1: Family font name or URL(.ttf) | Character value, *DFT, *MONOSPACED, *SANSSERIF, *SERIF | ||
| Element 2: Style | NORMAL, ITALIC, BOLD, ITALICBOLD | ||
| Element 3: Size in pixel | Decimal number, 12 | ||
| INPPRBORD | Protected input field border | Element list | Optional, Positional 50 |
| Element 1: Border | Element list | ||
| Element 1: Bordstyle | *DFT, *NONE, RAISED, LOWERED, LINE, EMPTY, ETCHEDRAIS, ETCHEDLOWE | ||
| Element 2: Size in pixel | Decimal number, 1 | ||
| Element 3: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| OUTPUTCOL | Output field color | Element list | Optional, Positional 51 |
| Element 1: BgColor in hexadecimal | Character value, *DFT, *NONE, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| Element 2: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| OUTPUTFONT | Output field font | Element list | Optional, Positional 52 |
| Element 1: Font | Element list | ||
| Element 1: Family font name or URL(.ttf) | Character value, *DFT, *MONOSPACED, *SANSSERIF, *SERIF | ||
| Element 2: Style | NORMAL, ITALIC, BOLD, ITALICBOLD | ||
| Element 3: Size in pixel | Decimal number, 12 | ||
| OUTPUTBORD | Output field border | Element list | Optional, Positional 53 |
| Element 1: Border | Element list | ||
| Element 1: Bordstyle | *DFT, *NONE, RAISED, LOWERED, LINE, EMPTY, ETCHEDRAIS, ETCHEDLOWE | ||
| Element 2: Size in pixel | Decimal number, 1 | ||
| Element 3: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| CONSTCOL | Constant color | Element list | Optional, Positional 54 |
| Element 1: BgColor in hexadecimal | Character value, *DFT, *NONE, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| Element 2: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| CONSTFONT | Constant font | Element list | Optional, Positional 55 |
| Element 1: Font | Element list | ||
| Element 1: Family font name or URL(.ttf) | Character value, *DFT, *MONOSPACED, *SANSSERIF, *SERIF | ||
| Element 2: Style | NORMAL, ITALIC, BOLD, ITALICBOLD | ||
| Element 3: Size in pixel | Decimal number, 12 | ||
| CONSTBORD | Constant border | Element list | Optional, Positional 56 |
| Element 1: Border | Element list | ||
| Element 1: Bordstyle | *DFT, *NONE, RAISED, LOWERED, LINE, EMPTY, ETCHEDRAIS, ETCHEDLOWE | ||
| Element 2: Size in pixel | Decimal number, 1 | ||
| Element 3: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| HEADCOL | Table header color (SFL) | Element list | Optional, Positional 57 |
| Element 1: BgColor in hexadecimal | Character value, *DFT, *NONE, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| Element 2: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| HEADFONT | Table header font (SFL) | Element list | Optional, Positional 58 |
| Element 1: Font | Element list | ||
| Element 1: Family font name or URL(.ttf) | Character value, *DFT, *MONOSPACED, *SANSSERIF, *SERIF | ||
| Element 2: Style | NORMAL, ITALIC, BOLD, ITALICBOLD | ||
| Element 3: Size in pixel | Decimal number, 12 | ||
| HEADBORD | Table header border (SFL) | Element list | Optional, Positional 59 |
| Element 1: Border | Element list | ||
| Element 1: Bordstyle | *DFT, *NONE, RAISED, LOWERED, LINE, EMPTY, ETCHEDRAIS, ETCHEDLOWE | ||
| Element 2: Size in pixel | Decimal number, 1 | ||
| Element 3: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| ODDCOL | Table odd line color (SFL) | Element list | Optional, Positional 60 |
| Element 1: BgColor in hexadecimal | Character value, *DFT, *NONE, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| Element 2: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| EVENCOL | Table even line color (SFL) | Element list | Optional, Positional 61 |
| Element 1: BgColor in hexadecimal | Character value, *DFT, *NONE, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| Element 2: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| TABLEFONT | Table line font (SFL) | Element list | Optional, Positional 62 |
| Element 1: Font | Element list | ||
| Element 1: Family font name or URL(.ttf) | Character value, *DFT, *MONOSPACED, *SANSSERIF, *SERIF | ||
| Element 2: Style | NORMAL, ITALIC, BOLD, ITALICBOLD | ||
| Element 3: Size in pixel | Decimal number, 12 | ||
| TABLEGRID | Table grid layout | Element list | Optional, Positional 63 |
| Element 1: Gridstyle | *DFT, *NONE, HORIZONTAL, VERTICAL, BOTH | ||
| Element 2: Size in pixel | Decimal number, 1 | ||
| Element 3: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| FLDBTNPOS | Field button position | *LEFT, *RIGHT, *FIELD | Optional, Positional 64 |
| LOGO | Background logo path | Character value, /iweb/graphics/sfondoApplet.jpg | Optional, Positional 65 |
| MENUICON | Menu icon path | Character value | Optional, Positional 66 |
| MENUCOL | Menu color | Element list | Optional, Positional 67 |
| Element 1: BgColor in hexadecimal | Character value, *DFT, *NONE, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| Element 2: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| MENUFONT | Menu font | Element list | Optional, Positional 68 |
| Element 1: Font | Element list | ||
| Element 1: Family font name or URL(.ttf) | Character value, *DFT, *MONOSPACED, *SANSSERIF, *SERIF | ||
| Element 2: Style | NORMAL, ITALIC, BOLD, ITALICBOLD | ||
| Element 3: Size in pixel | Decimal number, 12 | ||
| ITEMICON | Item icon path | Character value | Optional, Positional 69 |
| ITEMCOL | Item color | Element list | Optional, Positional 70 |
| Element 1: BgColor in hexadecimal | Character value, *DFT, *NONE, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| Element 2: Color in hexadecimal | Character value, *DFT, *RED, *GREEN, *BLUE, *WHITE, *BLACK | ||
| ITEMFONT | Item font | Element list | Optional, Positional 71 |
| Element 1: Font | Element list | ||
| Element 1: Family font name or URL(.ttf) | Character value, *DFT, *MONOSPACED, *SANSSERIF, *SERIF | ||
| Element 2: Style | NORMAL, ITALIC, BOLD, ITALICBOLD | ||
| Element 3: Size in pixel | Decimal number, 12 | ||
| LISTBOX | Values' label | Values (up to 100 repetitions): Element list | Optional, Positional 72 |
| Element 1: Value | Character value | ||
| Element 2: Type | *CHAR, *DEC | ||
| Element 3: 'Label' text | Character value | ||
| LISTBOXVAL | Values separated by ","(comma) | Character value | Optional, Positional 73 |
| LISTBOXLAB | Labels separated by ","(comma) | Character value | Optional, Positional 74 |
| LISTVIEW | List box view | VALUELABEL, LABEL | Optional, Positional 75 |
| AXIS | Axis | HORIZONTAL, VERTICAL | Optional, Positional 76 |
| TAB | Tab panel | Values (up to 100 repetitions): Element list | Optional, Positional 77 |
| Element 1: 'Tab panel' text | Character value | ||
| Element 2: Tab panel action | F01, F02, F03, F04, F05, F06, F07, F08, F09, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F20, F21, F22, F23, F24, ENTER, ROLLUP, ROLLDOWN, HOME, PRINT, PAGEDOWN, PAGEUP, HELP | ||
| Element 3: Associed format name | Character value | ||
| COLHEAD | 'Header' text or expression | Character value | Optional, Positional 78 |
| PATTERN | Pattern | Character value, *BLANK | Optional, Positional 79 |
| MINOCC | Minimum occurence | Decimal number, 1 | Optional, Positional 80 |
| UL | Underlined | *NO, *YES | Optional, Positional 81 |
| REPLACE | Replacement | Character value, *BLANK, *TRIM, *LINE, *LINELOWERED, *LINERAISED | Optional, Positional 82 |
| SEQORD | Sequence order position | Decimal number | Optional, Positional 83 |
| BLANKLINE | Blank line optimisation | COMPRESSED, PERSISTENT | Optional, Positional 84 |
| FKEYBARPOS | Function key bar position | *TOP, *BOT | Optional, Positional 85 |
| STYLE | Style definition | Qualified object name | Optional, Positional 86 |
| Qualifier 1: Style definition | Name | ||
| Qualifier 2: Collection | Name | ||
| TABLESTYLE | Table Style definition | Qualified object name | Optional, Positional 87 |
| Qualifier 1: Table Style definition | Name | ||
| Qualifier 2: Collection | Name | ||
| FKEYBAR | Function Key Bar Style def. | Qualified object name | Optional, Positional 88 |
| Qualifier 1: Function Key Bar Style def. | Name | ||
| Qualifier 2: Collection | Name | ||
| FKEYLINES | Function Key Lines definition | Qualified object name | Optional, Positional 89 |
| Qualifier 1: Function Key Lines definition | Name | ||
| Qualifier 2: Collection | Name | ||
| FKEYSTYLE | Function Keys Style definition | Values (up to 32 repetitions): Qualified object name | Optional, Positional 90 |
| Qualifier 1: Function Keys Style definition | Name | ||
| Qualifier 2: Collection | Name | ||
| MENUSTYLE | Menu Style definition | Qualified object name | Optional, Positional 91 |
| Qualifier 1: Menu Style definition | Name | ||
| Qualifier 2: Collection | Name | ||
| SIZE | Size in pixel | Decimal number, 1 | Optional, Positional 92 |
| APPLETBORD | Applet border | *YES, *NO | Optional, Positional 93 |
| TOOLBAR | Applet toolbar | *YES, *NO | Optional, Positional 94 |
| TABLEHEAD | Table head | Values (up to 100 repetitions): Element list | Optional, Positional 95 |
| Element 1: SFL relative line (1,2,3..) | Decimal number, 1 | ||
| Element 2: Header format name | Name | ||
| Element 3: Header format absolute line | Decimal number | ||
| FKEYLINE | Function key line | Values (up to 100 repetitions): Element list | Optional, Positional 96 |
| Element 1: Record type | RECORD24, RECORD27, WINDOW | ||
| Element 2: Absolute * Relative - + | *, -, + | ||
| Element 3: Line number | Decimal number |
| Top |
Specifies the object you want to define.
This is a required parameter.
Qualifier 1: Object
|
A R FMT1
A . . .
*%%WBIW CRTOBJDFN OBJ(*DDSSRC)
*%%WBIW OBJTYPE(...)
*%%WBIW . . .
*%%WBIW ADDOBJCNT OBJ(*DDSSRC)
*%%WBIW TOLEVEL(*DDSSRC)
A . . .
|
The parameter value *DDSSRC assume the format or field name preceding the command insertion, like does any DDS keyword.
Nota: To insert the cmd within a DDS source, type-in the cmd in another session, use F14=cmd string and then do a copy/past to the DDS source.
Qualifier 2: Collection
Nota: To define new COLLECTION use the cmd: IWEB/CRTCLC
| Top |
Specifies the object's type you want to define.
Nota: The command will prompt a different set of parameters according to the type of object you select. Any other parameters will be ignored.
This is a required parameter.
To be used to remove '. . . .' or replace '-------' with a line. Can be connected at *FIELD level.
Used to specify the view of a SFL: Specify column view/order, Tab panel view for multi-line subfile. Can be connected at *FORMAT level.
IWEB/CRTOBJDFN OBJ(myclc/mystyle)
OBJTYPE(STYLE)
TEXT('my 1st style')
BGCOLOR(CECFFF)
COLOR(000000)
BGIMG(*NONE *NONE *NONE)
FONT(SERIF NORMAL 22)
INPUTCOL(8CFF8C 000000)
INPUTFONT((SERIF NORMAL 12))
INPUTBORD((ETCHEDLOWE 1 000000))
OUTPUTCOL(CECFFF 000000)
OUTPUTFONT((SERIF ITALIC 12))
OUTPUTBORD((EMPTY 1 FFFFFF))
CONSTCOL(CECFFF 000000)
CONSTFONT(('/iwebdata/fonts/verdana.ttf' NORMAL 12))
CONSTBORD((LINE 1 FFFFFF))
<param name="template" value="COLLECTION/TEMPLATE.xml">
| Top |
Specifies the text description of the object you define.
| Top |
Specifies the adress of the image.
This parameter is controlled by the object type (OBJTYPE): IMG FKEY BUTTON FIELDBUTTON FIELDIMG TOOLBARBUTTON TIMERBUTTON
Example you may use:
| Top |
Specifies the label of a link or a button.
This parameter is controlled by the object type (OBJTYPE): LINK BUTTON FIELDBUTTON FKEY TOOLBARBUTTON TIMERBUTTON
| Top |
Specifies the text of a constant.
This parameter is controlled by the object type (OBJTYPE): FIELDCONSTANT CONSTANT
| Top |
Specifies the position of images outside the original frameset. Images can be positionned outside the original frameset of converted display. By selecting this parameter you may position images in the margin of the applet (The parameters TOP and LEFT will therefore be ignored).
This parameter is controlled by the object type (OBJTYPE): IMG
| Top |
Specifies the line type.
This parameter is controlled by the object type (OBJTYPE): LINE
| Top |
Specifies the top position of an object.
This parameter is controlled by the object type (OBJTYPE): IMG FRAME BUTTON LINK FIELDIMG CONSTANT FIELDVIEW FORMATVIEW UNHIDE LINE TIMERBUTTON
| Top |
Specifies the left position of an object.
This parameter is controlled by the object type (OBJTYPE): IMG FRAME BUTTON LINK FIELDIMG CONSTANT FIELDVIEW FORMATVIEW UNHIDE LINE TIMERBUTTON
| Top |
Specifies the length of an object.
This parameter is controlled by the object type (OBJTYPE): LINE
| Top |
Specifies position of an object.
This parameter is controlled by the object type (OBJTYPE): FIELDVIEW FORMATVIEW
| Top |
Specifies the use of the field.
This parameter is controlled by the object type (OBJTYPE): UNHIDE
| Top |
| Top |
Specifies the width size of an object.
This parameter is controlled by the object type (OBJTYPE): IMG FRAME BUTTON FIELDIMG FIELDVIEW FORMATVIEW UNHIDE TIMERBUTTON
| Top |
Specifies the height size of an object.
This parameter is controlled by the object type (OBJTYPE): IMG FRAME BUTTON FIELDIMG FIELDVIEW FORMATVIEW UNHIDE TIMERBUTTON
| Top |
Specifies the unit for width and height.
This parameter is controlled by the object type (OBJTYPE): IMG BUTTON FIELDIMG TIMERBUTTON
| Top |
Specifies the container adaptation of the field when the use is OUTPUT only.
This parameter is controlled by the object type (OBJTYPE): UNHIDE FIELDVIEW
| Top |
Specifies the alignment.
This parameter is controlled by the object type (OBJTYPE): FIELDVIEW
| Top |
Specifies the border (style, size and color)
This parameter is controlled by the object type (OBJTYPE): IMG BORDER FRAME FIELDIMG FIELDSTYLE CONSTANT
| Top |
Specifies the tooltip content. A tooltip is a small box that appears near an object in a graphical user interface (GUI) when a pointer or other cursor controlled by a mouse passes over or rests on that object and which contains a brief text message identifying or explaining the object.
This parameter is controlled by the object type (OBJTYPE): IMG TOOLTIP FIELDIMG FKEY BUTTON FIELDBUTTON TIMERBUTTON
| Top |
Specifies the color (forground and background) of the tooltip.
This parameter is controlled by the object type (OBJTYPE): IMG TOOLTIP FIELDIMG BUTTON FIELDBUTTON TIMERBUTTON
| Top |
Specifies the font (family and size) of the tooltip.
This parameter is controlled by the object type (OBJTYPE): IMG TOOLTIP FIELDIMG BUTTON FIELDBUTTON TIMERBUTTON
| Top |
Specifies the border (style, size and color) of the tooltip.
This parameter is controlled by the object type (OBJTYPE): IMG TOOLTIP FIELDIMG BUTTON FIELDBUTTON TIMERBUTTON
| Top |
Specifies the background color of an object. The format used is the RGB hexadecimal codes from 000000 (black) to FFFFFF (white).
This parameter is controlled by the object type (OBJTYPE): BGCOLOR STYLE FRAME FIELDSTYLE CONSTANT MENUSTYLE TEMPLATE
You can enter more than 16 millions different colors. However, not all of these colors will look the same on all browsers and operating systems. The only 216 colors that look the same no matter what, are the colors made out of pairs of 00, 33, 66, 99, CC and FF.
Nota: The object COLORCHOOSER of iWeb is a color picker which gives back the selected color in the hexadecimal code. Once defined you can connect the object COLORCHOOSER to a 6 length input field and build-up your colors.
| Top |
Specifies the foreground color of an object. (foreground color is usualy associed to the text). The format used is the RGB hexadecimal codes from 000000 (black) to FFFFFF (white).
This parameter is controlled by the object type (OBJTYPE): COLOR FIELDSTYLE CONSTANT LINE
You can enter more than 16 millions different colors. However, not all of these colors will look the same on all browsers and operating systems. The only 216 colors that look the same no matter what, are the colors made out of pairs of 00, 33, 66, 99, CC and FF.
Nota: The object COLORCHOOSER of iWeb is a color picker which gives back the selected color in the hexadecimal code. Once defined you can connect the object COLORCHOOSER to a 6 length input field and build-up your colors.
| Top |
Specifies the path of a background image. By selecting this parameter you will have an image in the background of the applet.
This parameter is controlled by the object type (OBJTYPE): STYLE
Example you may use:
| Top |
Specifies the title of the frame. You can specify its text, position and color.
This parameter is controlled by the object type (OBJTYPE): FRAME
Element 1: 'Title' text
Element 2: Title position
Element 3: Title color in hexadecimal
Specifies the foreground color of an object. (foreground color is usualy associed to the text). The format used is the RGB hexadecimal codes from 000000 (black) to FFFFFF (white).
You can enter more than 16 millions different colors. However, not all of these colors will look the same on all browsers and operating systems. The only 216 colors that look the same no matter what, are the colors made out of pairs of 00, 33, 66, 99, CC and FF.
Nota: The object COLORCHOOSER of iWeb is a color picker which gives back the selected color in the hexadecimal code. Once defined you can connect the object COLORCHOOSER to a 6 length input field and build-up your colors.
| Top |
Specifies function key(s) layout and status.
This parameter is controlled by the object type (OBJTYPE): FKEY
| Top |
Specifies the status of a function key.
This parameter is controlled by the object type (OBJTYPE): FKEY FKEYBAR
| Top |
Specifies the initial value of a field.
This parameter is controlled by the object type (OBJTYPE): INITIALVALUE
| Top |
Specifies the action of a button. The is the action returned to the host program.
This parameter is controlled by the object type (OBJTYPE): BUTTON FIELDBUTTON
| Top |
| Top |
Specifies the system command that will be executed. This command could be any CL command.
This parameter is controlled by the object type (OBJTYPE): BUTTON FIELDBUTTON TOOLBARBUTTON IMG FIELDIMG TIMER TIMERBUTTON Approach to the Object Oriented Programming (OOP).
| Top |
Specifies the Hypertext Reference of a link.
This parameter is controlled by the object type (OBJTYPE): IMG LINK FIELDLINK FIELDIMG BUTTON FIELDBUTTON TOOLBARBUTTON TIMER TIMERBUTTON
All HREF protocols are usable, for instance:
| Top |
Specifies the expression value of a field. Approach to the Object Oriented Programming (OOP).
This parameter is controlled by the object type (OBJTYPE): BUTTON FIELDBUTTON IMG FIELDIMG TIMER TIMERBUTTON
You can specify 100 values for this parameter.
Element 1: Field name
Nota: When used for an object type FIELDIMG, FIELDLINK or FIELDBUTTON, you can specify the reserved word &THIS. &THIS is for a generic field which will be the field(s) to which the object is connected. (These objects type could only be connected at *FIELD level)
Example you may use:
Element 2: Eval value expression
| Top |
Specifies the date format to be returned from the pop-up calendar.
This parameter is controlled by the object type (OBJTYPE): CALENDAR
| Top |
Specifies the 2 fields name and corresponding date format to be returned from the pop-up calendar.
This parameter is controlled by the object type (OBJTYPE): CALENDAR2
Element 1: 1st Field name
Element 2: 1st Date format
Element 3: 2nd Field name
Element 4: 2nd Date format
| Top |
Specifies the 3 fields name and corresponding date format to be returned from the pop-up calendar.
This parameter is controlled by the object type (OBJTYPE): CALENDAR3
Element 1: 1st Field name
Element 2: 1st Date format
Element 3: 2nd Field name
Element 4: 2nd Date format
Element 5: 3rd Field name
Element 6: 3rd Date format
| Top |
Specifies the value to be passed as input when the check box is ON. (the check box is checked)
This parameter is controlled by the object type (OBJTYPE): CHECKBOX
| Top |
Specifies the value to be passed as input when the check box is OFF. (the check box is unchecked)
This parameter is controlled by the object type (OBJTYPE): CHECKBOX
| Top |
Specifies, for table field, the use of a header "check/uncheck all" checkbox. This parameter is ignored when the field connected is not a SFL field.
This parameter is controlled by the object type (OBJTYPE): CHECKBOX
| Top |
Specifies the name of the field, preceded with its format name, which represent a application filter column.
This parameter is controlled by the object type (OBJTYPE): COLFILTER
| Top |
Specifies the font (family and size)
This parameter is controlled by the object type (OBJTYPE): FONT FIELDSTYLE CONSTANT
| Top |
Specifies the color (forground and background) of the input field(s).
This parameter is controlled by the object type (OBJTYPE): STYLE
| Top |
Specifies the font (family and size) of the input field(s).
This parameter is controlled by the object type (OBJTYPE): STYLE
| Top |
Specifies the border (style, size and color) of the input field(s).
This parameter is controlled by the object type (OBJTYPE): STYLE
| Top |
| Top |
| Top |
| Top |
Specifies the color (forground and background) of the output field(s).
This parameter is controlled by the object type (OBJTYPE): STYLE
| Top |
Specifies the font (family and size) of the output field(s).
This parameter is controlled by the object type (OBJTYPE): STYLE
| Top |
Specifies the border (style, size and color) of the output field(s).
This parameter is controlled by the object type (OBJTYPE): STYLE
| Top |
Specifies the color (forground and background) of the Constant field(s).
This parameter is controlled by the object type (OBJTYPE): STYLE
| Top |
Specifies the font (family and size) of the Constant field(s).
This parameter is controlled by the object type (OBJTYPE): STYLE
| Top |
Specifies the border (style, size and color) of the Constant field(s).
This parameter is controlled by the object type (OBJTYPE): STYLE
| Top |
Specifies the color (forground and background) of the table header(s).
This parameter is controlled by the object type (OBJTYPE): TABLESTYLE
| Top |
Specifies the font (family and size) of the table header(s).
This parameter is controlled by the object type (OBJTYPE): TABLESTYLE
| Top |
Specifies the border (style, size and color) of the table header(s).
This parameter is controlled by the object type (OBJTYPE): TABLESTYLE
| Top |
Specifies the color (forground and background) of the table odd line(s).
This parameter is controlled by the object type (OBJTYPE): TABLESTYLE
| Top |
Specifies the color (forground and background) of the table even line(s).
This parameter is controlled by the object type (OBJTYPE): TABLESTYLE
| Top |
Specifies the font (family and size) of the table line(s).
This parameter is controlled by the object type (OBJTYPE): TABLESTYLE
| Top |
| Top |
Specifies the position of a field button.
This parameter is controlled by the object type (OBJTYPE): FIELDBUTTON CALENDAR CALENDAR2 CALENDAR3 COLORCHOOSER CALCULATOR
| Top |
Specifies the background logo path of the menu frame.
This parameter is controlled by the object type (OBJTYPE): TEMPLATE
| Top |
Specifies the path of the icon menu.
This parameter is controlled by the object type (OBJTYPE): MENUSTYLE
| Top |
Specifies the color (forground and background) of the menu(s).
This parameter is controlled by the object type (OBJTYPE): MENUSTYLE
| Top |
Specifies the font (family and size) of the menu(s).
This parameter is controlled by the object type (OBJTYPE): MENUSTYLE
| Top |
Specifies the path of the item menu.
This parameter is controlled by the object type (OBJTYPE): MENUSTYLE
| Top |
Specifies the color (forground and background) of the menu item(s).
This parameter is controlled by the object type (OBJTYPE): MENUSTYLE
| Top |
Specifies the font (family and size) of the menu item(s).
This parameter is controlled by the object type (OBJTYPE): MENUSTYLE
| Top |
Specifies a list of values and corresponding labels for a listbox.
This parameter is controlled by the object type (OBJTYPE): LISTBOX
You can specify 100 values for this parameter.
Element 1: Value
Element 2: Type
Element 3: 'Label' text
| Top |
Specifies the values separated by ","(comma) of a list box.
This parameter is controlled by the object type (OBJTYPE): LISTBOXVAR RADIOVAR
Example you may use:
| Top |
Specifies the labels separated by ","(comma) of a list box.
This parameter is controlled by the object type (OBJTYPE): LISTBOXVAR RADIOVAR
Example you may use:
| Top |
Specifies the view of a list box.
This parameter is controlled by the object type (OBJTYPE): LISTBOXVAR RADIOVAR
Nota: In any case only the value of the selected list box item will be passed to the host program.
| Top |
Specifies the axis.
This parameter is controlled by the object type (OBJTYPE): RADIOVAR
| Top |
Specifies a list of format tab panel.
This parameter is controlled by the object type (OBJTYPE): TAB
You can specify 100 values for this parameter.
Element 1: 'Tab panel' text
Element 2: Tab panel action
Element 3: 'Associed format name' text
| Top |
Specifies a column heading. Column heading are used for SFL fields (subfile are transformed to Table for iWeb).
This parameter is controlled by the object type (OBJTYPE): COLHEAD IMG BUTTON FIELDBUTTON LINK FIELDIMG TIMERBUTTON
You may use this parameter:
| Top |
Specifies a pattern.
This parameter is controlled by the object type (OBJTYPE): REPLACEPATTERN
| Top |
Specifies the minimum occurence for the pattern.
This parameter is controlled by the object type (OBJTYPE): REPLACEPATTERN
| Top |
Underlined.
This parameter is controlled by the object type (OBJTYPE): REPLACEPATTERN
| Top |
Specifies the replacement pattern.
This parameter is controlled by the object type (OBJTYPE): REPLACEPATTERN
| Top |
Specifies the sequence order of the position of a function key description.
This parameter is controlled by the object type (OBJTYPE): FKEY
| Top |
Specifies the optimisation of the blank line of the display.
This parameter is controlled by the object type (OBJTYPE): STYLE
| Top |
Specifies the position of the function bar.
This parameter is controlled by the object type (OBJTYPE): FKEYBAR
| Top |
Specifies a qualified style.
This parameter is controlled by the object type (OBJTYPE): TEMPLATE
Qualifier 1: Style
Qualifier 2: Collection
| Top |
Specifies a qualified table style.
This parameter is controlled by the object type (OBJTYPE): TEMPLATE
Qualifier 1: Table Style
Qualifier 2: Collection
| Top |
Specifies a qualified function key bar.
This parameter is controlled by the object type (OBJTYPE): TEMPLATE
Qualifier 1: Function key bar
Qualifier 2: Collection
| Top |
| Top |
Specifies a qualified function key style.
This parameter is controlled by the object type (OBJTYPE): TEMPLATE
You can specify 32 values for this parameter.
Qualifier 1: Function key style
Qualifier 2: Collection
| Top |
Specifies a qualified menu style.
This parameter is controlled by the object type (OBJTYPE): TEMPLATE
Qualifier 1: Menu style
Qualifier 2: Collection
| Top |
Specifies the size of an object.
This parameter is controlled by the object type (OBJTYPE): LINE
| Top |
Specifies the applet border mode.
This parameter is controlled by the object type (OBJTYPE): TEMPLATE
| Top |
Specifies the view toolbar.
This parameter is controlled by the object type (OBJTYPE): TEMPLATE
| Top |
| Top |
| Top |
Example 1: Create a frame
CRTOBJDFN OBJ(MYCLCL/MYFRAME)
OBJTYPE(FRAME)
TEXT('frame sample')
TOP(2)
LEFT(1)
WIDTH(80)
HEIGHT(5)
BORDER(*DFT 1 *RED)
BGCOLOR(BDDFFF)
TITLE('Filter selection' TOPLEFT *BLACK)
This command creates an object of type FRAME, named MYFRAME within the collection named MYCLC. The frame is 80 positions width and 5 positions height. The TOP-LEFT corner of this frame will be positioned at the 2nd line and the 1st column of the format to which it will be connected (cf. cmd ADDOBJCNT). The border style will be the default one, its size will be 1 pixel and its color red. The background-color within that frame will be, in hexadecimal, BDDFFF (which is a light blue). And this frame will have a title written in black on its top-left position.
| Top |
| Top |