Page 1 of 1

bLDClickData

PostPosted: Mon Feb 24, 2014 1:44 am
by acwoo1
Hi

Code: Select all  Expand view
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

Re: bLDClickData

PostPosted: Mon Feb 24, 2014 2:39 am
by FranciscoA
Alternatively, you can use:
Code: Select all  Expand view
oBrw:aCols[ 6 ]:bRClicked := {|| ( glparavattickyn(oBrw, cDirect1) ) }

Re: bLDClickData

PostPosted: Mon Feb 24, 2014 3:27 am
by acwoo1
Thanks

I tried and get this error:

"Message not found" - TXBRWCOLUMN:_BRCLICKED

Regards

ACWoo
Using FWH1304+Harbour+bcc582

Re: bLDClickData

PostPosted: Mon Feb 24, 2014 7:00 am
by Richard Chidiak
Try

oBrw:aCols[6]:bRClickData instead

Hth

Richard

Re: bLDClickData

PostPosted: Mon Feb 24, 2014 7:50 am
by acwoo1
Thanks

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

Regards
ACWoo
Using FHW1304+Harbour+bcc582

Re: bLDClickData

PostPosted: Mon Feb 24, 2014 9:32 am
by Enrico Maria Giordano
So try this other:

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


EMG

Re: bLDClickData

PostPosted: Mon Feb 24, 2014 7:24 pm
by FranciscoA
Try this:
Code: Select all  Expand view
oBrw:bLclicked := {|| if(oBrw:nColSel = 6, Msginfo("It Works"),) }

Saludos.

Re: bLDClickData

PostPosted: Tue Feb 25, 2014 9:33 am
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:

Re: bLDClickData

PostPosted: Wed Feb 26, 2014 12:05 pm
by acwoo1
Thanks

Code: Select all  Expand view
  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

Re: bLDClickData

PostPosted: Wed Feb 26, 2014 12:16 pm
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:

Re: bLDClickData

PostPosted: Thu Mar 06, 2014 2:19 pm
by ukoenig
have a look at :

viewtopic.php?f=3&t=28178

best regards
Uwe :lol: