Public Member Functions | Public Attributes

FBList Class Reference

This reference page is linked to from the following overview topics: Events & callbacks.


Search for all occurrences

Detailed Description

List of items.

Definition at line 1317 of file fbcontrols.h.

#include <fbcontrols.h>

Inheritance diagram for FBList:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FBList ()
 Constructor.
virtual bool IsSelected (int pIndex)
 Returns whether or not the item pIndex is currently selected.
virtual void Selected (int pIndex, bool pSelected)
 Set the current selected state of item at pIndex to pSelected.

Public Attributes

FBPropertyStringList Items
 List: Names of items in list.
FBPropertyInt ItemIndex
 Read Write Property: Current item index.
FBPropertyBool MultiSelect
 Read Write Property: Can multiple items be selected?
FBPropertyBool ExtendedSelect
 Read Write Property: Extended selection state?
FBPropertyListStyle Style
 Read Write Property: Style or direction of list.
FBPropertyEvent OnChange
 Event: List changed.
FBPropertyEvent OnDragAndDrop
 Event: Drag and drop event.

Constructor & Destructor Documentation

FBList ( )

Constructor.


Member Function Documentation

virtual bool IsSelected ( int  pIndex) [virtual]

Returns whether or not the item pIndex is currently selected.

Parameters:
pIndexIndex to see if select or not.
Returns:
true if item at pIndex is selected.
virtual void Selected ( int  pIndex,
bool  pSelected 
) [virtual]

Set the current selected state of item at pIndex to pSelected.

Parameters:
pIndexIndex to affect item at.
pSelectedState to set item at pIndex to.

Member Data Documentation

List: Names of items in list.

Definition at line 1323 of file fbcontrols.h.

Read Write Property: Current item index.

Definition at line 1325 of file fbcontrols.h.

Read Write Property: Can multiple items be selected?

Definition at line 1326 of file fbcontrols.h.

Read Write Property: Extended selection state?

Definition at line 1327 of file fbcontrols.h.

FBPropertyListStyle Style

Read Write Property: Style or direction of list.

Definition at line 1328 of file fbcontrols.h.

Event: List changed.

Definition at line 1330 of file fbcontrols.h.

Event: Drag and drop event.

Definition at line 1331 of file fbcontrols.h.


The documentation for this class was generated from the following file:

FBList FBList FBList FBList FBList FBList FBList FBList FBList FBList
FBList FBList FBList FBList FBList FBList FBList FBList FBList FBList