Lescasse Consulting
 Home    Company    News    Prices    Download    Buy    Forums   
Read Me
Buy
Forums
Resume
AntiSpam 1.2
wBackup 1.11
NetAccess 2.0
Visual APL 1.0 
APL+Win 7.3 
APL+Win Products 
APL+Win Objects™ 
APL+Win Training 
APL+Web Services
APL+Web Component 
APL+ History
Dyalog.Net Tutorial
Conferences 
Powerpoint
White Papers
Web Hosting
References
Links
 
APL+Win Objects™ 6.0

TADO5
TADO5 Tutorial
TAPLDraw5
TAPLEdit5
TAPLSession5
TAbale5
TAboutBox5
TAccess5
TAgent5
TBlatMail5
TButton5
TCDO5
TCRC5
TCancelButton5
TCheck5
TCheckGroup5
TChildForm5
TChooseColor5
TChooseFont5
TClipBoard5
TClock5
TCodeStats5
TColors5
TCombo5
TComboDrive5
TComboFilter5
TComboList5
TComboTree5
TCommandBar5
TCommandButton5
TControlClass5
TCueCard5
TDHTML5
TDHTMLEditor5
TDateTime5
TDateTimeFr5
TDates5
TDemoHandlers5
TDisplay5
TDOS5
TDualSelect5
TEdit5
TEditAmount5
TEditDir5
TEditEnter5
TEditFile5
TEditGrid5
TEditList5
TEditListview5
TEditMenu5
TEditNum5
TEditSelect5
TEditSpin5
TEmail5
TError5
TExampleForm5
TExcel5
TExcel5 Tutorial
TFindReplace5
TFOne5
TFTP5
TFTP5 Tutorial
TFileCompare5
TFileMenu5
TFileMenuDef5
TFlatButton5
TForm5
TFormClass5
TFormEditor5
TFrame5
TGetDir5
TGif5
TGifForm5
TGifWb5
TGoMenu5
TGraphX5
TGrid5
TGridDisplay5
TGridPrint5
TGUID5
THLine5
THTML5
THTML5 Tutorial
THTTP5
THelp5
THelpMenu5
TImagelist5
TInfo5
TIniFile5
TInstall5
TInternet5
TJpg5
TJpgWb5
TLabel5
TList5
TListview5
TLock5
TLogs5
TMAPI5
TMath5
TMDIForm5
TMSOutlook5
TMaskEdit5
TMedia5
TMenu5
TMessage5
TModalCall5
TMsgBox5
TNavigator5
TNetwork5
TNonVisualClass5
TODBC5
TOKButton5
TObject5
TOpenFile5
TOption5
TOptionGroup5
TOutlook5
TOutlookMail5
TOWCSpread5
TPDF5
TPFKeys5
TPage5
TPassword5
TPicture5
TPing5
TPopupMenu5
TPowerpoint5
TPowerpoint5 Tutorial
TPrinter5
TProgress5
TProgressDlg5
TQuestion5
TRegistry5
TRegistryKey5
TResource5
TRichEdit5
TSPX5
TSQLDMO5
TScheduler5
TScroll5
TSelector5
TSpinner5
TSplitter5
TStatus5
TStopWatch5
TTest5
TTestError5
TTextFile5
TTimer5
TTip5
TTipForm5
TTLI5
TToolBar5
TToolbox5
TToolsMenu5
TTrackbar5
TTranslate5
TTree5
TVLine5
TViewMenu5
TWebBrowser5
TWebServer5
TWebSite5
TWebSiteNet5
TWinMenu5
TWord5
TYesNo5
    Visits:  2559 (21 on line) Last Update: Dec 21, 2003  
    TComboList5    Printer Friendly  
 
Description   Inheritance   Example   Properties   Methods
 
 Description

The TComboList5 Object is a multi-column combo box object.  
Just as for the TComboFilter5 object the drop down list is automatically displayed when the user types characters
in the Edit field and the combo items list is reduced to just those items which contains the typed characters.
There is an auto-complete feature: as soon as there is only one item containing the typed characters,
the Edit field displays this item.  Combo columns may have titles or not: if they have titles, columns
can be sorted by clicking on the column header.  The TComboList5 object is particularly useful
when working with Relational Databases.

Description   Inheritance   Example   Properties   Methods
 
 Inheritance

Inherits from:  TObject5

Description   Inheritance   Example   Properties   Methods
 
 Example
 
 

The above form is generated by the following APL+Win Objects™ code:


      'ff'Œwi'*Create' 'TForm5'('*caption' 'TComboList5 Demo')('*size'300 400)
      'ff'Œwi'*.ed1.Create' 'TEdit5'('wherelc' 5 100 Ð 200)('attach'1 2 3 2)
      'ff'Œwi'*.ed2.Create' 'TEdit5'('wherelc' '>' '=' '=' '=')('attach'1 2 3 2)
      'ff'Œwi'*.cl1.Create' 'TComboList5'('wherelc' '>' '=' 300 140)('width'500)('list'1('Functions' 'Size' 'Functions' 'Size'®((Œsplit Œnl 3),(Œsize Œnl 3),(Œsplit Œnl 3),[1.5]Œsize Œnl 3)[¼†½Œnl 3;]))('attach'1 2 3 2)
      'ff'Œwi'*.ed3.Create' 'TCombo5'('wherelc' '>' '=' 200 '=')('*list'(Œsplit'PLI7'Œfmt¼40))('attach'1 2 3 2)
      'ff'Œwi'*.ed4.Create' 'TEdit5'('wherelc' '>' '=' '=..ed1' '=')('attach'1 2 3 2)
      'ff'Œwi'ShowRedim'
 
Description   Inheritance   Example   Properties   Methods
 
 Properties
 
allownew    
Description:  Allows to create an item which is not part of the list or not 
Syntax:  {boolean„'} 'obj' Œwi 'allownew' {boolean} 
boolean:  1=allows to type a new item (not part of the list)   0(default)=does not allow it 
Example: 
      'ff.cbList' Œwi 'allownew'1 
cblistname    
Description:  Get the name of the Combo List part of the object 
Syntax:  cbname„'obj' Œwi 'cblistname' 
cbname:  the name of the Listview object which contains the TComboList5 list 
Example: 
      'ff.cbList' Œwi 'cblistname' 
class    
Description:  Return current object class 
Syntax:  class„'obj' Œwi 'class' 
cols2scan    
Description:  Specify column which should be scanned for matching text 
Syntax:  'obj' Œwi 'cols2scan' {value} 
value:  either 'first' or 'all' (default) or a list of column numbers 
Example: 
      'ff.cbList' Œwi 'cols2scan' 'first' 
fixedheight    
Description:  Allow or not to change the combo list height 
Syntax:  {boolean„'} 'obj' Œwi 'fixedheight' {boolean} 
boolean:  0(default)=allows to change height   1=do not 
Example: 
      'ff.cbList' Œwi 'fixedheight'1 
help    
Example: 
0 0½'ff' Œwi '*Create' 'TForm5' ('*caption' 'TComboList5 Demo') ('*size'300 400) 
0 0½'ff' Œwi '*.ed1.Create' 'TEdit5' ('wherelc' 5 100 Ð 200) ('attach'1 2 3 2) 
0 0½'ff' Œwi '*.ed2.Create' 'TEdit5' ('wherelc' '>' '=' '=' '=') ('attach'1 2 3 2) 
0 0½'ff' Œwi '*.cl1.Create' 'TComboList5' ('wherelc' '>' '=' 300 140) ('width'500) ('list'1('Functions' 'Size' 'Functions' 'Size'®((Œsplit Œnl 3),(Œsize Œnl 3),(Œsplit Œnl 3),[1.5]Œsize Œnl 3)[¼†½Œnl 3;])) ('attach'1 2 3 2) 
0 0½'ff' Œwi '*.ed3.Create' 'TCombo5' ('wherelc' '>' '=' 200 '=') ('*list' (Œsplit'P<Item >LI7' Œfmt¼40)) ('attach'1 2 3 2) 
0 0½'ff' Œwi '*.ed4.Create' 'TEdit5' ('wherelc' '>' '=' '=..ed1' '=') ('attach'1 2 3 2) 
0 0½'ff' Œwi 'ShowRedim' 
list    
Description:  Get or Set the TComboList5 content 
Syntax:  'obj' Œwi 'list'headersbit nestedmatrix 
headersbit:  0 or 1 if the first line of nestedmatrix should be used as column headers 
nestedmatrix:  an APL nested matrix to be displayed within the TComboList5 control 
Example: 
      'ff.cbList' Œwi 'list'1((Œsplit Œnl 3),[1.5]Œsize Œnl 3) 
listfont    
Description:  Get or set the font for the Listview object 
Syntax:  {fontspec„'} 'obj' Œwi 'listfont' {fontspec} 
fontspec:  a font specification (same as the APL+Win <font> property) 
Example: 
      'ff.cbList' Œwi 'listfont' 'APLFONT'14 0'oem' 
multiple    
Description:  Allows multiple choice or not 
Syntax:  {boolean„'} 'obj' Œwi 'multiple' {boolean} 
boolean:  1=multiple choices allowed   0=not allowed 
Example: 
      'ff.cbList' Œwi 'multiple'1 
refreshcode    
Description:  Get or set the APL code to be executed to refresh the Listview content 
Syntax:  {aplexpr„'} 'obj' Œwi 'refreshcode' {aplexpr} 
aplexpr:  an APL expression which refreshes the TComboList5 Listview content 
Example: 
      'ff.cbList' Œwi 'refreshcode' 'MyAPLFunction' 
selitems    
Description:  Return the list of currently selected items (read-only property) 
Syntax:  itemsarray„'obj' Œwi 'selitems' 
itemsarray:  a nested matrix of t?he selected items (a sub-array of the list property) 
Note that all Combo List columns are returned in the result 
Example: 
      'ff.cbList' Œwi 'selitems' 
value    
Description:  Get or Set the selected item numbers 
Syntax:  {itemnos„'} 'obj' Œwi 'value' {itemsnos} 
itemnos:  an integer scalar or vector of item numbers 
Example: 
      'ff.cbList' Œwi 'value'1 5 6 7 9 
wherelc    
Description:  Generalized <where> property allowing to set control position relatively to other controls 
Syntax:  {where'} 'obj' Œwi 'where' {where} 
1œwhere  
       value       absolute vertical position in pixels 
       Ð           for a control:  at gap from top of form 
                   for a form:  at gap from top of screen 
       >           below "current" control+gap 
       >control    below "control"+gap 
       >>          below "current" control with no gap 
       >>control   below "control" with no gap 
       =           same vertical position as "current" control 
       =control    same vertical position as "control" 
       <>          for a control:  vertically centered in parent 
                   for a form:  vertically center within screen 
       <>control   vertically centered compared to control 
       #<          vertically center control between top of form and previous control 
       >#          vertically center control between previous control and bottom of form 
       <           for a control:  at "gap" from bottom of parent 
                   for a form:  at gap from bottom of screen 
       <<          for a control:  at bottom of parent 
                   for a form:  at bottom of screen 
       <control    bottom aligned with "control"-gap 
       <<control   bottom aligned with "control" 
       <<<control  above control with margin 
       °           leave vertical position unchanged 
2œB  
       value       absolute horizontal position in pixels 
       Ð           for a control:  at gap from left of form 
                   for a form:  at gap from left of screen 
       >           right of current control with gap 
       >control    right of specified control with gap 
       >>          right of current control with no gap 
       >>control   right of control with no gap 
       =           same horizontal position as current control 
       =control    same horizontal position as "control" 
       <>          horizontally centered in parent 
                   for a form, horizontally center within screen 
       <>control   horizontally centered compared to control 
       #<          horizontally center control between left of form and previous control 
       >#          horizontally center control between previous control and right of form 
       <           at "gap" from right parent edge 
                   for a form, at gap from right of screen 
       <<          at right of parent 
                   for a form, at right of screen 
       <control    right aligned with "control"-gap 
       <<control   right aligned with "control" 
       <<<control  before control with margin 
       °           leave horizontal position unchanged 
       (hpos captionpos 'caption') 
            hpos: horizontal position (same as 2œB) 
            captionpos: positive number  absolute horizontal position in pixels 
                        negative number  relative position from left of TEdit5 
                        '>'  right justified to left of TEdit5 
                        '='  use same position as previous label 
                        'Ÿ'  same horizontal position as TEdit5, but above it 
                             (moves TEdit5 down except if TEdit5 bottom aligned or 
                             centered in form) 
            caption: the TEdit5 associated label 
3œB  
       =           same height as current control 
       °           leave height unchanged 
       Ð           default height for this class of control 
       >           extend to bottom of container with margin 
       >control    extend to bottom of <control> with margin 
       >>          extend to bottom of container with no margin 
       >>control   extend to bottom of <control> with no margin 
       <<control   extend to top of <control> with no margin 
       <control    extend to top of <control> with margin 
4œB  
       =           same width as current control 
       °           leave width unchanged 
       Ð           default width for this class of control 
       >           extend to right of container with margin 
       >control    extend to right of <control> with margin 
       >>          extend to right of container with no margin 
       >>control   extend to right of <control> with no margin 
       <<control   extend to left of <control> with no margin 
       <control    extend to left of <control> with margin 
                 same width as object caption (useful for Option Buttons and Check Boxes) 
       NN        NN+same width as object caption 
5œB  vertical position adjustment in pixels 
6œB  horizontal position adjustment in pixels 
       '=label'        means adjust horizontal position by width of Label 
       '=NN+label'     means adjust horizontal position by width of Label + NN pixels 
7œB  height adjustment in pixels 
8œB  width adjustment in pixels 
       '=label'        means adjust control width by width of Label 
       '=NN+label'     means adjust control width by width of Label + NN pixels 
Example: 
      'ff.ed1' Œwi 'wherelc' '=' '>..ed2' Ð 0 0 0 0 '=as long as this text' 
    ('wherelc'5(100 95'Test')Ð 200) 
    ('wherelc'5(100 ¯95'Test')Ð 200) 
    ('wherelc'5(100 '>' 'Test')Ð 200) 
    ('wherelc'5(100 '=' 'Test')Ð 200) 
    ('wherelc'5(100 'Ÿ' 'Test')Ð 200) 
width    
Description:  Get or Set the Combo list width 
Description   Inheritance   Example   Properties   Methods
 
 Methods
 
HideList    
Description:  Hides the Combo box list 
Syntax:  'obj' Œwi 'HideList' 
Example: 
      'ff.cbList' Œwi 'HideList' 
New     Description: Create a new instance of TComboList5
Example:
      'obj' Œwi '*Create' 'TComboList5'

Description   Inheritance   Example   Properties   Methods
 
 This entire Web site has been dynamically generated by APL+Win Objects™ 6.0
 For all questions contact:  info@lescasse.com
 Copyright © 2003-2005 Lescasse Consulting. All rights reserved.