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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange justify problem in MSflexgrid

Status
Not open for further replies.

sunil128

Programmer
Mar 20, 2008
45
GB
Doing the usual of using a recordest to populate a MSflexgrid, everything seems okay accept if a value returned begins with a numeric character, because then it decides to right justify that cell, everything else (i.e. begining with an alpha character) is justified normally to the left. Any ideas anyone?
 

Code:
MSFlexGrid..ColAlignment([blue]6[/blue]) = flexAlign[blue]Left[/blue]Center

Have fun.

---- Andy
 
Many thanks Andy, that worked perfectly, but how did u know it was the 6th column i needed to justify! [ponder]
 

I just new. :)

Now, for the PowerBall numbers (lotto in US, $10M minimum jackpot) for Wednesday......


Have fun.

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top