How I can see the size of each header with a click ?
Falconi Silvio
How I can see the size of each header with a click ?
Silvio wrote:How I can see the size of each header with a click ?
METHOD HeaderLButtonUp( nMRow, nMCol, nFlags ) CLASS TXBrwColumn
...
nCol := ::oBrw:MouseColPos( nMCol ) // if the column header was clicked... more than 0, was clicked!
IF nCol > 0 .AND. !lDragged && if not for swapping the column
oCol := ::oBrw:colAtPos( nCol ) // returns the object columns that was clicked
alert( oCol:nWidth )
ENDIF
RETURNthanks
But I remember there was a xbrowse method made it
I remember of a utility of Otto made it and created the source od each column...
where i can found it ?
.Snipkeeper
Download snipkeeper + xBTool
Here are videos how to use it:
http://www.atzwanger.com/fwvideo/xbtool ... lFont.html
http://www.atzwanger.com/fwvideo/xBTool2.html
Regards,
Otto
thanks
but I remember there was an command to use on xbrowse :
I used it and the when I finished to set all columns size I rem this command
this commando shoed the column size when I drag each column : it shoed a message on video with the size variable and I not Know where I take it !!!
have a look into:
func f_SaveState(oBrw)
in the testxbr.prg.
Silvio wrote:thanks
But I remember there was a xbrowse method made it
I remember of a utility of Otto made it and created the source od each column...
where i can found it ?