Variable Text is used to display data which may change, like a date or a password.
The following example generates this dialog:
|
|
;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")