bLDClickData

Post Reply
acwoo1
Posts: 159
Joined: Tue Nov 10, 2009 10:56 am

bLDClickData

Post by acwoo1 »

Hi

Code: Select all

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
User avatar
FranciscoA
Posts: 1964
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: bLDClickData

Post by FranciscoA »

Alternatively, you can use:

Code: Select all

oBrw:aCols[ 6 ]:bRClicked := {|| ( glparavattickyn(oBrw, cDirect1) ) }
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh1204-MySql-TMySql
acwoo1
Posts: 159
Joined: Tue Nov 10, 2009 10:56 am

Re: bLDClickData

Post by acwoo1 »

Thanks

I tried and get this error:

"Message not found" - TXBRWCOLUMN:_BRCLICKED

Regards

ACWoo
Using FWH1304+Harbour+bcc582
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: bLDClickData

Post by Richard Chidiak »

Try

oBrw:aCols[6]:bRClickData instead

Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
acwoo1
Posts: 159
Joined: Tue Nov 10, 2009 10:56 am

Re: bLDClickData

Post by acwoo1 »

Thanks

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

Regards
ACWoo
Using FHW1304+Harbour+bcc582
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: bLDClickData

Post by Enrico Maria Giordano »

So try this other:

Code: Select all

oBrw:aCols[ 6 ]:bLClicked := {|| ( glparavattickyn(oBrw, cDirect1) ) }
EMG
User avatar
FranciscoA
Posts: 1964
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: bLDClickData

Post by FranciscoA »

Try this:

Code: Select all

 oBrw:bLclicked := {|| if(oBrw:nColSel = 6, Msginfo("It Works"),) }
Saludos.
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh1204-MySql-TMySql
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: bLDClickData

Post by ukoenig »

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


Image

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.
acwoo1
Posts: 159
Joined: Tue Nov 10, 2009 10:56 am

Re: bLDClickData

Post by acwoo1 »

Thanks

Code: Select all

   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
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: bLDClickData

Post by ukoenig »

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.

Image

some included options :

Cell-position-info

Image

Image-menu

Image

Memo-edit

Image

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

Image

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.
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: bLDClickData

Post by ukoenig »

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.
Post Reply