Re: XForms: fl_set_form_position doesn't work as expected

Steve Lamont (spl@szechuan.ucsd.edu)
Sun, 29 Mar 98 12:35:48 PST

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

> I want to put a window in a given place, and the only way to do
> it seems to be with fl_set_form_position(). However, this function does
> not work as expected.

Maddening, ain't it...

> [...]
> Is there some way to tell the library to place subsequent windows
> using whatever algorythm is used for the first window. That is, is there
> some way to tell it to respect the arguments to fl_set_form_position()?

I suspect the problem relates to XForms's notion of a "main form" and
your window mangler's treatment of the WM_COMMAND property. You may
have some success in placing forms by fiddling with the main form-ness
of the forms. Try calling fl_set_app_mainform() for the form before
you create it -- this may (or may not) help.

Refer to the manual, Chapter 4, "Doing Interaction," for a full
discussion.

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/