... click event of the control.
- **`LDblClick(nRow, nCol, nFlags)`**: Handles the double-click event of the control.
- **`LButtonDown(nRow, nCol, nKeyFlags, lTouch)`**: Handles the left mouse button down event.
- **`LButtonUp(nRow, nCol, nKeyFlags)`**: Handles the left mouse button up event ...
Search found 86 matches: nkeyflags
Searched query: nkeyflags
- Sat Jan 18, 2025 10:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4826
- Fri Jan 17, 2025 11:11 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4826
Re: Using new Class TDeepSeek for documenting
... to modify.
33. **`MouseMove()`**:
- **Description**: Handles mouse move events.
- **Parameters**:
- `nRow`, `nCol`: Mouse coordinates.
- `nKeyFlags`: Key flags.
34. **`Open()`**:
- **Description**: Opens the drop-down list of the combo box.
35. **`Refresh()`**:
- **Description ...
33. **`MouseMove()`**:
- **Description**: Handles mouse move events.
- **Parameters**:
- `nRow`, `nCol`: Mouse coordinates.
- `nKeyFlags`: Key flags.
34. **`Open()`**:
- **Description**: Opens the drop-down list of the combo box.
35. **`Refresh()`**:
- **Description ...
- Fri Jan 17, 2025 11:07 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4826
Re: Using new Class TDeepSeek for documenting
... the checkbox control within a dialog.
- **Parameters**:
- `hDlg`: Handle to the dialog.
- **Returns**: `nil`.
11. **`MouseMove( nRow, nCol, nKeyFlags )`**
- **Description**: Handles mouse movement over the checkbox.
- **Parameters**:
- `nRow`, `nCol`: Mouse position.
- `nKeyFlags`: Key ...
- **Parameters**:
- `hDlg`: Handle to the dialog.
- **Returns**: `nil`.
11. **`MouseMove( nRow, nCol, nKeyFlags )`**
- **Description**: Handles mouse movement over the checkbox.
- **Parameters**:
- `nRow`, `nCol`: Mouse position.
- `nKeyFlags`: Key ...
- Fri Jan 17, 2025 11:00 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4826
Re: Using new Class TDeepSeek for documenting
... Handles key down events and refreshes the button.
- **Parameters:**
- `nKey`: Key code.
- `nFlags`: Key flags.
6. **`LButtonDown( nRow, nCol, nKeyFlags, lTouch )`**
- **Description:** Handles left mouse button down events and refreshes the button.
- **Parameters:**
- `nRow`, `nCol`: Mouse ...
- **Parameters:**
- `nKey`: Key code.
- `nFlags`: Key flags.
6. **`LButtonDown( nRow, nCol, nKeyFlags, lTouch )`**
- **Description:** Handles left mouse button down events and refreshes the button.
- **Parameters:**
- `nRow`, `nCol`: Mouse ...
- Fri Jan 17, 2025 10:54 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4826
Re: Using new Class TDeepSeek for documenting
... that it is the default button.
- **Parameters:**
- `hCtlLost`: The handle of the control that lost focus.
8. **`LButtonUp( nRow, nCol, nKeyFlags )`**
- **Description:** Handles the left mouse button up event. It triggers the `OnClick` event if it is defined.
- **Parameters:**
- `nRow ...
- **Parameters:**
- `hCtlLost`: The handle of the control that lost focus.
8. **`LButtonUp( nRow, nCol, nKeyFlags )`**
- **Description:** Handles the left mouse button up event. It triggers the `OnClick` event if it is defined.
- **Parameters:**
- `nRow ...
- Fri Jan 17, 2025 10:37 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4826
Re: Using new Class TDeepSeek for documenting
... MouseMove()`**:
- **Description**: Handles mouse move events.
- **Parameters**:
- `nRow`: Row position.
- `nCol`: Column position.
- `nKeyFlags`: Key flags.
25. **`FillArea()`**:
- **Description**: Fills a specific area of the button bar.
- **Parameters**:
- `aRect`: Rectangle ...
- **Description**: Handles mouse move events.
- **Parameters**:
- `nRow`: Row position.
- `nCol`: Column position.
- `nKeyFlags`: Key flags.
25. **`FillArea()`**:
- **Description**: Fills a specific area of the button bar.
- **Parameters**:
- `aRect`: Rectangle ...
- Fri Mar 15, 2024 2:11 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Problemas con comportamiento de XBrowse.
- Replies: 1
- Views: 825
Problemas con comportamiento de XBrowse.
... color del focus
oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)}
oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|EditNeteo(.f.),oBrw:SetFocus(),oBrw:Refresh(.t.)}
oBrw:CreateFromCode()
cGrad := PadR( GradStr( BrwGrad( oBrw ) ), 128 )
Activate Dialog ...
oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)}
oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|EditNeteo(.f.),oBrw:SetFocus(),oBrw:Refresh(.t.)}
oBrw:CreateFromCode()
cGrad := PadR( GradStr( BrwGrad( oBrw ) ), 128 )
Activate Dialog ...
- Mon Nov 20, 2023 2:06 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: CONSULTA XBROWSE
- Replies: 2
- Views: 695
Re: CONSULTA XBROWSE
... For this we need to make some change in the xbrowse.prg:
Change:
Please locate these lines of code at the end of METHOD LDblClick( nRow, nCol, nKeyFlags )
if nColPos != 0 .and. nRowPos != 0
return ::Super:LDblClick( nRow, nCol, nKeyFlags )
Endif
return 0
Please make the following change ...
Change:
Please locate these lines of code at the end of METHOD LDblClick( nRow, nCol, nKeyFlags )
if nColPos != 0 .and. nRowPos != 0
return ::Super:LDblClick( nRow, nCol, nKeyFlags )
Endif
return 0
Please make the following change ...
- Tue Aug 22, 2023 1:00 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Inicie repositorio prueba e Tree (LO LOGRE)
- Replies: 22
- Views: 3060
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 ...
// 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 ...
- Tue Aug 22, 2023 11:18 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Inicie repositorio prueba e Tree (LO LOGRE)
- Replies: 22
- Views: 3060
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
// 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
- Wed Aug 09, 2023 7:14 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Como borro una rama de un arbol?
- Replies: 1
- Views: 237
Como borro una rama de un arbol?
Hola.
Como elimino una rama de un arbol?
Mi arbol se llama ::oTree, lo que hice es posicionarme en la rama que quiero
oItem := ::oTree:hitTest( nRow, nCol, nKeyFlags )
y me imagine que haciendo:
oItem:delete()
se borraria, pero no.
como lo tengo que hacer?
gracias.
Como elimino una rama de un arbol?
Mi arbol se llama ::oTree, lo que hice es posicionarme en la rama que quiero
oItem := ::oTree:hitTest( nRow, nCol, nKeyFlags )
y me imagine que haciendo:
oItem:delete()
se borraria, pero no.
como lo tengo que hacer?
gracias.
- Tue Aug 01, 2023 1:51 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Consulta sobre centrar un dialogo.
- Replies: 9
- Views: 1374
Re: Consulta sobre centrar un dialogo.
... 2 ]:nWidth := 20
oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)}
oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|/*EditCorrijo(.f.),*/oBrw:Refresh()}
oBrw:nHeadStrAligns := AL_CENTER // alinea al centro las cabeceras de columnas
oBrw:CreateFromCode ...
oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)}
oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|/*EditCorrijo(.f.),*/oBrw:Refresh()}
oBrw:nHeadStrAligns := AL_CENTER // alinea al centro las cabeceras de columnas
oBrw:CreateFromCode ...
- Thu Dec 15, 2022 8:49 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Solicito ayuda para relacionar 2 o mas dbf
- Replies: 1
- Views: 500
Solicito ayuda para relacionar 2 o mas dbf
... lHScroll := .F.
oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)}
oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|oBrw:Refresh()}
oBrw:CreateFromCode()
cGrad := PadR( GradStr( BrwGrad( oBrw ) ), 128 )
// segundo xbrowse
@ 161, 3 GROUP oGrp TO 285, 507 ...
oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)}
oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|oBrw:Refresh()}
oBrw:CreateFromCode()
cGrad := PadR( GradStr( BrwGrad( oBrw ) ), 128 )
// segundo xbrowse
@ 161, 3 GROUP oGrp TO 285, 507 ...
- Thu Oct 27, 2022 5:37 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: right-click Menu for Control
- Replies: 5
- Views: 513
Re: right-click Menu for Control
now you say i "just" need to "override"
Code:
METHOD RButtonDown ( nRow, nCol, nKeyFlags ) CLASS YourClass
so i need not to handle WM_RBUTTONDOWN :?:
Yes.
Wherever the parents have standard methods, you override them in your class and if needed return calling Super method.
Use HandleEvent very ...
- Thu Mar 10, 2022 10:36 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Error que no entiendo por que sucede.
- Replies: 8
- Views: 1361
Error que no entiendo por que sucede.
... nMarqueeStyle := 4
oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)}
oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|EditoCons(.f.),oBrw:Refresh()}
oBrw:CreateFromCode()
cGrad := PadR( GradStr( BrwGrad( oBrw ) ), 128 )
ACTIVATE DIALOG oDlg CENTERED on INIT ...
oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)}
oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|EditoCons(.f.),oBrw:Refresh()}
oBrw:CreateFromCode()
cGrad := PadR( GradStr( BrwGrad( oBrw ) ), 128 )
ACTIVATE DIALOG oDlg CENTERED on INIT ...