Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

8/12/2008 3:00:00 AM
218.201.40.117
8/11/2008 12:11:35 PM
218.201.40.117
8/10/2008 2:49:19 PM
193.37.152.250
8/1/2008 5:09:58 PM
212.235.1.21
7/24/2008 4:45:00 PM
89.149.242.88
List all versions List all versions

RSS feed for the FlexWiki namespace

Test Page
.

[<<Previous Entry] [^Up^] [Next Entry>>] Menu About The Guide

 ListBox xBase Commands
             [ <multi: MULTI, MULTIPLE, MULTISEL> ] ;
             [ <sort: SORT> ] ;


 Creating a ListBox   @ <nRow>, <nCol> LISTBOX [ <oLbx> VAR ] <cnVar> ;
 from source code        [ Instance | PROMPTS <aList>  ] ;
                         [ SIZE <nWidth>, <nHeight> ] ;
                         [ ON CHANGE <uChange> ] ;
                         [ ON [ LEFT ] DBLCLICK <uLDblClick> ] ;
                         [ OF | WINDOW | DIALOG <oWnd> ] ;
                         [ VALID <uValid> ] ;
                         [ COLOR | COLORS <nClrFore> [,<nClrBack>] ] ;
                         [ PIXEL ] ;
                         [ DESIGN ] ;
                         [ FONT <oFont> ] ;
                         [ MESSAGE <cMsg> ] ;
                         [ UPDATE ] ;
                         [ WHEN <uWhen> ]
                         [ BITMAPS <acBitmaps> ] ;
                         [ ON DRAWITEM <uBmpSelect> ] ;
                         [ MULTI | MULTIPLE | MULTISEL ] ;
                         [ SORT ] ;
 Creating a ListBox   REDEFINE LISTBOX [ <oLbx> VAR ] <cnVar> ;
 from resources          [ ITEMS | PROMPTS <aItems> ]  ;
                         [ FILES | FILESPEC <cFileSpec> ] ;
                         [ ID <nId> ] ;
                         [ ON CHANGE <uChange> ] ;
                         [ ON [ LEFT ] DBLCLICK <uLDblClick> ] ;
                         [ OF | WINDOW | DIALOG <oWnd> ] ;
                         [ HELPID | HELP ID <nHelpId> ] ;
                         [ BITMAPS [ SIZE <nSize> ] ] ;
                         [ VALID <uValid> ] ;
                         [ COLOR | COLORS <nClrFore> [,<nClrBack>] ] ;
                         [ MESSAGE <cMsg> ] ;
                         [ UPDATE ] ;
                         [ WHEN <uWhen> ]
                         [ BITMAPS <acBitmaps> ] ;
                         [ ON DRAWITEM <uBmpSelect> ] ;
 <nRow>, <nCol>  The coordinates of the ListBox. They mimic text mode coordinates.


 <oLbx>          A reference to the ListBox object.


 <cnVar>         A Clipper variable, string or numeric, where FiveWin will
                 automatically select the item selected in the ListBox.


 <aList>         An Clipper array of strings, used to fill the ListBox items.


 <nWidth>, <nHeight>  The dimensions of the ListBox in pixels.


 <uChange>       A codeblock to evaluate everytime a item of the ListBox is
                 selected.


 <uLDblClick>    A codeblock to evaluate when the user left double clicks the
                 mouse over the listbox.


 <oWnd>          A reference to the container object of the ListBox, normally
                 a window or a DialogBox.


 <uValid>        A codeblock that holds the VALID clause of the ListBox.


 <nClrFore>      The color of the text of the ListBox items.


 <nClrBack>      The color of the background of the ListBox items.


 <oFont>         An optional font object to use when painting the ListBox items.


 <cMsg>          The message to show at the messageBar of the ListBox container
                 if defined (a window or a DialogBox normally).


 <uWhen>         A codeblock that holds the WHEN clause of the ListBox.


 <cFileSpec>     A 'mask' to use to automatically show files from disk.
                 i.e.: "*.*"


 <nId>           The control numeric identifier when managing resources.


 <nHelpId>       The help identifier for the ListBox.


 <nSize>         An optional size for the bitmaps used when doing a
                 ownerdraw ListBox.


 <acBitmaps>


 <uBmpSelect>
 CLAUSES


 PIXEL           To specify that <nRow> and <nCol> must be trated as pixels,
                 and not simulated as MsDos text rows and cols.


 DESIGN          To let the user move around the control with the mouse.


 UPDATE          To specify that this control should be repainted (:Refresh())
                 when issuing a <oDlg>:Update() of its container DialogBox.


 MULTI |
 MULTIPLE |      Alows Multiple selection.
 MULTISEL


 SORT

See Also: Class TListBox

Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson

Not logged in. Log in

Welcome to the home of FlexWiki, an experimental collaboration tool, based on WikiWiki.

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics