Does anybody out there know of a way for me to tell a datafield to disappear and a different one to reappear when the space bar has been pressed. Cant find any functions that tell the app to do that, but sure there must be a way...
Thanks
Angel
I'm not sure if this is exactly what you are looking for, but here is one method. Both datafields need to be editable and df2 starts as not visible with the focus on df1.
Data Field: df1
Message Actions
On SAM_AnyEdit
If MyValue = ' '
Call SalHideWindow( hWndItem )
Call SalShowWindow( df2 )
Call SalSetFocus( df2 )
Set MyValue = ''
Data Field: df2
Message Actions
On SAM_AnyEdit
If MyValue = ' '
Call SalHideWindow( hWndItem )
Call SalShowWindow( df1 )
Call SalSetFocus( df1 )
Set MyValue = ''
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.