Access Continues Form Style in StrataFrame


Author
Message
Leonard P.
Leonard P.
StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)
Group: Awaiting Activation
Posts: 65, Visits: 306
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
Attachments
form1.png (131 views, 93.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.
Attachments
Scroll.png (163 views, 57.00 KB)
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
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.

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Or you could not pay any attention to me and follow Trent's advice... BigGrin
Leonard P.
Leonard P.
StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)StrataFrame Novice (79 reputation)
Group: Awaiting Activation
Posts: 65, Visits: 306
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...
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search