bLDClickData

bLDClickData

Postby acwoo1 » Mon Feb 24, 2014 1:44 am

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

Re: bLDClickData

Postby FranciscoA » Mon Feb 24, 2014 2:39 am

Alternatively, you can use:
Code: Select all  Expand view
oBrw:aCols[ 6 ]:bRClicked := {|| ( glparavattickyn(oBrw, cDirect1) ) }
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: bLDClickData

Postby acwoo1 » Mon Feb 24, 2014 3:27 am

Thanks

I tried and get this error:

"Message not found" - TXBRWCOLUMN:_BRCLICKED

Regards

ACWoo
Using FWH1304+Harbour+bcc582
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: bLDClickData

Postby Richard Chidiak » Mon Feb 24, 2014 7:00 am

Try

oBrw:aCols[6]:bRClickData instead

Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: bLDClickData

Postby acwoo1 » Mon Feb 24, 2014 7:50 am

Thanks

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

Regards
ACWoo
Using FHW1304+Harbour+bcc582
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: bLDClickData

Postby Enrico Maria Giordano » Mon Feb 24, 2014 9:32 am

So try this other:

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


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8704
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: bLDClickData

Postby FranciscoA » Mon Feb 24, 2014 7:24 pm

Try this:
Code: Select all  Expand view
oBrw:bLclicked := {|| if(oBrw:nColSel = 6, Msginfo("It Works"),) }

Saludos.
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: bLDClickData

Postby ukoenig » Tue Feb 25, 2014 9: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


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: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: bLDClickData

Postby acwoo1 » Wed Feb 26, 2014 12:05 pm

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

Re: bLDClickData

Postby ukoenig » 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.

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: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: bLDClickData

Postby ukoenig » Thu Mar 06, 2014 2:19 pm

have a look at :

viewtopic.php?f=3&t=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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 17 guests