Hello Roger
using DCADDCELLITEM how can I know the width of the column in DCBROWSE
using DCADDCELLITEM how can I know the width of the column in DCBROWSE
using DCADDCELLITEM how can I know the width of the column in DCBROWSE
Nolberto Paulino
Regards
Regards
Re: using DCADDCELLITEM how can I know the width of the column in DCBROWSE
Users can change the width of a column, so I'm not sure that this can help you, but you would get the width as follows:
nWidth := oColumn:dataArea:currentSize()[1]
nWidth := oColumn:dataArea:currentSize()[1]
The eXpress train is coming - and it has more cars.
Re: using DCADDCELLITEM how can I know the width of the column in DCBROWSE
I am using this code
oColumn := oBrowse:GetColumn(1)
nCellWidth := oColumn:dataArea:currentSize()[1]
and it generates this error
oColumn := oBrowse:GetColumn(1)
nCellWidth := oColumn:dataArea:currentSize()[1]
and it generates this error
- Attachments
-
- error.jpg (70.57 KiB) Viewed 5385 times
Nolberto Paulino
Regards
Regards
Re: using DCADDCELLITEM how can I know the width of the column in DCBROWSE
should be:
oColumn := oBrowse:GetColumn( n )
nCellWidth := oColumn:currentSize()[1] // width of the column n
oColumn := oBrowse:GetColumn( n )
nCellWidth := oColumn:currentSize()[1] // width of the column n