FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Add a button search in Xbrowse cell in edit mode
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM

Add a button search in Xbrowse cell in edit mode

Posted: Mon Nov 23, 2009 04:58 PM

Hi to all.
Is there the possibility to add a button or a bitmap to Xbrowse cell when I'm in edit mode ?
I want to add this button for some cells, for looking into a table and returning
back a value inside the get.
Thanks a lot.

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: Add a button search in Xbrowse cell in edit mode

Posted: Tue Nov 24, 2009 01:27 AM

oCol:nEditType := EDIT_BUTTON
oCol:bEditBlock := { || <button action> }

Regards



G. N. Rao.

Hyderabad, India
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM

Re: Add a button search in Xbrowse cell in edit mode

Posted: Tue Nov 24, 2009 07:14 AM

Works perfectly.
Is it possible to add a bitmap to that little button ?
Thanks a lot.

Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM

Re: Add a button search in Xbrowse cell in edit mode

Posted: Tue Dec 01, 2009 08:21 AM

Here's what I did,

oCol:addResource( "BitmapInResourceName" )
oCol:nBtnBmp := 1
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion