Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

WComboBox:Add() Method
Add an item
------------------------------------------------------------------------------

Syntax
<oWnd>:Add( <cStr>, [ <nPos> ] )   -->   nNewPos

Arguments
<oWnd> is the control to receive the new item.

<cStr> is the string to add.

<nPos> optionally specifies the position to put the new item.
Item positions count from one (1).  The item is added at the
end if this parameter is zero (0) or NIL.

Returns
An integer showing where the item was added.

Description
The string is added either at the position indicated or at the
end, and the position of the item is returned.

Example


See Also: WComboBox:Delete() CurItem Position

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson