Centering text in MS Flex Grid control 
Author Message
 Centering text in MS Flex Grid control

How do you center text in an MSFlexGrid control cell?

*****Do not directly reply to this message the email
address does not exist*****



Fri, 23 Sep 2005 04:23:46 GMT  
 Centering text in MS Flex Grid control
MSHFlexGrid1.Row = 6
MSHFlexGrid1.Col = 6
MSHFlexGrid1.CellAlignment = 3

Would center cell 6,6

Want to know more? Check out the MSDN Library at http://msdn.microsoft.com  or the Microsoft Knowledge Base at http://support.microsoft.com

Scot Rose, MCSD
Microsoft Visual Basic Developer Support

This posting is provided AS IS, with no warranties, and confers no rights.



Sat, 24 Sep 2005 04:13:45 GMT  
 Centering text in MS Flex Grid control
You know there is some nice named constants for alignments ;-)
For example
        MSHFlexGrid1.CellAlignment = flexAlignCenterTop
would be more readable than using "3" as alignment.

Cheers
Michael.



Quote:
> MSHFlexGrid1.Row = 6
> MSHFlexGrid1.Col = 6
> MSHFlexGrid1.CellAlignment = 3

> Would center cell 6,6

> Want to know more? Check out the MSDN Library at http://msdn.microsoft.com

or the Microsoft Knowledge Base at http://support.microsoft.com
Quote:

> Scot Rose, MCSD
> Microsoft Visual Basic Developer Support

> This posting is provided "AS IS", with no warranties, and confers no
rights.



Sun, 25 Sep 2005 15:40:09 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. data grids/ms flex grids

2. Grid (like MS Flex Grid) With a multi line select

3. MS Flex Grid control-use right button

4. How to use MS Flex Grid control

5. MS Flex Grid Control

6. MS Flex Grid Control

7. Urgent - Run time editing of the MS Flex Grid Control

8. Populating MS Flex Grid w/Data

9. MS Hierarchical Flex Grid

10. About MS Flex Grid - Tell me

11. MS Flex Grid Headers

12. Printing form containing MS Flex Grid

 

 
Powered by phpBB® Forum Software