General information
Category:
Coding, syntax & commands
>>thisform.time1.caption=time()
>>thisform.date1.caption=mdy(date())
>>thisform.dayweek.caption=cdow(date())
>>How do I center these programatically?
Horizontally:
THISFORM.date1.left=(THISFORM.Width-THISFORM.date1.width)/2
* you would aldo need to have you text aligned centrally, IE. .alignment=2
Vertically;
THISFORM.date1.top=(THISFORM.Height-THISFORM.date1.height)/2
Gary.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only