Page 1 of 1

Scrollable Forms

Posted: Thu Apr 02, 2009 4:45 pm
by mokogobo
Hello! :shock:

I'm about to begin a project where I'll have to construct forms (e.g., of text fields, buttons, drop-down menus, etc.), but haven't done this very seriously in the past. To jump-start my research and perhaps gain some direction or insight, I thought I'd ask around to see what others have done.

In particular, I'd like to (1) have a scrollable area that contains form elements on a card (is there a GUI component that allows this?), and (2) automate the creation of the form as much as possible (perhaps by parsing an XML file that describes the forms).

I'll take any suggestions, tips, pointers, warnings, etc. that you can offer, and will greatly appreciate them!

Thanks.

Posted: Thu Apr 02, 2009 5:53 pm
by magice
Wow I can actually answer this one!! If you group all of the elements of the form, and look at the property inspector for the group, you will see check boxes to add horizontal and vertical scrollbars.

Scrollable forms

Posted: Fri Apr 03, 2009 6:55 pm
by asayd
You may also want to wait for Rev 3.5, due out in a few days or weeks. It includes a new Data Grid object that will do much of what you describe.

Devin

Posted: Fri Apr 03, 2009 8:46 pm
by FourthWorld
Devin's suggestion is an excellent one, but I say do both! :)

The forthcoming DataGrid object is pretty nifty, but having direct hands-on experience with working with groups is a good skillset to acquire anyway. You may find your own group will suffice, and if not then you'll be able to transfer that knowledge to use the new DataGrid when it comes out that much more effectively.

Scrollable forms

Posted: Fri Apr 03, 2009 9:03 pm
by asayd
Well said, Richard, as always. :)

I agree, as useful and powerful as the new DataGrid object is, it will be even more so the better you understand the inner workings of groups. For simple groups, it's a snap to just add scrollbars to enable scrolling content that's too large to display in the available space.

Devin