>>Hi All,
>>reading the code from the SortGrid out of DownLoad I find a command named OBJTOCLIENT() in use.
>>Looking in online help I found "Returns a position or dimension of a control or object relative to its form."
>>I understand
position. But what is
dimension of an object relative to the form??
>>
>>Agnes
>
>Agnes,
>I think it's an harmless documentation error :) It always returns in pixels.
>Cetin
For grid header ObjToClient() for width will return different value compare to column.width, but only in case when header is cut by right edge of the grid. But you're right, the help should be fixed to remove confusion, I already sent a feedback to MS about this.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.