General information
Category:
Coding, syntax & commands
Title:
Programmatically center a label control
If I want to center my label programmatically, how can I do that. I set the value of caption at run-time.
So I do something like thisform.label1.left=(thisform.width-thisform.label1.width)/2
But this won't center the label. Any help?
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