Search found 47 matches: getactive

Return to advanced search

Re: How to implement GETACTIVE()?

... LOCAL cVr3 := SPACE( 30 )    DEFINE DIALOG oDlg    @ 1, 1 SAY "Test 1:" GET oGt1 VAR cVr1 VALID !EMPTY( GETACTIVE():VarGet() )    @ 2, 1 SAY "Test 2:" GET oGt2 VAR cVr2 VALID !EMPTY( GETACTIVE():VarGet() ...
by Enrico Maria Giordano
Sun Nov 01, 2020 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

...   LOCAL cVr2 := SPACE( 30 )    LOCAL cVr3 := SPACE( 30 )    LOCAL bVl1 := { || !Empty( GetActive():VarGet() ) }    LOCAL bVl2 := { || !Empty( GetActive():VarGet() ) }  ...
by Enrico Maria Giordano
Sun Nov 01, 2020 2:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

Any ideas? :-)

EMG
by Enrico Maria Giordano
Sun Nov 01, 2020 11:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

No, sorry, still doesn't work fine. :-(

EMG
by Enrico Maria Giordano
Fri Oct 30, 2020 3:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

... 30 )    DEFINE DIALOG oDlg    @ 1, 1 SAY "Test 1:" GET oGt1 VAR cVr1 VALID ( oGet := oGt1, !EMPTY( GETACTIVE():VarGet() ) )    @ 2, 1 SAY "Test 2:" GET oGt2 VAR cVr2 VALID ( oGet := oGt2, !EMPTY( ...
by Enrico Maria Giordano
Fri Oct 30, 2020 3:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

Works fine here moving backwards. Please, show a sample of the problem.

EMG
by Enrico Maria Giordano
Thu Oct 29, 2020 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

hi Enrico
I try it but unfortunately it doesn't work
when I move backwards with the mouse,
however the get active is always the one I am on, right?
bye
by mauri.menabue
Thu Oct 29, 2020 6:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

Please try my latest sample that is reported in my previous post. And yes, clicking problem is not solved. :-(

EMG
by Enrico Maria Giordano
Thu Oct 29, 2020 1:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

hi enrico
if you go back thru the controls , the error appears :(
there is no function es.: PREVTDLGTAB ?
or or proceed forward by skipping the controls that are not input up to the previous get,
perhaps the problem of jumping using the mouse would remain.

bye
by mauri.menabue
Thu Oct 29, 2020 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

This is slightly better but still not perfect: FUNCTION GETACTIVE()    LOCAL i    FOR i = 1 TO LEN( oDlg:aControls )        IF oDlg:aControls[ i ]:HasFocus()      ...
by Enrico Maria Giordano
Thu Oct 29, 2020 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

Hi Enrico
It's OK GREAT ! :D
bye
by mauri.menabue
Thu Oct 29, 2020 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

Yes, I know. That's why I write "better". :-)

Any ideas about how to solve the problem?

EMG
by Enrico Maria Giordano
Thu Oct 29, 2020 9:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

Enrico,

Esa solución sólo funcionará si se avanza al siguiente Get. Probablemente no funcione si se retrocede al anterior Get
by hmpaquito
Thu Oct 29, 2020 9:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

I'm using this function that seems to work better: FUNCTION GETACTIVE( oDlg )    LOCAL i    FOR i = 1 TO LEN( oDlg:aControls )        IF oDlg:aControls[ i ]:HasFocus()    ...
by Enrico Maria Giordano
Thu Oct 29, 2020 8:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282

Re: How to implement GETACTIVE()?

...   LOCAL oDlg    LOCAL cVr1 := SPACE( 30 )    LOCAL nVr2 := 100    DEFINE DIALOG oDlg    @ 1, 1 GET cVr1 VALID IF( empty(GETACTIVE( oDlg ):VarGet())  , (MsgAlert("Campo obbligatorio", "Errore")        , .F.), .T.) ...
by mauri.menabue
Wed Oct 28, 2020 11:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to implement GETACTIVE()?
Replies: 31
Views: 2282
Next

Return to advanced search

cron