bitmap for nEditType EDIT_BUTTON
Posted: Wed Sep 28, 2022 8:27 am
I want to exchange the bitmap which is shown when I have a xBrowse column with nEditType EDIT_BUTTON.
My try was
But this gives me the error that oBrw:aCol[1]:oBtnElip is NIL.
I can't find out what I'm doing wrong.
Has anyone an idea?
Thanks, Detlef
My try was
Code: Select all | Expand
WITH OBJECT oBrw:aCols[ 1 ]
:oBtnElip:SetText( "" )
:oBtnElip:LoadBitmaps( "find16" )
:nEditType := EDIT_BUTTON
:bEditBlock := { | nRow, nCol, oCol, nKey | dGetCal( oCol ) }
END
But this gives me the error that oBrw:aCol[1]:oBtnElip is NIL.
I can't find out what I'm doing wrong.
Has anyone an idea?
Thanks, Detlef