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 8.0 
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:  2265 (52 on line) Last Update: Dec 24, 2003  
    TOptionGroup5    Printer Friendly  
 
Description   Inheritance   Example   Properties   Methods
 
 Description

The TOptionGroup5 Object is a collection of TOption5 radio button objects
You define the layout of the Radio buttons with the <list> property which accepts a matrix of buttons captions
The <value> property returns a boolean vector showing which radio button is selected: you can also use
it to select one of the radio buttons.  All these buttons are contained in a Frame object which
you can make invisible by setting its <border> property to 0.  The Frame size auto-adapts to the
the radio button layout and caption lengths.

See also: TCheck5 TCheckGroup5 TOption5

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' 'TOptionGroup5 Example')('*size'300 400)'DemoShow' 'SessionFocus'
      'ff'Œwi'*.og1.Create' 'TOptionGroup5'('wherelc'Ð Ð Ð Ð)('list'(2 3½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC'))
      'ff'Œwi'*.og2.Create' 'TOptionGroup5'('border'0)('wherelc' '>' '='Ð Ð)('list'(6 1½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC'))
 
Description   Inheritance   Example   Properties   Methods
 
 Properties
 
border    
Description:  Surround the TOptionGroup buttons with a frame or not 
Syntax:  {boolean„'} 'obj' Œwi 'border' {boolean} 
boolean:  1=(default)surround with a frame, 0=don't 
Example: 
      'ff.og1' Œwi '*Create' 'TOptionGroup5' ('border'0) ('wherelc'Ð Ð Ð Ð) ('list' (2 3½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC')) 
buttonnames    
Description:  Return the names of the buttons objects in the group (read-only property) 
Syntax:  buttonnames„'obj' Œwi 'buttonnames' 
buttonnames:  a nested vector of button names 
Example: 
      'ff.og1' Œwi 'buttonnames' 
class    
Description:  Return current object class 
Syntax:  class„'obj' Œwi 'class' 
help    
Example: 
0 0½'ff' Œwi '*Create' 'TForm5' ('*caption' 'TOptionGroup5 Example') ('*size'300 400) 'DemoShow' 'SessionFocus' 
0 0½'ff' Œwi '*.og1.Create' 'TOptionGroup5' ('wherelc'Ð Ð Ð Ð) ('list' (2 3½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC')) 
0 0½'ff' Œwi '*.og2.Create' 'TOptionGroup5' ('border'0) ('wherelc' '>' '='Ð Ð) ('list' (6 1½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC')) 
list    
Description:  Get or Set the list of option buttons making up the TOptionGroup object 
Syntax:  {list„'} 'obj' Œwi 'list' {list} 
list:  a nested matrix of option button captions 
Note:  the shape of <list> shows the layout of buttons in the TOptionGroup object 
Example: 
      'ff.og1' Œwi '*Create' 'TOptionGroup5' ('wherelc'Ð Ð Ð Ð) ('list' (2 3½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC')) 
      'ff.og2' Œwi '*Create' 'TOptionGroup5' ('wherelc' '>' '='Ð Ð) ('list' (6 1½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC')) 
value    
Description:  Get or Set the value property for all option buttons in the group 
Syntax:  {boolean„'} 'obj' Œwi 'value' {booleanvec} 
booleanvec:  a boolean vector with one element per option button in the group 
boolean:  a boolean vector or matrix with one element per option button in the group 
Example: 
      'ff.og1' Œwi 'value'0 0 1 0 0 0 
Description   Inheritance   Example   Properties   Methods
 
 Methods
 
New     Description: Create a new instance of TOptionGroup5
Example:
      'obj' Œwi '*Create' 'TOptionGroup5'

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.