General information
Category:
Forms & Form designer
>This works for me. Where do you have this code. I put it in the activate of the form.
I put it in the Init(), since it will not move afterward.
My problem is that the text isn't centered on the form.
I noticed a strange behaviour: in design mode, when I enter the text in the caption field manually, the width of the label is 54.
If I put WAIT WINDOW Str(THISFORM.lblMessage.Width) after initializing the field with the same text, it give Width = 40.
So that's why the text isn't centered.
My question now: how come the width property at run time return a false information?
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