Search found 404 matches: keydown

Return to advanced search

Re: Definir font richedit5

Gracias por responder, lo llamaba así: RichEdit5( @xHecho, "Desvio", 9, 9, 30, 140 ) sin definir en el programa, lo que hice fue definir: Function RichEdit5( cText, cTitle, nTop, nLeft, nBottom, nRight ) local oFont, oDlg local hDLL local uTemp := If( ! Empty( cText ), cText, '' ) local lR...
by jpcavagnaro
Tue Dec 26, 2023 11:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Definir font richedit5
Replies: 3
Views: 603

Re: Inserting a string with CRLF into a single-line TGet.

1. Why write oGet1:bKeyDown :={ |k|If( k == ASC("V") .and. GetKeyState(VK_CONTROL ), Check CRL F(), ) } for each control if the method can be modified :KeyDown via Override ? With override, the change applies to all Gets ...
by nageswaragunupudi
Tue Dec 12, 2023 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 897

Re: Inserting a string with CRLF into a single-line TGet.

Thank you, Rao, a good solution ! Please explain such points: 1. Why write oGet1:bKeyDown :={ |k|If( k == ASC("V") .and. GetKeyState(VK_CONTROL ), Check CRL F(), ) } for each control if the method can be modified :KeyDown via Override ? 2. Will this function ...
by Natter
Tue Dec 12, 2023 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 897

error TXBROWSE:CARGOS

Hola gente, en la versión 23.07 me da este error, cosa que en la 22.12 no. Me falta agregar alguna librería? Este es parte del código: *----------------- DEFINE WINDOW oWndChild MDICHILD OF oWnd FROM 0, 0 TO 24, 79TITLE "Carga Informe de Auditoría " font oFont11 DEFINE DIALOG princfac RESO...
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 282

Re: need Help with oBro:bSeek

... the entered keys are used to filter the data instead of seeking. PS: Please do not disturb the internal behavior or xbrowse by using method keydown.
by nageswaragunupudi
Wed Aug 16, 2023 4:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: need Help with oBro:bSeek
Replies: 3
Views: 215

Re: XBROWSE Column Question

SeekNext is implemented in FWH2304 which is triggered by F3.
It is not there in previous versions.

This is triggered when oBrw window receives WM_KEYDOWN message with F3 key.
(i.e., it is implemented in oBrw:KeyDown() method)
by nageswaragunupudi
Wed May 10, 2023 7:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 877

Re: XBROWSE : Seek(), OrdwildSeek() and "increment"

... through the code of function XBrowse(...) in \fwh\source\function\xbrowser.prg Being a Windows application, INKEY() is not used, but the methods KeyDown() and KeyChar() are used ( handling WM_KEYDOWN messages) There is not input box and when the browse has focus, xbrowse responds to the keys ...
by nageswaragunupudi
Sat May 06, 2023 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Seek(), OrdwildSeek() and "increment"
Replies: 3
Views: 278

Ayuda por favor con folder y listbox

Hola, necesito hacer una pantalla con 4 folders de las cuales 3 tienen listbox, el problrma que tengo es que no muestran los datos, muestra un solo registro, a persar de que los datos se graban bien en las dbf. DEFINE WINDOW oWndChild MDICHILD OF oWnd FROM 0, 0 TO 24, 79TITLE "Carga Informe de ...
by jpcavagnaro
Wed Mar 29, 2023 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda por favor con folder y listbox
Replies: 1
Views: 238

Re: how to "activate" Spacebar ?

Dear Jimmy,

Please try with:

oControl:PostMsg( WM_KEYDOWN, 32 )

or

oControl:PostMsg( WM_CHAR, 32 )
by Antonio Linares
Sun Jan 15, 2023 7:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to "activate" Spacebar ?
Replies: 1
Views: 152

FW_SetUnicode(.T.) "block" Notify Event LVN_GETDISPINFO

hi, i want to use LVN_GETDISPINFO Notify Event but it does not work :shock: other Notify Event like LVN_KEYDOWN or LVN_ITEMCHANGED does work ... hm now i found out that FW_SetUnicode(.T.) made the "Problem" ... is there a Workaround :?: p.s. all LVN_* are Notify Event from "Listview&q...
by Jimmy
Thu Jan 05, 2023 8:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SetUnicode(.T.) "block" Notify Event LVN_GETDISPINFO
Replies: 0
Views: 154

Re: Mover con las flechas solo a columnas EDIT en xBrowse

... había leido lo de las FLECHAS :)))) Realmente mi respuesta es para despues de editar. Supongo que pare conseguir eso deberías modificar el METHOD KeyDown(), en la clase TXBROWSE. Desconozco si en versiones posteriores a la que yo tengo existe la posibilidad de un codeblock para el movimiento. ...
by JESUS MARIN
Sat Nov 19, 2022 9:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mover con las flechas solo a columnas EDIT en xBrowse
Replies: 5
Views: 323

Re: bKeyDown and interactive "close"

Use bKeyDown.
You can handle VK_RETURN and if you handle VK_KEYDOWN in your codeblock, return 0 else return NIL.
by nageswaragunupudi
Fri Nov 18, 2022 9:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bKeyDown and interactive "close"
Replies: 8
Views: 567

Re: LISTBOX using ENTER ?

hi Antoni,

aha :idea:

so i have use wrong Callback Slot as WM_KEYDOWN message does not support ALT Key ( Bit 29 )
by Jimmy
Fri Nov 11, 2022 9:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: LISTBOX using ENTER ?
Replies: 4
Views: 300

"Pause" for Notify Event ?

hi, for TGrid() i use Method Notify to get LVN_KEYDOWN when "Key" is press now when "load" a big Folder and User press ENTER again it crash ... :roll: so i want to "block" Notify ... but how ... i can use a Member (DATA) like this  IF ::lAllowed     DO CASE        CASE ...
by Jimmy
Tue Nov 08, 2022 9:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "Pause" for Notify Event ?
Replies: 4
Views: 217
Next

Return to advanced search