Variable Text

 

Variable Text is used to display data which may change, like a date or a password.

 

image\vary.gif

 

The following example generates this dialog:

 

image\varydate.gif

 

Control Attributes

 

Calendar

Check Box

Com Control

DateTime

Drop-down Combo Box

Edit Box

File List Box

Group Box

Item List Box

Menu Bar

Menu Item

Multiline Edit Box

Picture

Picture Button

Push Button

Radio Button

Report View

Spinner

Static Text

Variable Text

;Grab the date for display in the dialog box.
date=TimeDate()
DateFormat=`WWWDLGED,6.2`
DateCaption=`Todays Date`
DateX=236
DateY=124
DateWidth=152
DateHeight=083
DateNumControls=003
DateProcedure=`DEFAULT`
DateFont=`DEFAULT`
DateTextColor=`DEFAULT`
DateBackground=`DEFAULT,DEFAULT`
DateConfig=0
Date001=`031,061,034,014,PUSHBUTTON,"PushButton_OK",DEFAULT,"OK",1,1,DEFAULT,DEFAULT,DEFAULT,DEFAULT`
Date002=`073,061,034,014,PUSHBUTTON,"PushButton_Cancel",DEFAULT,"Cancel",0,2,DEFAULT,DEFAULT,DEFAULT,DEFAULT`
Date003=`021,027,106,014,VARYTEXT,"VaryText_1",date,DEFAULT,DEFAULT,3,DEFAULT,DEFAULT,DEFAULT,DEFAULT`
ButtonPushed=Dialog("Date")