Re: XForms: Multiple form application, Which form selected?

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 12 Jun 97 12:40:09 PDT

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> With multiple forms open, Does anyone know a call such as
>
> form = fl_find_selected_form();
>
> which would identify the currently highlighted form?

There's no such function of which I'm aware but you could probably
construct a hack to do it.

I can't swear that this will work since I've not tried it but you
could use fl_get_win_mouse() to get Window ID which the cursor is in,
then scan through a list of forms comparing Window IDs. You'll have
to keep this list yourself since I don't think that XForms keeps any
application accessable list of realized forms.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/