At 05:50 PM 7/14/2004 -0400, David Blocker wrote:
>I have forms with "search" bit buttons to help users find a value if they >don't know the code. If the user brings up a search form and clicks on >CANCEL to cancel the search, I'd like to send them back to whatever field >they WERE in when they clicked on the button. Currently, the focus stays >on the button. > >Is there a way to use GETPROPERTY to do this? A command that captures the >component id of a field on exit in a variable "fFrom" so the button eeps >could say: PROPERTY .fFrom SET_FOCUS 'True' > >Or is there an even simpler way so I don't have to create an exit eep like >this on EVERY field in a form?
David,
Why not take advantage of "RBTI System Variables" used in Forms?
For complete details:
01. RBG7 > Help > Reference Topics > RBTI System Variables Used in Forms
02. From The Edge: http://www.razzak.com/fte (06/09/2004) Topic: Understanding Form System Variables in R:BASE 7.1 for Windows
Hope that helps!
Very Best R:egards,
Razzak.
