xBrowse Left double click

xBrowse Left double click

Postby Willy » Fri Jul 20, 2007 12:37 pm

I see this is defined

Code: Select all  Expand view
oBrw1:aCols[1]:blDClickData  := {|r,c,f,o| Msginfo("Left double click on column data " + o:cHeader, "TXBrowse power") }


Is it also possible to make ONE statement for a left double click on a row.
So I do not have add that line for every column

Thanks,

Willy
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Postby Armando » Fri Jul 20, 2007 1:11 pm

Willy:

Pls try this way:

oBrw1:blDblClick := { | nRow, nCol, nKey | YourFunction()}

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3209
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Postby Willy » Fri Jul 20, 2007 2:15 pm

HelloArmando,

I've tried this (I thought) and it did'nt work. Now it does. I must have forgotten someting simple.

Thanks,

Willy
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 41 guests