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

ms flex grid simpe doubt

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am using VB6 and access 97

filling value to MS Flex Grid Rows

if the first character is numeric value, automatically
it is right justified.
if the first character is other than numeric it is
left justified

i need all row values left justified
what can i do

thanks in advance

Shanmugham
shanmugham@hotmail.com
 
Hi,

Try this :

object.ColAlignment(Index) [=value]

The settings for value are:

Constant Value Description
flexAlignLeftTop 0 The column content is aligned left, top.
flexAlignLeftCenter 1 Default for strings. The column content is aligned left, center.
flexAlignLeftBottom 2 The column content is aligned left, bottom.
flexAlignCenterTop 3 The column content is aligned center, top.
flexAlignCenterCenter 4 The column content is aligned center, center.
flexAlignCenterBottom 5 The column content is aligned center, bottom.
flexAlignRightTop 6 The column content is aligned right, top.
flexAlignRightCenter 7 Default for numbers. The column content is aligned right, center.
flexAlignRightBottom 8 The column content is aligned right, bottom.
flexAlignGeneral 9 The column content is of general alignment. This is "left, center" for strings and "right, center" for numbers.


Greetz,
Jan If this response was usefull to you, please mark it with a Star!
 
thank you for your immediate help
it works fine

thanks..............
shanmugham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top