Search found 242 matches: blclicked

Return to advanced search

Re: xbrowse problem with :bLClicked

... 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, ...
by Silvio.Falconi
Mon Apr 22, 2024 7:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 125

Re: xbrowse problem with :bLClicked

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

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 al...
by Silvio.Falconi
Mon Apr 22, 2024 7:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 125

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...
by Antonio Linares
Mon Apr 22, 2024 5:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 125

Re: xbrowse problem with :bLClicked

... your 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, ...
by Antonio Linares
Mon Apr 22, 2024 5:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 125

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, ...
by Silvio.Falconi
Sun Apr 21, 2024 7:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 125

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 oliveiros junior
Tue Oct 17, 2023 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser click
Replies: 16
Views: 979

error TXBROWSE:CARGOS

... 1, x, 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() ) ...
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 291

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 ...
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: 1123

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
Tue Aug 22, 2023 11:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Inicie repositorio prueba e Tree (LO LOGRE)
Replies: 22
Views: 1123

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
Mon Aug 07, 2023 5:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Obtener coordenadas con el mouse.
Replies: 2
Views: 190

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,; ...
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: 504

Re: problem wth SetMultiSelectCol

... run ok Your solution Is no good because It go to conflict to doubleclick call edit function Oy Mr. Nageswarao can resolve it Dear Silvio, DATA bLClicked is of TXBROWSE CLASS You must calculate the column in which the mouse click occurred Try with this code // Remove             //WITH OBJECT ...
by Silvio.Falconi
Sat Apr 29, 2023 9:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem wth SetMultiSelectCol
Replies: 11
Views: 708

Re: problem wth SetMultiSelectCol

... run ok Your solution Is no good because It go to conflict to doubleclick call edit function Oy Mr. Nageswarao can resolve it Dear Silvio, DATA bLClicked is of TXBROWSE CLASS You must calculate the column in which the mouse click occurred Try with this code // Remove             //WITH OBJECT ...
by cnavarro
Sat Apr 29, 2023 8:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem wth SetMultiSelectCol
Replies: 11
Views: 708

problem wth SetMultiSelectCol

... function btnbar() ( change the buttonbar) and refreshtitle() ( change dialog title) I tried with WITH OBJECT  oBrw:aCols[1]               :bLClicked := { |r,c,f,oBrw| If( ( f := AScan( oBrw:aSelected, oBrw:BookMark ) ) == 0, ;                     (AAdd( ...
by Silvio.Falconi
Sat Apr 29, 2023 1:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem wth SetMultiSelectCol
Replies: 11
Views: 708
Next

Return to advanced search