Hello,
3 weeks ago i asked the same question , but i was on vacation for two weeks , so i try it again
In mine main aplication i have a dialog from resources , with a lot of get's (numeric value)
Each numeric get has a picture clause :
REDEFINE GET oGet VAR nInp ID 157 PICTURE "@K #99" OF Odlg
Entering a value as -99 , give no problems (no reformatting is needed)
BUT :
entering -9 , pressing TAB or ENTER reformats the get WITHOUT '-' SIGN !!!
Testing with testget2 , changing the get in REDEFINE GET ... to have the same situation give no problems !!!!
So i tryed to change tget.prg in METHOD KeyChar( nKey, nFlags )
case nKey == VK_TAB .or. nKey == VK_RETURN
trace(::oget:buffer,::varget()) // Shows -9 , 0
Trace executes a msginfo , but the (wrong) reformatting is all ready executed
So it seems that something go wrong BEFORE this statement.but where ?
Using fw2.7 , march , last xhb
Frank