Hello
in some Situations, I have to show the Restlength of a Getfield during Input.
With Inputs like "Ijl", the User is confused : There is still Space inside the Get, why I cannot write anymore !
It works, but only with Return. I have to control during Edit without Return.
Is there another Solution possible ?
// GetField-Len = 100
REDEFINE GET oSyntax1 VAR cSyntax ID 120 OF oDlg UPDATE ;
VALID ( ( oSyntax1:Refresh(), nSyntax := 100 - LEN( Alltrim( cSyntax ) ), oSyntax2:Refresh() ) , .T. )
REDEFINE SAY oSyntax2 VAR nSyntax ID 125 FONT oButtFont COLOR 128 OF oDlg UPDATE
The Screenshot shows the Problem.
A Get with Len 100 and Input of 10 different Chars :
Best Regards
Uwe