Predefined Dialog Constants

WIL has  built-in dialog constants that can be used with WIL Dialog templates and user-defined callback functions to make your scripts much more readable. These start with the @-sign, and are case-insensitive.

 

 

DialogProcOptions Constants (also passed to callbacks)

 

@deInit 

@deTimer      

@dePbPush     

@deRbPush     

@deCbCheck    

@deEdText     

@deFlSelect   

@deIbSelect   

@deDlChange   

@deCaChange   

@deSpChange   

@deClose      

@deFlDblclick

@deIbDblclick

@deComEvent   

@deMiSelect   

@deMiInit     

@deResize     

@deRvrSelect  

@deRvrDblclick

@deRviCheck   

@deRviText    

@deRvhClick   

@deFocus

 

DialogProcOptions Constants (not passed to callbacks)

 

@dpoDisable    

@dpoBkground   

@dpoSysMenu    

@dpoTitle      

@dpoCtlName    

@dpoCtlNumber  

@dpoClientSize

 

DialogControlState Constants

 

@dcsSetFocus

@dcsGetStyle

@dcsAddStyle

@dcsRemStyle

@dcsGetFocus

@dcsMouseOver

 

DialogObject Constants

 

@doAddEvent  

@doRemEvent  

@doGetObject

@doGetPicture

 

Dialog Callback Procedure Return Code Constants

 

@retCancel  

@retDefault

@retNoExit  

 

 

 

 

 

 

Dialog Control Styles

 

@csDefault    

@csInvisible  

@csDisabled   

@csListOnly   

@csReadOnly   

@csPassword   

@csDefButton  

@csDigits     

@csFlat       

@csNoAdjust   

@csCenter     

@csRight      

@csCurLeft    

@csCurRight   

@csShield     

@csMenuCheck  

@csMenuRadio  

@csMenuSep    

@csMenuBreak  

@csNoHeader   

@csFirstHeader

@csGrid       

@csSingleSel  

@csFullSel    

@csAsort      

@csDsort      

@csColEdit    

@csColCheck   

@csIncHeader

@csCheckbox

@csSpinner

@csLogSort   

 

DialogControlSet and/or DialogControlGet Constants

 

@dcCheck      

@dcDot        

@dcText       

@dcTitle      

@dcContents   

@dcSelect     

@dcDate       

@dcSpin       

@dcTabStop    

@dcScroll     

@dcBackColor  

@dcBitmap     

@dcTextColor  

@dcAddItem    

@dcRemItem    

@dcGroupDot   

@dcPosition   

@dcMenuNames  

@dchWnd       

@dcHeaderText

@dcColWidth   

@dcAppendCol  

@dcRemoveCol  

@dcFind       

@dcCancelEdit

@dcGetChecked

@dcColFormat  

@dcFormat

@dcItemColor

@dcItemRow

@dcItemText

 

 

 

§         Constants

§         Predefined Floating Point Constants

§         Predefined String Constants

§         Predefined System Constants

 

§         Reference

§         Step by step guide to learning WIL

§         Notes