DblClick on xbrowse column's bitmap

DblClick on xbrowse column's bitmap

Postby Marcelo Via Giglio » Wed Jun 29, 2011 1:11 am

Hola,

are there the way to define a dblclick codeblock to the xbrowse column's bitmap,
some thing like oBrw:aCols[1]:aBitmaps[1,1]:bLDblClick := {...} this not work because we don't have the bitmap object only the handle, or are there the possibility to have the object from handle?

saludos

Marcelo
Marcelo Via Giglio
 
Posts: 1064
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: DblClick on xbrowse column's bitmap

Postby nageswaragunupudi » Wed Jun 29, 2011 3:35 am

As of now, there is no inbuilt functionality.
However the programmer can implement this functionality on his own.

Column object provides double click functionality.
oCol:bLDClickData := { |nRow, nCol, nFlags, oCol| MyFunction( nRow, nCol, nFlags, oCol ) }

function MyFunction( nRow, nCol, nFlags, oCol )

if nCol - oCol:nDisplayPos <= <bitmapwidth >
<action for clicking on bitmap>
else
<not clicked on bitmap>
endif
return nil
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: DblClick on xbrowse column's bitmap

Postby Marcelo Via Giglio » Thu Jun 30, 2011 2:12 am

Thanks very much Mr. Rao

Regards

Marcelo
Marcelo Via Giglio
 
Posts: 1064
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 117 guests