Create Object Definition (CRTOBJDFN)

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

Parameters

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

Object (OBJ)

Specifies the object you want to define.

This is a required parameter.

Qualifier 1: Object

*DDSSRC
*DDSSRC can be used only when the cmd is specified within a DDS source. To specify this cmd within a DDS source you have to use the following format, in complement of the cmd statement ADDOBJCNT:

     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.

name
Specify the name of the object you want to define.

Qualifier 2: Collection

DEFAULT
The collection named DEFAULT is used. (Collections are object's containers.)
name
Specify the name of the collection which contain the object you want to define.

Nota: To define new COLLECTION use the cmd: IWEB/CRTCLC

Top

Object type (OBJTYPE)

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.

BGCOLOR
Background color. Can be connected at *FIELD or *FORMAT level.
BORDER
Border. Can be connected at *FIELD or *FORMAT level.
BUTTON
Button. Can be connected at *FORMAT level.
CALCULATOR
Button to a pop-up calculator. Can be connected at *FIELD level.
CALENDAR
Button to a pop-up calendar for 1 field. Can be connected at *FIELD level.
CALENDAR2
Button to a pop-up calendar for 2 fields. Can be connected at *FIELD level.
CALENDAR3
Button to a pop-up calendar for 3 fields. Can be connected at *FIELD level.
CONSTANT
Constant text. Can be connected at *FORMAT level.
CHECKBOX
Check-box. Can be connected at *FIELD level.
COLHEAD
Column heading. (used for subfile, iWeb transforms them in Table-object). Can be connected at *FIELD level (or *FORMAT level for new object).
COLFILTER
Column filter. (To be used if your application contains filter input field for subfile column). Can be connected at *FIELD level.
COLOR
Color. Can be connected at *FIELD or *FORMAT level.
COLORCHOOSER
Button to a pop-up color chooser. Can be connected at *FIELD level.
FIELDBUTTON
Button anchored to a field. Can be connected at *FIELD level.
FIELDCONSTANT
Constant field. Can be connected at *FIELD level (field type "constant")
FIELDFKEY
Variable or constant string to be recognized as a function key text. Can be connected at *FIELD level.
FIELDIMG
Image anchored to a field. Can be connected at *FIELD level.
FIELDLINK
Link anchored to a field. Can be connected at *FIELD level.
FIELDVIEW
Change a field position, with absolute or relative coordinates. Can be connected at *FIELD level.
FIELDSTYLE
Style of a field. Can be connected at *FIELD level.
FKEY
Function Key. Can be connected at *FORMAT level.
FONT
Font. Can be connected at *FIELD or *FORMAT level.
FORMATVIEW
Change a format position, with absolute or relative coordinates. Can be connected at *FORMAT level.
FRAME
Frame. Can be connected at *FORMAT level.
IGNORE
Ignore. Can be connected at *FIELD level.
IMG
Image. Can be connected at *FORMAT level.
INITIALVALUE
Initial value of an input field. Can be connected at *FIELD level.
LINK
Link. Can be connected at *FORMAT level.
LISTBOX
List box. Can be connected at *FIELD level.
LISTBOXVAR
Variable list box. Can be connected at *FIELD level.
MENUSTYLE
Menu style.
NONDISPLAY
Non display attribute. Can be connected at *FIELD level.
PROTECT
Protect attribute. Can be connected at *FIELD level.
RADIOVAR
Radio button(s). Can be connected at *FIELD level.
REPLACEPATTERN
Replace pattern attribute.

To be used to remove '. . . .' or replace '-------' with a line. Can be connected at *FIELD level.

SCANHEX
Scan field for hexadecimal values interpretation. Can be connected at *FIELD level. (needs a program reconversion)
SFLVIEW
Subfile view.

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.

STYLE
Style of a format and all of its components, including fields. 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))

TABLESTYLE
Table style. (for iWeb, subfile are transformed to Table). Can be connected at *FORMAT level.
TAB
Tab panel. Can be connected at *FORMAT level.
TEMPLATE
Template which groups styles from different components. It is not connected at *FORMAT or *FIELD level but referenced directly in the applet within the html page in the following format:

<param name="template" value="COLLECTION/TEMPLATE.xml">

TITLE
Title (show in the title-bar). Can be connected at *FIELD level.
TOOLBARBUTTON
Tool Bar Button. Can be connected at *FORMAT level.
TOOLTIP
Tooltip. Can be connected at *FIELD or *FORMAT level.
UNHIDE
Unhide a hidden field, define a top & left position and a field usage. Can be connected at *FIELD level.
Top

'Description' text (TEXT)

Specifies the text description of the object you define.

*BLANK
No text is specified.
character-value
Specify the the text description.
Top

Image path or expression (IMG)

Specifies the adress of the image.

This parameter is controlled by the object type (OBJTYPE): IMG FKEY BUTTON FIELDBUTTON FIELDIMG TOOLBARBUTTON TIMERBUTTON

character-value
Specify the adress path as a string or an expression.

Example you may use:

  • /iwebdata/icons/ok.gif
  • /iwebdata/icons/question.gif
  • /iwebdata/icons/i.gif
  • /iwebdata/icons/email.gif
  • /iwebdata/icons/commentballoon.gif
  • ...
Top

'Label' text (LABEL)

Specifies the label of a link or a button.

This parameter is controlled by the object type (OBJTYPE): LINK BUTTON FIELDBUTTON FKEY TOOLBARBUTTON TIMERBUTTON

character-value
Specify the label text.
Top

'Constant' text (CONSTANT)

Specifies the text of a constant.

This parameter is controlled by the object type (OBJTYPE): FIELDCONSTANT CONSTANT

character-value
Specify the text.
Top

Outside position (OUTSIDE)

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

*NONE
The image will be inside the original frameset.
character-value
Specify the outside position as: TOPLEFT, TOPCENTER, TOPRIGHT, BOTLEFT, BOTCENTER, BOTRIGHT, LEFTTOP, LEFTCENTER, LEFTBOT, RIGHTTOP, RIGHTCENTER, RIGHTBOT, CORNERTOPLEFT, CORNERTOPRIGHT, CORNERBOTLEFT, CORNERBOTRIGHT.
Top

Line type (LINE)

Specifies the line type.

This parameter is controlled by the object type (OBJTYPE): LINE

HORIZONTAL
Horizontal line.
VERTICAL
Vertical line.
Top

Top position in character unit (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

decimal-number
Specify the number, in character unit, of the top position.
Top

Left position in char. unit (LEFT)

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

decimal-number
Specify the number, in character unit, of the left position.
Top

Length in char. unit (LENGTH)

Specifies the length of an object.

This parameter is controlled by the object type (OBJTYPE): LINE

*END
For Horizontal line: the length goes from the LEFT up to the end of the screen width. For Vertical line: the length goes from the TOP up to the end of the screen high.
decimal-number
Specify the length in character unit of the object.
Top

Position (POSITION)

Specifies position of an object.

This parameter is controlled by the object type (OBJTYPE): FIELDVIEW FORMATVIEW

ABSOLUTE
Absolute position.
RELATIVE
Relative position, minus or plus to the original field (for FIELDVIEW) or format (for FORMATVIEW) position.
Top

Field use (USE)

Specifies the use of the field.

This parameter is controlled by the object type (OBJTYPE): UNHIDE

character-value
Specify the usage of the field as for:
  • I (Input)
  • B (Both)
  • O (Output)
Top
Top

Width in character/pixel unit (WIDTH)

Specifies the width size of an object.

This parameter is controlled by the object type (OBJTYPE): IMG FRAME BUTTON FIELDIMG FIELDVIEW FORMATVIEW UNHIDE TIMERBUTTON

decimal-number
Specify the width size.
  • The size is interpreted as character unit.
  • For the object type IMG, when the parameter OUTSIDE is specified, the size is interpreted as pixel unit.
  • For the object type FIELDVIEW, FORMATVIEW or UNHIDE, width, when specified, is considered as a container size.
Top

Height in character/pixel unit (HEIGHT)

Specifies the height size of an object.

This parameter is controlled by the object type (OBJTYPE): IMG FRAME BUTTON FIELDIMG FIELDVIEW FORMATVIEW UNHIDE TIMERBUTTON

decimal-number
Specify the height size.
  • The size is interpreted as character unit.
  • For the object type IMG, when the parameter OUTSIDE is specified, the size is interpreted as pixel unit.
  • For the object type FIELDVIEW, FORMATVIEW or UNHIDE, height, when specified is considered as a container size.
Top

Unit in character/pixel unit (UNIT)

Specifies the unit for width and height.

This parameter is controlled by the object type (OBJTYPE): IMG BUTTON FIELDIMG TIMERBUTTON

character-value
Specify the unit for width and height size as CHAR (character) or PIXEL (pixel).
Top

Adapt (ADAPT)

Specifies the container adaptation of the field when the use is OUTPUT only.

This parameter is controlled by the object type (OBJTYPE): UNHIDE FIELDVIEW

character-value
Specify if the height has to be adapted to the output contents. (This functionality is mainly used for table, list of notes...)
Top

Alignment (ALIGN)

Specifies the alignment.

This parameter is controlled by the object type (OBJTYPE): FIELDVIEW

*NONE
No alignment.
RIGHT
Rigth alignment.
LEFT
Left alignment.
CENTER
Center alignment.
Top

Border (BORDER)

Specifies the border (style, size and color)

This parameter is controlled by the object type (OBJTYPE): IMG BORDER FRAME FIELDIMG FIELDSTYLE CONSTANT

Top

'Tooltip' text or expression (TOOLTIP)

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

character-value
Specify the tooltip as a string or an expression.
Top

Tooltip color (TOOLTCOL)

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

Tooltip font (TOOLTFONT)

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

Tooltip border (TOOLTBORD)

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

BgColor in hexadecimal (BGCOLOR)

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.

FFFFFF
White color.
*RED
Red color as for FF0000.
*GREEN
Green color as for 00FF00.
*BLUE
Blue color as for 0000FF.
character-value
Specify the Hexadecimal value of the background color.
Top

Color in hexadecimal (COLOR)

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.

000000
Black color.
*RED
Red color as for FF0000.
*GREEN
Green color as for 00FF00.
*BLUE
Blue color as for 0000FF.
character-value
Specify the Hexadecimal value of the foreground color.
Top

Background image path (BGIMG)

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

character-value
Specify the adress path as a string or an expression.

Example you may use:

  • /iweb/graphics/background/alaska.jpg
  • /iweb/graphics/background/sunset.jpg
  • /iweb/graphics/background/pacificSky.jpg
  • /iweb/graphics/background/sky.jpg
  • /iweb/graphics/background/sky2.jpg
  • /iweb/graphics/background/sky3.jpg
Top

Title (TITLE)

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

character-value
Specify the text of title.

Element 2: Title position

TOPUPPERLEFT
Top upper left position
TOPUPPERCENTER
Top upper center position
TOPUPPERRIGHT
Top upper right position
TOPLEFT
Top left position
TOPCENTER
Top center position
TOPRIGHT
Top right position
TOPUNDERLEFT
Top under left position
TOPUNDERCENTER
Top under center position
TOPUNDERRIGHT
Top under right position
BOTUPPERLEFT
Top upper left position
BOTUPPERCENTER
Top upper center position
BOTUPPERRIGHT
Top upper right position
BOTLEFT
Bottom left position
BOTCENTER
Bottom center position
BOTRIGHT
Bottom right position
BOTUNDERLEFT
Bottom under left position
BOTUNDERCENTER
Bottom under center position
BOTUNDERRIGHT
Bottom under right 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.

000000
Black color.
*RED
Red color as for FF0000.
*GREEN
Green color as for 00FF00.
*BLUE
Blue color as for 0000FF.
character-value
Specify the Hexadecimal value of the foreground color.
Top

Function Key (FKEY)

Specifies function key(s) layout and status.

This parameter is controlled by the object type (OBJTYPE): FKEY

CA-CF01, CA-CF24
Command attention or command function key.
ENTER
Enter function key.
ROLLUP
RollUp function key.
ROLLDOWN
RollDown function key.
HOME
Home function key.
PRINT
Print function key.
PAGEDOWN
PageDown function key.
PAGEUP
PageUp function key.
HELP
Help function key.
*ALL
All function key.
Top

Status (STATUS)

Specifies the status of a function key.

This parameter is controlled by the object type (OBJTYPE): FKEY FKEYBAR

*DISABLED
The function key is disabled.
*ENABLED
The function key is enabled.
*INVISIBLE
The function key is invisible (but still enabled if it was).
*VISIBLEIFTEXT
The function key is visible only if its description text appears on the display. Function key desciption text are reconised if they are in the 4 bottom lines of the display and containning the string "Fxx" or "cmdxx" (where xx is from 01 to 24) or one of the literal ENTER, ROLLUP, ROLLDOWN, HOME, PRINT, PAGEDOWN, PAGEUP, HELP.
Top

'Initial value' text (INITVALUE)

Specifies the initial value of a field.

This parameter is controlled by the object type (OBJTYPE): INITIALVALUE

character-value
Specify the value.
Top

Button action (BUTTONACT)

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

SYSCMD
Execute a system command on the host iSeries. (By choosing this value you have to enter also the SYSCMD parameter).
LINK
Link to a URL. (By choosing this value you have to enter also the HREF parameter).
F01-F24
Simulate the press function key F01-F24.
ENTER
Simulate the press Enter.
*NONE
No action or returned to the host program.
Top
Top

System command (SYSCMD)

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).

character-value
Specify the system command as a string or an expression.
Top

Href link or expression (HREF)

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:

character-value
Specify the Hypertext Reference as a string or an expression.
Top

Evaluate field(s) expression (EVAL)

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

variable-name
Specify a display field name. (It could from any usage of: I, O, B, or H) When the field is coming from another format than the connected one you can specify it as a prefix followed with a coma '.': FormatName.FieldName

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:

  • EVAL((FLD1 A10)) <=> eval FLD1=A10
  • EVAL(('&FLD1' '&A10')) <=> eval FLD1=A10
  • EVAL((FLD1 'abc')) <=> eval FLD1='abc'
  • EVAL((FORMAT2.FLDB A10)) <=> eval FLDB=A10 (FLDB from format FORMAT2)
  • EVAL(('*CLIENTFLD' A10)) <=> move the value A10 into a invocation field

Element 2: Eval value expression

character-value
Specify the field value as a string or an expression.
Top

Date format (CALENDAR)

Specifies the date format to be returned from the pop-up calendar.

This parameter is controlled by the object type (OBJTYPE): CALENDAR

*MDY
*DMY
*YMD
*JUL
*ISO
*USA
*EUR
*JIS
DDMMYY
MMDDYY
YYMMDD
YYDDD
YYYYMMDD
MMDDYYYY
DDMMYYYY
Top

2 fields calendar (CALENDAR2)

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

name
Specify the name of the first field.

Element 2: 1st Date format

YY
MM
DD
DDD
YYYY

Element 3: 2nd Field name

name
Specify the name of the second field.

Element 4: 2nd Date format

YY
MM
DD
DDD
YYYY
Top

3 fields calendar (CALENDAR3)

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

name
Specify the name of the first field.

Element 2: 1st Date format

YY
MM
DD
DDD
YYYY

Element 3: 2nd Field name

name
Specify the name of the second field.

Element 4: 2nd Date format

YY
MM
DD
DDD
YYYY

Element 5: 3rd Field name

name
Specify the name of the second field.

Element 6: 3rd Date format

YY
MM
DD
DDD
YYYY
Top

'Value *ON' text (VALUEON)

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

character-value
Specify the value.
Top

'Value *OFF' text (VALUEOFF)

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

character-value
Specify the value.
Top

Header "check/uncheck all" checkbox (CHECKALL)

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

character-value
Specify the value.
  • *YES (In the header of the field column will appear a "check/uncheck all" checkbox)
  • *NO (None checkbox will appear in the header of the field column)
Top

'Format.field' name (COLFILTER)

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

character-value
Specify the format.field name.
Top

Font (FONT)

Specifies the font (family and size)

This parameter is controlled by the object type (OBJTYPE): FONT FIELDSTYLE CONSTANT

Top

Input field color (INPUTCOL)

Specifies the color (forground and background) of the input field(s).

This parameter is controlled by the object type (OBJTYPE): STYLE

Top

Input field font (INPUTFONT)

Specifies the font (family and size) of the input field(s).

This parameter is controlled by the object type (OBJTYPE): STYLE

Top

Input field border (INPUTBORD)

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

Output field color (OUTPUTCOL)

Specifies the color (forground and background) of the output field(s).

This parameter is controlled by the object type (OBJTYPE): STYLE

Top

Output field font (OUTPUTFONT)

Specifies the font (family and size) of the output field(s).

This parameter is controlled by the object type (OBJTYPE): STYLE

Top

Output field border (OUTPUTBORD)

Specifies the border (style, size and color) of the output field(s).

This parameter is controlled by the object type (OBJTYPE): STYLE

Top

CONST field color (CONSTCOL)

Specifies the color (forground and background) of the Constant field(s).

This parameter is controlled by the object type (OBJTYPE): STYLE

Top

CONST field font (CONSTFONT)

Specifies the font (family and size) of the Constant field(s).

This parameter is controlled by the object type (OBJTYPE): STYLE

Top

CONST field border (CONSTBORD)

Specifies the border (style, size and color) of the Constant field(s).

This parameter is controlled by the object type (OBJTYPE): STYLE

Top

Table header color (SFL) (HEADCOL)

Specifies the color (forground and background) of the table header(s).

This parameter is controlled by the object type (OBJTYPE): TABLESTYLE

Top

Table header font (SFL) (HEADFONT)

Specifies the font (family and size) of the table header(s).

This parameter is controlled by the object type (OBJTYPE): TABLESTYLE

Top

Table header border (SFL) (HEADBORD)

Specifies the border (style, size and color) of the table header(s).

This parameter is controlled by the object type (OBJTYPE): TABLESTYLE

Top

Table odd line color (SFL) (ODDCOL)

Specifies the color (forground and background) of the table odd line(s).

This parameter is controlled by the object type (OBJTYPE): TABLESTYLE

Top

Table even line color (SFL) (EVENCOL)

Specifies the color (forground and background) of the table even line(s).

This parameter is controlled by the object type (OBJTYPE): TABLESTYLE

Top

Table line font (SFL) (TABLEFONT)

Specifies the font (family and size) of the table line(s).

This parameter is controlled by the object type (OBJTYPE): TABLESTYLE

Top
Top

Field button position (FLDBTNPOS)

Specifies the position of a field button.

This parameter is controlled by the object type (OBJTYPE): FIELDBUTTON CALENDAR CALENDAR2 CALENDAR3 COLORCHOOSER CALCULATOR

*LEFT
Left position outside the field.
*RIGHT
Right position outside the field.
*FIELD
Use this value only for connection towards field type "constant" or field usage "output". The field(s) connected will be transformed in button.
Top

Background logo path (LOGO)

Specifies the background logo path of the menu frame.

This parameter is controlled by the object type (OBJTYPE): TEMPLATE

/iweb/graphics/sfondoApplet.jpg
Default local path.
character-value
Specify the path of the background logo menu.
Top

Menu icon path (MENUICON)

Specifies the path of the icon menu.

This parameter is controlled by the object type (OBJTYPE): MENUSTYLE

character-value
Specify the path.
Top

Menu color (MENUCOL)

Specifies the color (forground and background) of the menu(s).

This parameter is controlled by the object type (OBJTYPE): MENUSTYLE

Top

Menu font (MENUFONT)

Specifies the font (family and size) of the menu(s).

This parameter is controlled by the object type (OBJTYPE): MENUSTYLE

Top

Item icon path (ITEMICON)

Specifies the path of the item menu.

This parameter is controlled by the object type (OBJTYPE): MENUSTYLE

character-value
Specify the path of the icon that will be shown for an item menu.
Top

Item color (ITEMCOL)

Specifies the color (forground and background) of the menu item(s).

This parameter is controlled by the object type (OBJTYPE): MENUSTYLE

Top

Item font (ITEMFONT)

Specifies the font (family and size) of the menu item(s).

This parameter is controlled by the object type (OBJTYPE): MENUSTYLE

Top

Values' label (LISTBOX)

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

character-value
Specify the value passed and monitored by the program.

Element 2: Type

*CHAR
The type of the value is character.
*DEC
The type of the value is numeric.

Element 3: 'Label' text

character-value
Specify the label that will appears on the listbox interface.
Top

List box values (LISTBOXVAL)

Specifies the values separated by ","(comma) of a list box.

This parameter is controlled by the object type (OBJTYPE): LISTBOXVAR RADIOVAR

character-value
Specify the values separated by ","(comma) of a list box.

Example you may use:

  • A,E,U
Top

List box labels (LISTBOXLAB)

Specifies the labels separated by ","(comma) of a list box.

This parameter is controlled by the object type (OBJTYPE): LISTBOXVAR RADIOVAR

character-value
Specify the labels separated by ","(comma) of a list box.

Example you may use:

  • Asia,Europe,United States
Top

List box view (LISTVIEW)

Specifies the view of a list box.

This parameter is controlled by the object type (OBJTYPE): LISTBOXVAR RADIOVAR

VALUELABEL
View the values and the labels.
LABEL
View the labels only.

Nota: In any case only the value of the selected list box item will be passed to the host program.

Top

Axis direction (AXIS)

Specifies the axis.

This parameter is controlled by the object type (OBJTYPE): RADIOVAR

VERTICAL
Vertical.
HORIZONTAL
Horizontal.
Top

Tab (TAB)

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

character-value
Specify the text of the tab panel.

Element 2: Tab panel action

F01-F24
Command function key.
ENTER
Enter function key.
ROLLUP
RollUp function key.
ROLLDOWN
RollDown function key.
HOME
Home function key.
PRINT
Print function key.
PAGEDOWN
PageDown function key.
PAGEUP
PageUp function key.
HELP
Help function key.

Element 3: 'Associed format name' text

character-value
Specify the format name associed to the tab panel.
Top

'Header' text or expression (COLHEAD)

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:

character-value
Specify the column heading as a string or an expression.
Top

Pattern (PATTERN)

Specifies a pattern.

This parameter is controlled by the object type (OBJTYPE): REPLACEPATTERN

character-value
Specify the pattern.
Top

Minimum occurence pattern (MINOCC)

Specifies the minimum occurence for the pattern.

This parameter is controlled by the object type (OBJTYPE): REPLACEPATTERN

decimal-number
Specify the minimum occurence for the pattern.
Top

Underlined (UL)

Underlined.

This parameter is controlled by the object type (OBJTYPE): REPLACEPATTERN

character-value
Specify if the pattern is underlined.
Top

Replacement pattern (REPLACE)

Specifies the replacement pattern.

This parameter is controlled by the object type (OBJTYPE): REPLACEPATTERN

character-value
Specify the replacement pattern OR
  • *BLANK (the pattern will be replaced with blank)
  • *TRIM (the pattern will be removed and any remaining characters will be shifted to the left),
  • *LINE (the pattern will be replaced with a flat line)
  • *LINERAISED (the pattern will be replaced with a raised line)
  • *LINELOWERED (the pattern will be replaced with a lowered line)
Top

Sequence order (SEQORD)

Specifies the sequence order of the position of a function key description.

This parameter is controlled by the object type (OBJTYPE): FKEY

decimal-number
Specify the order number of the function key position.
Top

Blank line optimisationtion (BLANKLINE)

Specifies the optimisation of the blank line of the display.

This parameter is controlled by the object type (OBJTYPE): STYLE

character-value
Specify the optimisation of the display blank lines as for:
  • COMPRESSED
  • PERSISTENT (remains as it is)
Top

Function key bar position (FKEYBARPOS)

Specifies the position of the function bar.

This parameter is controlled by the object type (OBJTYPE): FKEYBAR

*BOT
Bottom.
*TOP
Top.
Top

Style (STYLE)

Specifies a qualified style.

This parameter is controlled by the object type (OBJTYPE): TEMPLATE

Qualifier 1: Style

name
Specify the name of the style object.

Qualifier 2: Collection

name
Specify the name of the collection which contains the object.
Top

Table style (TABLESTYLE)

Specifies a qualified table style.

This parameter is controlled by the object type (OBJTYPE): TEMPLATE

Qualifier 1: Table Style

name
Specify the name of the table style object.

Qualifier 2: Collection

name
Specify the name of the collection which contains the object.
Top

Function key bar (FKEYBAR)

Specifies a qualified function key bar.

This parameter is controlled by the object type (OBJTYPE): TEMPLATE

Qualifier 1: Function key bar

name
Specify the name of the function key bar object.

Qualifier 2: Collection

name
Specify the name of the collection which contains the object.
Top
Top

Fkey style (FKEYSTYLE)

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

name
Specify the name of the function key style object.

Qualifier 2: Collection

name
Specify the name of the collection which contains the object.
Top

Menu style (MENUSTYLE)

Specifies a qualified menu style.

This parameter is controlled by the object type (OBJTYPE): TEMPLATE

Qualifier 1: Menu style

name
Specify the name of the menu style object.

Qualifier 2: Collection

name
Specify the name of the collection which contains the object.
Top

Size in pixel unit (SIZE)

Specifies the size of an object.

This parameter is controlled by the object type (OBJTYPE): LINE

decimal-number
Specify the size.
Top

Applet border (APPLETBORD)

Specifies the applet border mode.

This parameter is controlled by the object type (OBJTYPE): TEMPLATE

*YES
Show the applet with border.
*NO
Show the applet without border.
Top

View toolbar (TOOLBAR)

Specifies the view toolbar.

This parameter is controlled by the object type (OBJTYPE): TEMPLATE

*YES
Show the toolbar.
*NO
Do not show the toolbar.
Top
Top
Top

Examples for CRTOBJDFN

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

Error messages

Unknown
Top