Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label Width Is Incorrect
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Label Width Is Incorrect
Miscellaneous
Thread ID:
00734850
Message ID:
00734850
Views:
47
I have placed a label on a form, and at runtime I need to find out its Top, Left, Width, and Height that were set at design time.

Oddly enough, the Width returns the wrong value (wherease the top, left, and height return the design time value).

As an example:
WAIT WINDOW STR(THISFORM.lblLast.Top) && returns 84 which is correct
WAIT WINDOW STR(THISFORM.lblLast.Left)  && returns 156 which is correct
WAIT WINDOW STR(THISFORM.lblLast.Height)  && returns 17 which is correct

WAIT WINDOW STR(THISFORM.lblLast.Width)  && returns 83 which is NOT correct - it should be 136
Any suggestions on what is going on here?

Mel Cummings
Next
Reply
Map
View

Click here to load this message in the networking platform