ComponentOne List 8.0 for ActiveX
AddItem Method (TDBCombo)

 

TDBCombo Reference> TDBCombo Methods> AddItem Method (TDBCombo)

AddItem Method (TDBCombo)

This method adds an item to a the TDBList or TDBCombo object.

Syntax

object.AddItem strItem, [strValue], [nIndex]

Remarks

Method applies to TDBList and TDBCombo controls.

Arguments

strItem specifies the display text of the item.

strValue specifies a string for the VALUE attribute of the item.

nIndex is an integer that specifies the item's position within the list.

Return Value

None

See Also

TDBList and TDBCombo Controls

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback