Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Active control question
#1
Hi all,

In VCL it is possible to find out which control is active, and with before and after events, also to tell what the next control to receive focus is, or which control had the focus before.

I used that to bypass some activities in events like OnEnter and OnExit, only doing certain things, if the previous or next active control, was the expected one.

In Intraweb there is an ActiveControl property of the IWForm, but it do not seem to get updated as the focus shifts from control to control. In the IWForm documentation is says it can be used to set the active control when the form is rendered. I suppose it is like the taborder value.

Are there any other way of getting info about which control is the active one ?

Regards
Soren
Reply


Messages In This Thread
Active control question - by SorenJensen - 08-15-2019, 02:58 PM
RE: Active control question - by SorenJensen - 12-09-2019, 09:19 AM
RE: Active control question - by zsleo - 12-09-2019, 06:43 PM
RE: Active control question - by SorenJensen - 12-10-2019, 01:08 PM
RE: Active control question - by kudzu - 12-12-2019, 02:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)