Search found 36 matches: bpostkey

Return to advanced search

Re: GET Bug!!

Please test this code: I use now PICTURE "@R 99.99.99.99.99" and you can see that is ignored!! And also the oGet:bPostkey is not executed! function abnormal(oWnd)local oDlg, oTimer , oSay , cSay := " " , oGet , cGet := space(10) , cBuffer    DEFINE ...
by byte-one
Thu Jan 21, 2016 5:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET Bug!!
Replies: 4
Views: 731

GET Bug!!

Now i say on new FWH that all gets ignore the picture (Only on REDEFINE?)! Please try "@!". The letters are not uppercase!
Also the oGet:bPostKey not functioning. I linked in a older tget.prg and all is ok!
Thats strange!
by byte-one
Thu Jan 21, 2016 4:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET Bug!!
Replies: 4
Views: 731

Re: simulate a read

... :={|o| ! Empty(o:varGet()) } but make error the user can use the xbrowse ( the obrw is on up) or the other buttons allready tried with bPostKey
by Silvio.Falconi
Fri Nov 14, 2014 8:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: simulate a read
Replies: 10
Views: 1448

Error compiling tGet

... \ SWTget.prg (446) Warning W0004 codeblock parameter: 'X' declared but not used in function: 'SWTGET_REDEFINE' The error is on the following line: bPostKey :: = {| x, y | y} This error is occurring because I am compiling with the compiler directive /w3 and /es2, as in all my codes. The question ...
by Eroni
Mon May 27, 2013 9:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error compiling tGet
Replies: 1
Views: 576

Re: autocomplete in get

... by RAMESH BABU P on 20-06-2011 FUNCTION AddNewItem(aItems,cText) was added by RAMESH BABU P on 20-06-2011 It is not a good idea to use ::Cargo, ::bPostKey, or ::bLostFocus in the class since these then cannot be used by the programmer. It would be better to subclass the needed methods and add ...
by Maurizio
Thu Jun 23, 2011 4:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: autocomplete in get
Replies: 15
Views: 9194

Escape or control key in a tGet

... user to be able to press the Escape key or even any non numeric key to leave the loop. I looked at the help files and found the following methods: bPostKey (codeblock) KeyChar (codeblock I suppose) Handlevent (???) The problem is that the doc doesn't give any description on how to use them. Therefore ...
by Raymond Fischbach
Mon Sep 20, 2010 8:13 pm
 
Forum: FiveWin for Pocket PC
Topic: Escape or control key in a tGet
Replies: 3
Views: 775

Re: How to type Norway Language (Norwegian) in FWH?

... RESOURCE "Test" REDEFINE GET oFind VAR cFind1 ID 101 OF oDlg FONT oNormal REDEFINE GET oFind VAR cFind ID 102 OF oDlg FONT oNorway oFind:bPostKey := { |x,y| if( empty( y ), oBtn:Disable(), oBtn:Enable() ) } REDEFINE RADIO nDir ID 103, 104 OF oDlg REDEFINE CHECKBOX lCase ID 105 OF oDlg ...
by ukoenig
Mon Sep 13, 2010 12:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to type Norway Language (Norwegian) in FWH?
Replies: 14
Views: 4904

Re: oGet:Cadena de caracteres

... local oDlg, oGet, oBtn local cText := space( 40 ) local nKey:=LastKey() DEFINE DIALOG oDlg FROM 2,2 TO 10,50 @1,2 GET oGet VAR cText OF oDlg oGet:bPostKey := { || MsgInfo( Left(oGet:cText,oGet:nPos-1)+CHR(nKey) ) } @2,2 BUTTON oBtn PROMPT "Saliendo" OF oDlg ACTION oDlg:End() ACTIVATE DIALOG oDlg ...
by FranciscoA
Tue Sep 09, 2008 6:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: oGet:Cadena de caracteres
Replies: 3
Views: 686

Ok, gracias Antonio por la aclaración. Entonces seguire usando bChange, lo del paste no lo tenia en cuenta, razon de más para usar bChange. bPostKey (A codeblock that is evaluated after a keystroke and the buffer has changed. ) Pensaba que se evaluaba cuando se pulsaba cualquier tecla que repercutiera ...
by Biel EA6DD
Thu Aug 28, 2008 8:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: tGet cuando usar bChange y cuando bPpostKey
Replies: 2
Views: 496

Biel,

Basicamente la diferencia es que bChange se evalúa cada vez que cambia el contenido del GET, sea por la razón que sea (tecla pulsada, paste, cut, etc.) y bPostKey solo se evalua tras pulsar una tecla (contenida entre 32 y 256).
by Antonio Linares
Thu Aug 28, 2008 8:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: tGet cuando usar bChange y cuando bPpostKey
Replies: 2
Views: 496

tGet cuando usar bChange y cuando bPpostKey

... funcion cada vez que varian el contenido de un get. En una primera version lo hice usando bChange, pero dejo de funcionar con lo que pase a usar bPostKey, pero ahora veo que otra vez ha dejado de funcionarme. Me funciona para caulquier caso menos cuando borran el contenido con VK_BACK(puesto ...
by Biel EA6DD
Thu Aug 28, 2008 7:54 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: tGet cuando usar bChange y cuando bPpostKey
Replies: 2
Views: 496

FWPPC

... estaria bien el ir manteniendo compatibilidad entre las mismas clases y distintas plataformas (FWPPC <-->FWH ). Por ejemplo: incluir bPostKey en tGet de FWPPC, o la nueva funcion SetDialogEsc en tDialog, etc. Estos pequeños detalles permitirian mejor portabilidad del codigo, y poder ...
by Biel EA6DD
Fri Aug 22, 2008 10:24 am
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: FWPPC
Replies: 1
Views: 812

:bPostKey y :Assing() en TGET.

Buenas, Estoy actualizando a FWH 8.02 desde la 7.04, y me encuentro que antes cuando se lanzaba :bPostKey el :oGet:Buffer del GET estaba actualizado y ahora debo aplicar antes :Assing(). Además :bPostKey se lanzaba desde el método :KeyDown para las teclas VK_DELETE y VK_BACK ...
by FiveWiDi
Wed Mar 12, 2008 10:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: :bPostKey y :Assing() en TGET.
Replies: 2
Views: 724

Horacio,

Creo que FWH 2.7 aun no tiene el bPostKey, intenta cambiar bPostKey por bChange en TAutoGet.prg

Saludos de Brasil!
Maurilio
by Maurilio Viana
Tue Jan 22, 2008 10:46 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: clase autoget
Replies: 4
Views: 1072

tAutoGet de Maurilio Viana

... ::bChange, lReadOnly, lPassword, lNoBorder, nHelpId,; lSpinner, bUp , bDown , bMin , bMax ) if(aItems == Nil, aItems := {}, ) ::aItems := aItems ::bPostKey := {|oGet, cBuffer| ::AutoFill() } return( Self ) //----------------------------------------------------------------------------------------- ...
by jose_murugosa
Sat Jan 19, 2008 1:11 am
 
Forum: Utilities / Utilidades
Topic: tAutoGet de Maurilio Viana
Replies: 0
Views: 1394
Next

Return to advanced search

cron