I see that the nDataBmpAlign variable of the TXBrwColumn class allows for only left or right justification, but not centering. And yet the Testxbr3.prg sample shows a checkbox bitmap being centered in the, "Married" column (this dialog is reached by selecting Window, RDD, Selected Cols). I looked at the code for the RddBrwSelColsWin() function of the sample which supports the browse, and I saw where the checkbox bitmap was being set via the code:
- Code: Select all Expand view RUN
if ! Empty( oCol := oBrw:oCol( "Married" ) )
oCol:SetCheck( { "ON", "OFF" } )
oCol:cSortOrder := nil
// oCol:lBmpStretch = .T.
endif
But I don't see how the centering of the checkbox bitmap is being done. Can anyone tell me what variable is being set to center the checkbox bitmap?
Thanks!
-Patrick