Tab Control/Multi Page Form Examples

  • Thread starter Thread starter CDS
  • Start date Start date
Yes, I have seen this one but it doesn't show the use of
tab controls. I may use page break method instead.
Thanks.
 
CDS said:
Yes, I have seen this one but it doesn't show the use of
tab controls. I may use page break method instead.
Thanks.

Simple example you can build yourself.

Create a simple table with 10 fields. Use the AutoForm button to quickly
create a single view form bound to the table. Open the form in design view
and add a TabControl. Select five of the 10 original controls and press
<Ctl-X> to cut them to the ClipBoard. Select page one of your TabControl
and press <Ctl-V> to paste the controls. Do the same to put the other five
controls onto page two of the TabControl.

Open the form and see how it works.

That would be an example where the TabControl is only being used to
organize the controls on the form and no SubForm is involved. Often what
is done though is to place one or more SubForm controls onto the TabPages,
but the process of building the form is the same.

Since you can't drag existing controls onto a TabPage (you can drag new
ones onto them) it is easier to build the form from the get-go with a
TabControl then it is to add one later as the Cut n' Paste method causes
you to lose your[Event Procedure] entries and you have to reset them.
 
Back
Top