|
-
August 1st, 2001, 08:36 PM
#1
Please help: MS Flex Grid Active X control
Hello:
Can someone please tell me what the unit is when setting or retrieving the width of a column in the MS Flex Grid control? It certainly is not pixels since setting the width to 240 makes the column only about 20 pixels wide (1/12 of a pixel?)
Thank you for any information.
-
August 1st, 2001, 09:21 PM
#2
Re: Please help: MS Flex Grid Active X control
probably be himetric, maybe you can use the form .ScaleX to convert it from himetric to pixel. read msdn for the method.
HTH
cksiow
http://vblib.virtualave.net - share our codes
-
August 2nd, 2001, 11:28 AM
#3
Re: Please help: MS Flex Grid Active X control
According to MSDN its Twips. Here is excerpt from it. (There are 1440 Twips per logical inch)
'
'
ColWidth Property (MSHFlexGrid)
Returns or sets the width of the column in the specified band, in logical twips. This property is not available at design time.
Note When using the MSFlexGrid, this property returns or sets the width of the specified column, in twips. Also, the ColWidth syntax, below, cannot be used in an MSFlexGrid due to the limitations of this control. If you are using MSFlexGrid, use the syntax: object.ColWidth(number) [= value]
Syntax
John G
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|