Progress_Guy
Member
Hi folks,
I have the following scenario :-
A smart window containing a number of smart frames to give a simple multiple document interface, i.e. each frame functions independently and we can, say, have a customer maintenance screen open and an order enquiry open.
I'm writing a generic utility which exports out to a spreadsheet (or PDF, etc.) the data in any browsers which are held in the frame in focus.
Dead easy !! Or so I thought. I can recursively walk the widget tree to find all frames, however, I'm dammed if I can find which frame has focus - obviously each smart frame may have multiple static frames in it.
I've tried using the selected attribute, but, it doesn't seem to trigger by simply clicking the title bar of the frame - HELP !!
This is a fairly urgent one and I'm pulling my hair out.
Thanks in advance.
I have the following scenario :-
A smart window containing a number of smart frames to give a simple multiple document interface, i.e. each frame functions independently and we can, say, have a customer maintenance screen open and an order enquiry open.
I'm writing a generic utility which exports out to a spreadsheet (or PDF, etc.) the data in any browsers which are held in the frame in focus.
Dead easy !! Or so I thought. I can recursively walk the widget tree to find all frames, however, I'm dammed if I can find which frame has focus - obviously each smart frame may have multiple static frames in it.
I've tried using the selected attribute, but, it doesn't seem to trigger by simply clicking the title bar of the frame - HELP !!
This is a fairly urgent one and I'm pulling my hair out.
Thanks in advance.