Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display headers in browse window left aligned
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00674971
Message ID:
00674996
Views:
20
>Hi All,
>Is it possible to display column headers in browse window in VFP 7 left aligned, as in FoxPro 2.6. It is very inconvenient to see middle part of the header text when this text is longer then column wide. Thank you in advance.

Yes.
BROWSE NAME oMyBrowse NOWAIT
FOR i = 1 TO oMyBrowse.ColumnCount
    oMyBrowse.Columns(i).Header1.Alignment = 0 && Middle Left
NEXT
or
BROWSE NAME oMyBrowse NOWAIT
oMyBrowse.SetAll("Alignment", 8, "Header")
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform