FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour bLDClickData
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
bLDClickData
Posted: Mon Feb 24, 2014 01:44 AM
Hi

Code (fw): Select all Collapse
oBrw:aCols[ 6 ]:bLDClickData := {|| ( glparavattickyn(oBrw, cDirect1) ) }


How do I get it work with left click instead of double click.

Regards
ACwoo
Using FWH1304+harbour+bcc582
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: bLDClickData
Posted: Mon Feb 24, 2014 02:39 AM
Alternatively, you can use:
Code (fw): Select all Collapse
oBrw:aCols[ 6 ]:bRClicked := {|| ( glparavattickyn(oBrw, cDirect1) ) }
Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: bLDClickData
Posted: Mon Feb 24, 2014 03:27 AM

Thanks

I tried and get this error:

"Message not found" - TXBRWCOLUMN:_BRCLICKED

Regards

ACWoo
Using FWH1304+Harbour+bcc582

Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: bLDClickData
Posted: Mon Feb 24, 2014 07:00 AM

Try

oBrw:aCols[6]:bRClickData instead

Hth

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: bLDClickData
Posted: Mon Feb 24, 2014 07:50 AM

Thanks

Now there is no error. But it does not fire the action.

Regards
ACWoo
Using FHW1304+Harbour+bcc582

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: bLDClickData
Posted: Mon Feb 24, 2014 09:32 AM
So try this other:

Code (fw): Select all Collapse
oBrw:aCols[ 6 ]:bLClicked := {|| ( glparavattickyn(oBrw, cDirect1) ) }


EMG
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: bLDClickData
Posted: Mon Feb 24, 2014 07:24 PM
Try this:
Code (fw): Select all Collapse
 oBrw:bLclicked := {|| if(oBrw:nColSel = 6, Msginfo("It Works"),) }

Saludos.
Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: bLDClickData
Posted: Tue Feb 25, 2014 09:33 AM
I use to detect the cell-position on mouseclick for actions :

oBrw:bLClicked := { || ( nRPos := oBrw:KeyNo(), ; // Row
nCPos := oBrw:SelectedCol():nCreationOrder, ; // Column
CLICK_ACTION( oBrw, nRPos, nCPos ) ) } // function




best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: bLDClickData
Posted: Wed Feb 26, 2014 12:05 PM
Thanks

Code (fw): Select all Collapse
   oLbx1:aCols[ 6 ]:nHeadStrAlign := AL_CENTER
   oLbx1:aCols[ 6 ]:addbmpfile( "Checkon.bmp" ) // from Disk
   oLbx1:aCols[ 6 ]:addbmpfile( "Checkoff.bmp" ) // from Disk
   oLbx1:aCols[ 6 ]:bBmpData := {|| IIF( ("gldata")->intaxc = "Y", 1, 2 ) }
   oLbx1:aCols[ 6]:bStrData   := { || "" }
  oLbx1:aCols[ 6]:bLClicked := { || ( nRPos := oBrw:KeyNo(), ; // Row
   nCPos := oBrw:SelectedCol():nCreationOrder, ; // Column 
   glparavattickyn(oLbx1, cDirect1) ) } // function


Still getting error when using bLClicked
If I use double click or right click, its OK

2. How do I put in tooltip for wbrowse.

3. How do I have alternate colour for rows.

Regards
ACWoo
Using FWH1304+Harbour+bcc582
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: bLDClickData
Posted: Wed Feb 26, 2014 12:16 PM
My new sample, I'm preparing for DOWNLOAD,
will answer ALL Your questions.
All kinds of xBrowse-graphic-solutions are included,
like the needed calculations, to adjust / resize different Images to cellsize with info-text on bottom ( Image2 ),
keeping the image-ratio.
included :
Network-functions
Dialog background-change
and much more ...

I still have to prepare the help.



some included options :

Cell-position-info



Image-menu



Memo-edit



Load image from file-manager with adjusted image to cellsize with bottom-title



Best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: bLDClickData
Posted: Thu Mar 06, 2014 02:19 PM

have a look at :

viewtopic.php?f=3t=28178

best regards
Uwe :lol:

&

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion