Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP6 Browse Window compared to VFP7 Browse Window

Status
Not open for further replies.

kadcore

Programmer
Joined
Nov 13, 2001
Messages
12
Location
CA
Why is it when resizing a browse window in VFP6 the beginning of the column will always be visible(left) but when doing the same in VFP7 the column loses character from both the left and right (centered). Resizing a column looks riduclous when "Value Sold" looks like "lue sol"
 
This is probably tied in to the new (much requested) Header WordWrap property. Try turning it on for this column.

Rick
 
By default the ColumnN.Header1.Alignment = 6 for grids... meaning... "Top Center. Aligns the text in the middle with equal spaces to the right and left, at the top of the column.". Thought it appears 0, the default is said as 6.

In VFP it says the same, but it used 0 instead of 6 which means "Middle Left. Aligns the text flush left and centers it vertically.".

Hope you set this. If you want to set this property for all of your grids.. you can do a subclassing of the Grid from the GridBase, set this property with a setall command in its init event, and use this subclass in all your applications.

The code to be put wll be..
With This
.SetAll("Alignment","myValue","HEADER")
ENDWITH

REplace the myValue with the choice you decide.

Hope this helps :-) ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top