Search found 277 matches: blostfocus

Return to advanced search

Re: I'm not asking for the moon... Resolved!!

Resolved! Otto, no strtran !!! Cesar, No bgotfocus and blostfocus Jimmy, No "@9" picture Resolved !!! Only in my initial test was the statement missing: FWNumFormat( "E", .t. ) and the picture to put is "@E ###.##" Now ...
by Silvio.Falconi
Fri Jan 19, 2024 7:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2157

Re: GET and bLostFocus

Antonio, it's not a problem of INDEX 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 a...
by Maurizio
Fri Jul 14, 2023 4:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 527

Re: GET and bLostFocus

If we enter a name in the get and not use any key, but simply point the mouse to a row on xbrowse, the input from the get is not validated or even known, so the change is doing it with the original data in the get. Aslong we don't enter the get the the get is keeping the original data. I see the pro...
by Marc Venken
Thu Jul 13, 2023 8:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 527

Re: GET and bLostFocus

...  @ 10,10 SAY 'Firs' OF oDlg update PIXEL   @ 10,60 get oGet Var cFirst OF oDlg update PIXEL  SIZE 100,15   oGet:bLostFocus :=<|o|      Local n :=  oBrw:nArrayAt      Local uOldVal := oGet:cText      aData[n,1] ...
by karinha
Thu Jul 13, 2023 4:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 527

Re: GET and bLostFocus

Hello, I think I explained it wrong. If I change the focus from the FIRST field to the LAST field, the data is changed because oBrw:nArrayAt is still correct. On the other hand, if I change the focus by clicking on another row in xbrowse (not the one i am reading in FIRST/LAST),+ the data is not cha...
by Maurizio
Thu Jul 13, 2023 3:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 527

Re: GET and bLostFocus

Dear Maurizio,

You example works fine here

> But when I switch from First to browse the update is on the wrong row because the pointer has already changed

Are you using an INDEX ? Here the xbrowse pointer does not change
by Antonio Linares
Thu Jul 13, 2023 5:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 527

Re: GET and bLostFocus

indeed. Not working what you ask. Sorry
by Marc Venken
Wed Jul 12, 2023 2:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 527

Re: GET and bLostFocus

#include "FiveWin.Ch"REQUEST DBFCDX//----------------------------------------------------------------------------//function main()   local  aData, oDlg, oBrw,  cFirst := '',cLast :='' ,oGet,oGet1   USE CUSTOMER NEW VIA "DBFCDX"   a...
by Marc Venken
Wed Jul 12, 2023 2:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 527

Re: GET and bLostFocus

Thanks Marc
but it does not work :(
Maurizo
by Maurizio
Wed Jul 12, 2023 1:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 527

Re: GET and bLostFocus

I tried this and seems to work

@ 10,60 get oGet Var cFirst OF oDlg update PIXEL SIZE 100,15;
valid( (oBrw:first:varput(cFirst),.t.,oBrw:refresh()),.t.)

oGet:bLostFocus :=<|o| end rest is not needed.
....
by Marc Venken
Wed Jul 12, 2023 1:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 527

GET and bLostFocus

... SIZE 800,400 PIXEL     @ 10,10  SAY 'Firs'   OF oDlg update PIXEL    @ 10,60  get oGet Var cFirst   OF oDlg update PIXEL  SIZE 100,15     oGet:bLostFocus :=<|o|             Local n :=  oBrw:nArrayAt            Local uOldVal := oGet:cText            aData[n,1] := uOldVal          ...
by Maurizio
Wed Jul 12, 2023 1:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 527

How to trigger action when xBrowse lost focus?

When I test using oxBrowse:bLostFocus, I found that it got triggered everytime I'm done editing a cell (I was using fastedit clause).

What I wante is a codeblock that will be evaluated only if oxBrowse itself lost focus so I can trigger an auto-save function

Any tip?
TIA
by hua
Thu Jan 19, 2023 9:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to trigger action when xBrowse lost focus?
Replies: 0
Views: 211

Re: View deleted records in xBrowse

Dear Tim,

you could use the xbrowse container window bGotFocus and bLostFocus to SET DELETED ON and OFF
by Antonio Linares
Wed Dec 14, 2022 8:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: View deleted records in xBrowse
Replies: 8
Views: 703

Re: TGet bLostFocus y WHEN no entiendo bien la lógica...

Estimado Victor, Es que las páginas del folder se van construyendo una a una y es normal que se evaluen los bLostFocus En cambio desde bStart como muy bien has comprobado, el problema queda resuelto Se que es engorroso pero no creo que haya otra solución Gracias Antonio por ...
by VictorCasajuana
Tue Oct 25, 2022 10:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TGet bLostFocus yWHEN no entiendo bien la lógica[SOLUCIONADO
Replies: 20
Views: 1131
Next

Return to advanced search