StrataFrame Forum

Access Continues Form Style in StrataFrame

http://forum.strataframe.net/Topic21022.aspx

By Leonard P. - 12/4/2008

Hi,



I would like to create a maintenance form control similar to Access Continues Form (see attached image) for simple one field look up values maintenance. Each record would be displayed in separate text box, and user can add new record by simply typing in the last empty text box (see attached image).

Is there an easy way to accomplish this with StrataFrame? I experimented with Layout Panels, but it requires way too much code, and becomes difficult to maintain. I was hoping StrataFrame could help me here. And maybe someone else has done anything similar or have any suggestions or ideas, I'd appreciate your input.



Thanks
By Trent L. Taylor - 12/4/2008

I have attached a screen shot in our medical software where we have done this.  We have done this a numoftimes, but this is a good example.  It is actually very easy to do.  In this example, I dropped on a FlowLayoutPanel, then I set the docking to fill the area.  Since I was going to be adding controls into this dynamically, the FlowLayoutPanel was best.  But if your controls will be static, then just drop on a Panel or a ThemedPanel.  Set the AutoScroll property to True, and then start adding controls that exceed the bottom of the control.  The scroll bar will automatically appear if the AutoScroll property is set to True.  That is basically it.  Let me know if you have any troubles.
By Ivan George Borges - 12/4/2008

Hi Leonard.

It does look like a Grid, doen't it?

Maybe you could create some code to make sure to always have an empty new record on the bottom of your BO, and threat the KeyPress for an Enter, save it if the content is valid and create a new one for the user automagically.

By Ivan George Borges - 12/4/2008

Or you could not pay any attention to me and follow Trent's advice... BigGrin
By Leonard P. - 12/4/2008

Ivan George Borges (12/04/2008)
Or you could not pay any attention to me and follow Trent's advice... BigGrin


Sounds easy enough.... Smile

Thanks Trent, that's kind of where I was going...