Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 10 MAR 1999 03:29:14PM Steve C. wrote:

I have a script in an edit line Lostfocus event that calls a SSP.

When I click on another control I fire the Lostfocus. Within the

SSP can I tell, and how, which control I hit and will get the

Gotfocus…that caused the Lostfocus… got that????

Thanks…

Steve C.


At 10 MAR 1999 04:15PM Greg James, ISIS, Inc. wrote:

One of the values passed in the LOSTFOCUS event is FocusID. I have passed this 'param' to stored procedures to do what you are talking about. Similarly, PrevFocusID is passed in the GOTFOCUS event. Between the two you know where focus was and/or where it is going to.

If you don't want to use the values passed in the aforementioned events, you can use:

PrevFocusID=Get_Property('SYSTEM','PREVFOCUS')

(for GOTFOCUS)

and

FocusID=Get_Property('SYSTEM','FOCUS')

(for LOSTFOCUS)

I suspect, but I'm not sure, that the events get the PrevFocusID and FocusID values from the system.


At 10 MAR 1999 04:24PM Steve C. wrote:

Greg,

Thanks.. FocusID=Get_Property('SYSTEM','FOCUS') is just

what I needed in my Lostfocus event.

.

.

Steve C.


At 17 JAN 2002 10:03AM Bob Watson wrote:

The lostfocus event passes the focus ID to the procedural event and the quickevent. You don't need to use system, gotfocus to get it. Use '@param1' in the quickevent to pass it on to your procedure.

Bob Watson

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/573676d7a197f6388525673000708a73.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1