Search found 167 matches: lostfocus

Return to advanced search

Re: Cómo hacer un OVERRIDE en la clase TGET.PRG

... no se si sea una opcion extender la clase tget con un metodo init y ahi si se pude inicializar las variables. en cuanto a los metodos gotfoucs y lostfocus, no estoy muy claro que hacer ellos... #include "hbclass.ch"/*----------------------------------------------------------------------------*/PROCEDURE ...
by carlos vargas
Sat Jul 22, 2023 2:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cómo hacer un OVERRIDE en la clase TGET.PRG
Replies: 4
Views: 274

Re: GET and bLostFocus

... because in xbrowse I use array. I think the problem is when we point the mouse to another row of xbrowse: 1-xbrowse changes row 2-get executes lostfocus Antonio try this: Example 1This works 1-xbrowse on line 1 2-make a change of First 3-steps to the Last field at the same time the value of ...
by Maurizio
Fri Jul 14, 2023 4:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 526

Re: ButtonBar / Toolbar + Combobox ?

Jimmy wrote:hi,

i have a Problem when place "only" 1 x GET into ButtonBar

as it can not "change" to other Control it does not "lostFocus" -> no VALID -> no GOTO :(

any Idea for a Workaround :?:

Yes.
We need to have atleast 2 controls.
by nageswaragunupudi
Thu Apr 13, 2023 2:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ButtonBar / Toolbar + Combobox ?
Replies: 10
Views: 690

Re: ButtonBar / Toolbar + Combobox ?

hi,

i have a Problem when place "only" 1 x GET into ButtonBar

as it can not "change" to other Control it does not "lostFocus" -> no VALID -> no GOTO :(

any Idea for a Workaround :?:
by Jimmy
Wed Apr 12, 2023 7:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ButtonBar / Toolbar + Combobox ?
Replies: 10
Views: 690

Re: Multiline Edit : Insert always on.

hi, what about GotFocus() / LostFocus() (WHEN / VALID ) :?: i do "switch" Numlock this Way under HMG    bGotFocus := {|| lOldKey:= SetNumLock() }   bLostFocus := {|| SetNumLock( lOldKey ) } ...
by Jimmy
Sun Feb 12, 2023 5:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiline Edit : Insert always on.
Replies: 9
Views: 1166

Re: gets.. eval... lostfocus..

Usa hb_ascan() si existe te devuelve la posicion si no 0

if hb_ascan(...) > 0
msg( "existe" )
by xmanuel
Tue Dec 07, 2021 9:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: gets.. eval... lostfocus..
Replies: 4
Views: 483

Re: gets.. eval... lostfocus..

termino de intentarlo pero no da. Karina: suponte que tenes un array con estos valores 1, 4, 6, 7 y vos queres saber si un numero "x" existe en ese array, en xharbor yo hacia esto: if ( x in {1, 4, 6, 7 })    msginfo("existe")endif  pero a...
by goosfancito
Tue Dec 07, 2021 8:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: gets.. eval... lostfocus..
Replies: 4
Views: 483

Re: gets.. eval... lostfocus..

No recuerdo si in es aceptado en harbour,
talvez agregando la libreria xhb y hbcompat.ch
by carlos vargas
Tue Dec 07, 2021 1:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: gets.. eval... lostfocus..
Replies: 4
Views: 483

Re: gets.. eval... lostfocus..

"in" ???

Un ejemplo simples, para testes, hay?

Regards, saludos.
by karinha
Tue Dec 07, 2021 1:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: gets.. eval... lostfocus..
Replies: 4
Views: 483

gets.. eval... lostfocus..

Hola.

Tengo un array de oGets que necesito acumular los valores pero solo de ciertos ogets cuando pierde el foco:

aeval(::aGets, { |o, x| iif(x in {1,4,6}, ::sumar(),)})


ahora no puedo usar mas el "in" en harbourd...

Alguna ayuda?
gracias.
by goosfancito
Tue Dec 07, 2021 11:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: gets.. eval... lostfocus..
Replies: 4
Views: 483

Re: BUG COMBOBOX ?????

... @ 22, 130 GET aGet[4] VAR cDesc MEMO SIZE 270,30 PIXEL OF oDlg WHEN nTipoDato=2 UPDATE why I cannet edit the gets? and sometimes I have also oget:lostfocus error I don't Know why
by Silvio.Falconi
Tue Nov 03, 2020 11:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BUG COMBOBOX ?????
Replies: 12
Views: 1311

BUG COMBOBOX ?????

...  Args:     [   1] = N   1     [   2] = C   TestoStack Calls===========   Called from: .\source\classes\TGET.PRG => TGET:LOSTFOCUS( 2276 )   Called from: .\source\classes\CONTROL.PRG => TGET:KILLFOCUS( 1150 )   Called from: .\source\classes\CONTROL.PRG ...
by Silvio.Falconi
Sat Oct 31, 2020 8:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BUG COMBOBOX ?????
Replies: 12
Views: 1311

Re: MariaRowSet Field ERROR in TGET READONLY Control

...  local lRet := .t.   if ::lReadOnly      return lRet   endif   if ::oGet:BadDate  METHOD LostFocus() Present code: METHOD LostFocus( hCtlFocus ) CLASS TGet   ::Super:LostFocus( hCtlFocus )#ifdef UTFREVN  Modify ...
by nageswaragunupudi
Tue Dec 31, 2019 3:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaRowSet Field ERROR in TGET READONLY Control
Replies: 6
Views: 973

Suggestions for changes to the TRichEdit5 class

...           ::Paste()         endif      endif   #endifReturn nil 2) to improve typing speed after entering an image 2a) add a new method LostFocus CLASS TRichEdit5 FROM TControl....../*****/   METHOD LostFocus( hWndGetFocus ) INLINE ::PostMsg( FM_CHANGE ), ::Super:LostFocus( ...
by MaxP
Fri Nov 22, 2019 9:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Suggestions for changes to the TRichEdit5 class
Replies: 1
Views: 496

Re: Boton en BtnGet

... oGet2, pero tiene que darle un enter para salir del oGet2 y entrar al VALID, como hago para evitar ese enter ?, ya intente poner Libre:=.t. oGet2:LostFocus() pero no lo libera, alguna idea ?
by servicomver
Thu Jul 04, 2019 3:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Boton en BtnGet
Replies: 10
Views: 1469
Next

Return to advanced search