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
if ! Empty( oCol := oBrw:oCol( "Married" ) )
oCol:SetCheck( { "ON", "OFF" } )
oCol:cSortOrder := nil
// oCol:lBmpStretch = .T.
endif
Thanks!
-Patrick