Index

PowerDoc Objects

Rich List Box

Overview

The Rich List Box object is a visual and interactive form control that offers users a single option or multiple options from which to choose.

Designated Rendering Function: fcDrawRichListBox (10009)

pdTextFragmentPtr (1038)

Also appears in: Text Fragment, Rich Text Line, Rich Text Arc, Rich Text Area, Rich Text Design, Rich Text Path, Rich Text Box, Rich Button

Link to the Text Fragment object.

This link in used to establish a link to the next text fragment. This can be the first text fragment or the fragment that follows the current one.

fcConfigPtr (10000)

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

Link to the Control Configuration object.

This link supplies the control's configuration parameters.

fcProgramPtr (10030)

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

Link to the Program object.

Properties

fcConnectionID (10001)   PD_LONG_SIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

An ID used to establish a connection between several independent form controls. Controls with the same fcConnectionID are connected.

fcLockStatus (10002)   PD_BYTE_UNSIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

A flag that indicates whether and how the control is locked for user interactions.

Supported values:

0 = Control is not locked (all user interactions are enabled)

1 = Control is completely locked (all user interactions are disabled)

2 = Control is locked for changes (user changes are disabled, other interactions are enabled)

3 = Control is locked for changes (user changes are disabled, other interactions are enabled), except scrolling

4 = Control is only locked for scrolling

fcState (10003)   PD_BYTE_UNSIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

A flag indicating the state of a control.

Supported values:

0 = Normal
1 = Pushed
2 = Selected

fcName (10004)   PD_ASC

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

Name of the control. Controls representing different variables or features should have different names. Controls representing the same variable or feature (e.g. a group of radio buttons) should have the same name.

fcDw (10006)   PD_LONG_SIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

Width of the control in document units.

fcDh (10007)   PD_LONG_SIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

Height of the control in document units.

fcUserParam (10008)   PD_LONG_SIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

An arbitrary user parameter.

fcTabOrderID (10009)   PD_WORD_SIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

Tab order ID.

fcGroupID (10010)   PD_LONG_SIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

An ID used to group several form controls. Controls with the same fcGroupID belong to the same group.

fcUserString (10017)   PD_ASC

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

fcOnCtrlRelease (10200)   PD_ARR_BYTE_UNSIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

An array of actions executed when the control is released.

Each element of the array can have one of the following values:

0 = Do nothing
1 = Call the callback function
2 = Jump to the page specified in fcUserParam
3 = Scroll up (left) connected sliders, text boxes and list boxes
4 = Scroll down (right) connected sliders, text boxes and list boxes
5 = Scroll connected list boxes and text boxes according to the slider's position
6 = Copy the value of the slider's position to connected text boxes
7 = Scroll connected sliders according to the first visible item in the list box or text box
8 = Copy the value of the selected item in the list to connected text boxes
9 = Hide all controls whose GroupID matches the value specified in fcUserParam
10 = Show all controls whose GroupID matches the value specified in fcUserParam
11 = Alternate the visibility of all controls whose GroupID matches the value specified in fcUserParam
12 = Jump to the previous page
13 = Jump to the next page
14 = Update connected sliders to reflect the amount of content in the text box
15 = Copy the value of the slider's position to joined media - by time
16 = Copy the value of the slider's position to joined media - by frame
17 = Pause joined media
18 = Play joined media
19 = Restart joined media
20 = Toggle joined media
21 = Open URL specified in fcUserString using the default Web browser
22 = Jump to the first page that holds an image with the name ID specified in fcUserParam
23 = Jump to the last page that holds an image with the name ID specified in fcUserParam
24 = Open address specified in fcUserString using the default E-mail client
100 = Call the Program object via fcProgramPtr

fcOnCtrlChange (10201)   PD_ARR_BYTE_UNSIGNED

Also appears in: Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box

An array of actions executed when a change inside the control is made.

Each element of the array can have one of the following values:

0 = Do nothing
1 = Call the callback function
2 = Jump to the page specified in fcUserParam
3 = Scroll up (left) connected sliders, text boxes and list boxes
4 = Scroll down (right) connected sliders, text boxes and list boxes
5 = Scroll connected list boxes and text boxes according to the slider's position
6 = Copy the value of the slider's position to connected text boxes
7 = Scroll connected sliders according to the first visible item in the list box or text box
8 = Copy the value of the selected item in the list to connected text boxes
9 = Hide all controls whose GroupID matches the value specified in fcUserParam
10 = Show all controls whose GroupID matches the value specified in fcUserParam
11 = Alternate the visibility of all controls whose GroupID matches the value specified in fcUserParam
12 = Jump to the previous page
13 = Jump to the next page
14 = Update connected sliders to reflect the amount of content in the text box
15 = Copy the value of the slider's position to joined media - by time
16 = Copy the value of the slider's position to joined media - by frame
17 = Pause joined media
18 = Play joined media
19 = Restart joined media
20 = Toggle joined media
21 = Open URL specified in fcUserString using the default Web browser
22 = Jump to the first page that holds an image with the name ID specified in fcUserParam
23 = Jump to the last page that holds an image with the name ID specified in fcUserParam
24 = Open address specified in fcUserString using the default E-mail client
100 = Call the Program object via fcProgramPtr

fcOnCtrlScroll (10202)   PD_ARR_BYTE_UNSIGNED

Also appears in: Text Box, List Box, Rich Text Box

An array of actions executed when the control scrolls.

Each element of the array can have one of the following values:

0 = Do nothing
1 = Call the callback function
2 = Jump to the page specified in fcUserParam
3 = Scroll up (left) connected sliders, text boxes and list boxes
4 = Scroll down (right) connected sliders, text boxes and list boxes
5 = Scroll connected list boxes and text boxes according to the slider's position
6 = Copy the value of the slider's position to connected text boxes
7 = Scroll connected sliders according to the first visible item in the list box or text box
8 = Copy the value of the selected item in the list to connected text boxes
9 = Hide all controls whose GroupID matches the value specified in fcUserParam
10 = Show all controls whose GroupID matches the value specified in fcUserParam
11 = Alternate the visibility of all controls whose GroupID matches the value specified in fcUserParam
12 = Jump to the previous page
13 = Jump to the next page
14 = Update connected sliders to reflect the amount of content in the text box
15 = Copy the value of the slider's position to joined media - by time
16 = Copy the value of the slider's position to joined media - by frame
17 = Pause joined media
18 = Play joined media
19 = Restart joined media
20 = Toggle joined media
21 = Open URL specified in fcUserString using the default Web browser
22 = Jump to the first page that holds an image with the name ID specified in fcUserParam
23 = Jump to the last page that holds an image with the name ID specified in fcUserParam
24 = Open address specified in fcUserString using the default E-mail client
100 = Call the Program object via fcProgramPtr

fcOnCtrlPush (10203)   PD_ARR_BYTE_UNSIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

An array of actions executed when the control is pushed.

Each element of the array can have one of the following values:

0 = Do nothing
1 = Call the callback function
2 = Jump to the page specified in fcUserParam
3 = Scroll up (left) connected sliders, text boxes and list boxes
4 = Scroll down (right) connected sliders, text boxes and list boxes
5 = Scroll connected list boxes and text boxes according to the slider's position
6 = Copy the value of the slider's position to connected text boxes
7 = Scroll connected sliders according to the first visible item in the list box or text box
8 = Copy the value of the selected item in the list to connected text boxes
9 = Hide all controls whose GroupID matches the value specified in fcUserParam
10 = Show all controls whose GroupID matches the value specified in fcUserParam
11 = Alternate the visibility of all controls whose GroupID matches the value specified in fcUserParam
12 = Jump to the previous page
13 = Jump to the next page
14 = Update connected sliders to reflect the amount of content in the text box
15 = Copy the value of the slider's position to joined media - by time
16 = Copy the value of the slider's position to joined media - by frame
17 = Pause joined media
18 = Play joined media
19 = Restart joined media
20 = Toggle joined media
21 = Open URL specified in fcUserString using the default Web browser
22 = Jump to the first page that holds an image with the name ID specified in fcUserParam
23 = Jump to the last page that holds an image with the name ID specified in fcUserParam
24 = Open address specified in fcUserString using the default E-mail client
100 = Call the Program object via fcProgramPtr

fcOnCtrlFocusReceive (10204)   PD_ARR_BYTE_UNSIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

An array of actions executed when the control receives focus.

Each element of the array can have one of the following values:

0 = Do nothing
1 = Call the callback function
2 = Jump to the page specified in fcUserParam
3 = Scroll up (left) connected sliders, text boxes and list boxes
4 = Scroll down (right) connected sliders, text boxes and list boxes
5 = Scroll connected list boxes and text boxes according to the slider's position
6 = Copy the value of the slider's position to connected text boxes
7 = Scroll connected sliders according to the first visible item in the list box or text box
8 = Copy the value of the selected item in the list to connected text boxes
9 = Hide all controls whose GroupID matches the value specified in fcUserParam
10 = Show all controls whose GroupID matches the value specified in fcUserParam
11 = Alternate the visibility of all controls whose GroupID matches the value specified in fcUserParam
12 = Jump to the previous page
13 = Jump to the next page
14 = Update connected sliders to reflect the amount of content in the text box
15 = Copy the value of the slider's position to joined media - by time
16 = Copy the value of the slider's position to joined media - by frame
17 = Pause joined media
18 = Play joined media
19 = Restart joined media
20 = Toggle joined media
21 = Open URL specified in fcUserString using the default Web browser
22 = Jump to the first page that holds an image with the name ID specified in fcUserParam
23 = Jump to the last page that holds an image with the name ID specified in fcUserParam
24 = Open address specified in fcUserString using the default E-mail client
100 = Call the Program object via fcProgramPtr

fcOnCtrlHold (10205)   PD_ARR_BYTE_UNSIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

An array of actions executed when the control is held.

Each element of the array can have one of the following values:

0 = Do nothing
1 = Call the callback function
2 = Jump to the page specified in fcUserParam
3 = Scroll up (left) connected sliders, text boxes and list boxes
4 = Scroll down (right) connected sliders, text boxes and list boxes
5 = Scroll connected list boxes and text boxes according to the slider's position
6 = Copy the value of the slider's position to connected text boxes
7 = Scroll connected sliders according to the first visible item in the list box or text box
8 = Copy the value of the selected item in the list to connected text boxes
9 = Hide all controls whose GroupID matches the value specified in fcUserParam
10 = Show all controls whose GroupID matches the value specified in fcUserParam
11 = Alternate the visibility of all controls whose GroupID matches the value specified in fcUserParam
12 = Jump to the previous page
13 = Jump to the next page
14 = Update connected sliders to reflect the amount of content in the text box
15 = Copy the value of the slider's position to joined media - by time
16 = Copy the value of the slider's position to joined media - by frame
17 = Pause joined media
18 = Play joined media
19 = Restart joined media
20 = Toggle joined media
21 = Open URL specified in fcUserString using the default Web browser
22 = Jump to the first page that holds an image with the name ID specified in fcUserParam
23 = Jump to the last page that holds an image with the name ID specified in fcUserParam
24 = Open address specified in fcUserString using the default E-mail client
100 = Call the Program object via fcProgramPtr

fcOnCtrlFocusLose (10206)   PD_ARR_BYTE_UNSIGNED

Also appears in: Button, Radio Button, Check Box, Text Box, List Box, Horizontal Slider, Vertical Slider, Rich Text Box, Rich Button

An array of actions executed when the control loses focus.

Each element of the array can have one of the following values:

0 = Do nothing
1 = Call the callback function
2 = Jump to the page specified in fcUserParam
3 = Scroll up (left) connected sliders, text boxes and list boxes
4 = Scroll down (right) connected sliders, text boxes and list boxes
5 = Scroll connected list boxes and text boxes according to the slider's position
6 = Copy the value of the slider's position to connected text boxes
7 = Scroll connected sliders according to the first visible item in the list box or text box
8 = Copy the value of the selected item in the list to connected text boxes
9 = Hide all controls whose GroupID matches the value specified in fcUserParam
10 = Show all controls whose GroupID matches the value specified in fcUserParam
11 = Alternate the visibility of all controls whose GroupID matches the value specified in fcUserParam
12 = Jump to the previous page
13 = Jump to the next page
14 = Update connected sliders to reflect the amount of content in the text box
15 = Copy the value of the slider's position to joined media - by time
16 = Copy the value of the slider's position to joined media - by frame
17 = Pause joined media
18 = Play joined media
19 = Restart joined media
20 = Toggle joined media
21 = Open URL specified in fcUserString using the default Web browser
22 = Jump to the first page that holds an image with the name ID specified in fcUserParam
23 = Jump to the last page that holds an image with the name ID specified in fcUserParam
24 = Open address specified in fcUserString using the default E-mail client
100 = Call the Program object via fcProgramPtr

fcItemFirst (10100)   PD_LONG_SIGNED

Also appears in: Text Box, List Box, Rich Text Box

For List Boxes, this is the index of the first visible row in the list. For Text Boxes, this is the index of the first visible character.

fcListSelectedItems (10101)   PD_ARR_LONG_SIGNED

Also appears in: List Box

An array containing indexes of the selected items in the list.

fcListMultiSelect (10102)   PD_BYTE_UNSIGNED

Also appears in: List Box

A flag indicating whether multiple list items can be selected.

Supported values:

0 = Only single item can be selected
1 = Multiple items can be selected

fcRowFirst (10212)   PD_LONG_SIGNED

Also appears in: Text Box, Rich Text Box

fcRowCount (10213)   PD_LONG_SIGNED

Also appears in: Text Box, Rich Text Box

Example

C/C++

DT_ID_SLONG obj[11];

obj[0] = pdObjAdd(pd, 0, "Text Fragment Outline Style");
obj[1] = pdObjAdd(pd, 0, "Text Fragment Body Style");
obj[2] = pdObjAdd(pd, 0, "Text Fragment Shadow Style");
obj[3] = pdObjAdd(pd, 0, "Text Fragment Outline");
obj[4] = pdObjAdd(pd, 0, "Text Fragment Shadow");
obj[5] = pdObjAdd(pd, 0, "Text Fragment Typography");
obj[6] = pdObjAdd(pd, 0, "Text Fragment Layout");
obj[7] = pdObjAdd(pd, 0, "Text Fragment Ruler");
obj[8] = pdObjAdd(pd, 0, "Text Fragment");
obj[9] = pdObjAdd(pd, 0, "Form Configuration");
obj[10] = pdObjAdd(pd, 0, "Form Rich List Box");

/* Properties for object 0 */
pdPropAdd(pd, obj[0], pdRGBT, "50641400", PD_HEX);

/* Properties for object 1 */
pdPropAdd(pd, obj[1], pdRGBT, "B4961400", PD_HEX);

/* Properties for object 2 */
pdPropAdd(pd, obj[2], pdRGBT, "80808078", PD_HEX);
pdPropAdd(pd, obj[2], pdEP, "030A", PD_HEX);

/* Properties for object 3 */
pdLinkAdd(pd, obj[3], pdStylePtr, obj[0]);
pdPropAdd(pd, obj[3], pdLineThickness, "150", PD_WORD_SIGNED);

/* Properties for object 4 */
pdLinkAdd(pd, obj[4], pdStylePtr, obj[2]);
pdPropAdd(pd, obj[4], pdShadowDx, "5", PD_WORD_SIGNED);
pdPropAdd(pd, obj[4], pdShadowDy, "5", PD_WORD_SIGNED);

/* Properties for object 5 */
pdLinkAdd(pd, obj[5], pdBodyPtr, obj[1]);
pdLinkAdd(pd, obj[5], pdShadowPtr, obj[4]);
pdLinkAdd(pd, obj[5], pdOutlinePtr, obj[3]);
pdPropAdd(pd, obj[5], pdFontIndex, "0", PD_WORD_SIGNED);
pdPropAdd(pd, obj[5], pdFontDw, "60", PD_WORD_SIGNED);
pdPropAdd(pd, obj[5], pdFontDh, "60", PD_WORD_SIGNED);

/* Properties for object 6 */
pdPropAdd(pd, obj[6], pdSpacingRow, "10", PD_WORD_SIGNED);
pdPropAdd(pd, obj[6], pdSpacingLetter, "5", PD_WORD_SIGNED);
pdPropAdd(pd, obj[6], pdKerning, "1", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[6], pdAlign, "0", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[6], pdAlignEnd, "0", PD_BYTE_UNSIGNED);

/* Properties for object 7 */
pdPropAdd(pd, obj[7], pdTabStopPositions, "40, 80, 150, 220", PD_ARR_BYTE_UNSIGNED);
pdPropAdd(pd, obj[7], pdTabStopFlags, "1, 0, 0, 2", PD_ARR_BYTE_UNSIGNED);

/* Properties for object 8 */
pdLinkAdd(pd, obj[8], pdTypographyPtr, obj[5]);
pdLinkAdd(pd, obj[8], pdTextLayoutPtr, obj[6]);
pdLinkAdd(pd, obj[8], pdTextRulerHorPtr, obj[7]);
pdPropAdd(pd, obj[8], pdTextString_08, "Item 0\rItem 1\rItem 2\rItem 3\rItem 4\rItem 5", PD_ASC);

/* Properties for object 9 */
pdPropAdd(pd, obj[9], fcCnfLib, "0", PD_WORD_SIGNED);
pdPropAdd(pd, obj[9], fcCnfCtrlStyleOnFocus, "0", PD_WORD_SIGNED);
pdPropAdd(pd, obj[9], fcCnfCharBox, "6", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[9], fcCnfButtonNormal, "14", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[9], fcCnfButtonPushed, "13", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[9], fcCnfSliderNormal, "2", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[9], fcCnfSliderPushed, "3", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[9], fcCnfRadioButtonNormal, "6", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[9], fcCnfRadioButtonPushed, "7", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[9], fcCnfRadioButtonSelected, "8", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[9], fcCnfCheckBoxNormal, "3", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[9], fcCnfCheckBoxPushed, "4", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[9], fcCnfCheckBoxSelected, "5", PD_BYTE_UNSIGNED);

/* Properties for object 10 */
pdLinkAdd(pd, obj[10], pdTextFragmentPtr, obj[8]);
pdLinkAdd(pd, obj[10], fcConfigPtr, obj[9]);
pdPropAdd(pd, obj[10], fcName, "IDRICHLISTBOX", PD_ASC);
pdPropAdd(pd, obj[10], fcDw, "800", PD_LONG_SIGNED);
pdPropAdd(pd, obj[10], fcDh, "500", PD_LONG_SIGNED);
pdPropAdd(pd, obj[10], fcListMultiSelect, "1", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[10], fcItemFirst, "0", PD_LONG_SIGNED);
pdPropAdd(pd, obj[10], fcListSelectedItems, "0, 2", PD_ARR_LONG_SIGNED);
pdPropAdd(pd, obj[10], fcTabOrderID, "100", PD_WORD_SIGNED);
pdPropAdd(pd, obj[10], fcOnCtrlChange, "1", PD_BYTE_UNSIGNED);
pdPropAdd(pd, obj[10], fcOnCtrlScroll, "1", PD_BYTE_UNSIGNED);


/* Image placement */
pdImgAdd(pd, obj[10], 0, 50, 50, 0, 0, 0, fcDrawRichListBox, DV_NULL);

INTEGRAL DSL

/* Lambda shortcuts */

local o = @(label = "") CDTObj(::my.doc, label); /* to make object */
local p = @(id, str, len = PD_DEFAULT) CDTProp(id, str, len); /* to add property - general */
local s = @(id, str) CDTPropStr(id, str); /* to add property - string */
local i = @(id, num) CDTPropInt(id, num); /* to add property - integer */
local l = @(id, obj) CDTLink(id, obj); /* to add link */

/* Objects */

local obj_0 = o("Text Fragment Outline Style");
local obj_1 = o("Text Fragment Body Style");
local obj_2 = o("Text Fragment Shadow Style");
local obj_3 = o("Text Fragment Outline");
local obj_4 = o("Text Fragment Shadow");
local obj_5 = o("Text Fragment Typography");
local obj_6 = o("Text Fragment Layout");
local obj_7 = o("Text Fragment Ruler");
local obj_8 = o("Text Fragment");
local obj_9 = o("Form Configuration");
local obj_10 = o("Form Rich List Box");

/* Object Properties */

obj_0 + s(pdRGBT, "50641400");

obj_1 + s(pdRGBT, "B4961400");

obj_2 + s(pdRGBT, "80808078");
obj_2 + s(pdEP, "030A");

obj_3 + l(pdStylePtr, obj_0);
obj_3 + i(pdLineThickness, 150);

obj_4 + l(pdStylePtr, obj_2);
obj_4 + i(pdShadowDx, 5);
obj_4 + i(pdShadowDy, 5);

obj_5 + l(pdBodyPtr, obj_1);
obj_5 + l(pdShadowPtr, obj_4);
obj_5 + l(pdOutlinePtr, obj_3);
obj_5 + i(pdFontIndex, 0);
obj_5 + i(pdFontDw, 60);
obj_5 + i(pdFontDh, 60);

obj_6 + i(pdSpacingRow, 10);
obj_6 + i(pdSpacingLetter, 5);
obj_6 + i(pdKerning, 1);
obj_6 + i(pdAlign, 0);
obj_6 + i(pdAlignEnd, 0);

obj_7 + p(pdTabStopPositions, "40, 80, 150, 220");
obj_7 + p(pdTabStopFlags, "1, 0, 0, 2");

obj_8 + l(pdTypographyPtr, obj_5);
obj_8 + l(pdTextLayoutPtr, obj_6);
obj_8 + l(pdTextRulerHorPtr, obj_7);
obj_8 + s(pdTextString_08, "Item 0\rItem 1\rItem 2\rItem 3\rItem 4\rItem 5");

obj_9 + i(fcCnfLib, 0);
obj_9 + i(fcCnfCtrlStyleOnFocus, 0);
obj_9 + i(fcCnfCharBox, 6);
obj_9 + i(fcCnfButtonNormal, 14);
obj_9 + i(fcCnfButtonPushed, 13);
obj_9 + i(fcCnfSliderNormal, 2);
obj_9 + i(fcCnfSliderPushed, 3);
obj_9 + i(fcCnfRadioButtonNormal, 6);
obj_9 + i(fcCnfRadioButtonPushed, 7);
obj_9 + i(fcCnfRadioButtonSelected, 8);
obj_9 + i(fcCnfCheckBoxNormal, 3);
obj_9 + i(fcCnfCheckBoxPushed, 4);
obj_9 + i(fcCnfCheckBoxSelected, 5);

obj_10 + l(pdTextFragmentPtr, obj_8);
obj_10 + l(fcConfigPtr, obj_9);
obj_10 + p(fcName, "IDRICHLISTBOX", PD_ASC);
obj_10 + i(fcDw, 800);
obj_10 + i(fcDh, 500);
obj_10 + i(fcListMultiSelect, 1);
obj_10 + i(fcItemFirst, 0);
obj_10 + p(fcListSelectedItems, "0, 2", PD_ARR_LONG_SIGNED);
obj_10 + i(fcTabOrderID, 100);
obj_10 + i(fcOnCtrlChange, 1);
obj_10 + i(fcOnCtrlScroll, 1);

/* Image Pinning */

obj_10.Pin(0, 50, 50, fcDrawRichListBox);
 

Index