Search found 22 matches: blclicked

Searched query: blclicked

by vinhesoft
Thu Aug 22, 2024 8:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH_2407 oSay does not assume nHeight
Replies: 32
Views: 6260

Re: FWH_2407 oSay does not assume nHeight

... F., .T.,,, 015, 007, .F., .F., .F., .F., .F., .F., .F., "oTest2",, .F.,,, ) ; oTest2:SetSize( 015, 007 )
WQout( { oTest2:nHeight } )

oWnd:Activate(, oWnd:bLClicked, oWnd:bRClicked, oWnd:bMoved, oWnd:bResized, oWnd:bPainted, oWnd:bKeyDown, oWnd:bInit,,,,,,,,,,, oWnd:bLButtonUp, .F. )

return NIL
by Natter
Mon Jun 03, 2024 9:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: single click on a column
Replies: 7
Views: 557

Re: single click on a column

oBrw:bLClicked doesn't give errors, but it doesn't do anything either
by Antonio Linares
Mon Jun 03, 2024 8:54 am
Forum: FiveWin for Harbour/xHarbour
Topic: single click on a column
Replies: 7
Views: 557

Re: single click on a column

Have you tried to use oBrw:bLClicked ?
by Silvio.Falconi
Mon Apr 22, 2024 7:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 630

Re: xbrowse problem with :bLClicked

... 10,-10 PIXEL OF oDlg ;
DATASOURCE oDbf COLUMNS aCols ;
AUTOSORT FONT oFont;
NOBORDER CELL LINES

WITH OBJECT oBrw
:SetMultiSelectCol()
:bLClicked := { |r,c,f,oBrw| if( oBrw:Mousecolpos( c ) == 1, ;
( if( ( f := AScan( oBrw:aSelected, oBrw:BookMark ) ) == 0, ;
( AAdd( oBrw:aSelected, oBrw ...
by Antonio Linares
Mon Apr 22, 2024 7:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 630

Re: xbrowse problem with :bLClicked

You are right that AI still fails and make mistakes, but sometimes it offers you very useful hints :-)
by Silvio.Falconi
Mon Apr 22, 2024 7:22 am
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 630

Re: xbrowse problem with :bLClicked

> what is "KL" ?

In the code snippet I provided, "KL" is a keyboard shortcut that is set using the SetKey() function. It's a way to delay the execution of the Edit_Comuni() function.

When you set a keyboard shortcut using SetKey(), Harbour will wait for the user to release all keys and then ...
by Antonio Linares
Mon Apr 22, 2024 5:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 630

Re: xbrowse problem with :bLClicked

> what is "KL" ?

In the code snippet I provided, "KL" is a keyboard shortcut that is set using the SetKey() function. It's a way to delay the execution of the Edit_Comuni() function.

When you set a keyboard shortcut using SetKey(), Harbour will wait for the user to release all keys and then ...
by Antonio Linares
Mon Apr 22, 2024 5:09 am
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 630

Re: xbrowse problem with :bLClicked

... xbrowse, specifically when using the spacebar to toggle selection. Let's break it down and see if we can fix this.

First, let's analyze the `:bLClicked` block:


:bLClicked := { |r,c,f,oBrw|
if( oBrw:Mousecolpos( c ) == 1,
( if( ( f := AScan( oBrw:aSelected, oBrw:BookMark ) ) == 0,
( AAdd ...
by Silvio.Falconi
Sun Apr 21, 2024 7:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 630

xbrowse problem with :bLClicked

i have a xbrowse with :SetMultiSelectCol()

with bRClicked I associated a menupopup

with :bLClicked I click on a row and select it I made the same with :bKeyChar ( space button)



:bLClicked := { |r,c,f,oBrw| if( oBrw:Mousecolpos( c ) == 1, ;
( if( ( f := AScan( oBrw:aSelected, oBrw:BookMark ...
by oliveiros junior
Tue Oct 17, 2023 4:58 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser click
Replies: 16
Views: 2078

Re: xBrowser click

Mr Rao,

I need to treat each xBrowser cell as if it were a button. Simply click on it and it will perform an action.

The bLClicked command, it seems, treats the entire line.

Att.,

Oliveiros Junior
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 717

error TXBROWSE:CARGOS

... k, lFirstEdit ) } // PostEdit(o,x,k) }
:nEditType := EDIT_GET
END

If !Empty( oRApertur:aCols ); oRApertur:Cargos := nil; endif


oRApertur:bLClicked := { || ( dbselectarea( "RApertur" ), ofld1:aDialogs[ 2 ]:update(), oRApertur:gotop(), oRApertur:update(), oRApertur:refresh() ) }
oRApertur ...
by goosfancito
Tue Aug 22, 2023 1:00 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Inicie repositorio prueba e Tree (LO LOGRE)
Replies: 22
Views: 2342

Re: Inicie repositorio prueba e Tree

Comenta esta línea:

// oTree:blclicked := { | nRow, nCol, nKeyFlags | oRama:= ::seleccionarRama( oTree, nRow, nCol, nKeyFlags ) }

No puedes interferir el funcionamiento por defecto del botón izquierdo en el árbol

y en este caso que necesito que al hacer un click me seleccione una rama como lo ...
by Antonio Linares
Tue Aug 22, 2023 11:18 am
Forum: FiveWin para Harbour/xHarbour
Topic: Inicie repositorio prueba e Tree (LO LOGRE)
Replies: 22
Views: 2342

Re: Inicie repositorio prueba e Tree

Comenta esta línea:

// oTree:blclicked := { | nRow, nCol, nKeyFlags | oRama:= ::seleccionarRama( oTree, nRow, nCol, nKeyFlags ) }

No puedes interferir el funcionamiento por defecto del botón izquierdo en el árbol
by Antonio Linares
Mon Aug 07, 2023 5:49 am
Forum: FiveWin para Harbour/xHarbour
Topic: Obtener coordenadas con el mouse.
Replies: 2
Views: 293

Re: Obtener coordenadas con el mouse.

Estimado José,

oDlg:bLClicked = { | nRow, nCol | MsgInfo( nRow, nCol ) }
oDlg:bRClicked = { | nRow, nCol | MsgInfo( nRow, nCol ) }
by Antonio Linares
Tue May 23, 2023 4:13 am
Forum: FiveWin para Harbour/xHarbour
Topic: Recortar foto tomada con la camara web
Replies: 7
Views: 860

Re: Recortar foto tomada con la camara web

Leandro,

Añade estas líneas al ejemplo photos.prg:

local oPen, nX1, nY1, nX2, nY2

DEFINE PEN oPen COLOR CLR_YELLOW WIDTH 3
...
oImg:bLClicked = { | nRow, nCol | If( nX1 == nil, ( nX1 := nRow, nY1 := nCol ), ( nX1 := nil, nX2 := nil ) ) }

oImg:bMMoved = { | nRow, nCol, hDC | If( nX1 != nil ...