Hi Folks,

Is there any way to have FLTK check position boundaries inside an Fl_Scroll or 
I have to do it programmatically?

What I mean is the following:
I am developing a sort of form editor, so the user defines the size of the form 
(canvas) and the objects shouldn’t exceed the canvas dimensions when 
dragging, and when the user sets coordinates through dialog, and whatever.

I can wrap the position() and resize () methods for the child objects in order 
to do the check, but I would like to know if there is other way to do it, for 
example via some hierarchy as with the subwindows, but I know that I can’t 
place an Fl_Window inside an Fl_Scroll.

Thanks
David.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to