You are not logged in.

Yuyu

Beginner

  • "Yuyu" started this thread

Posts: 8

Date of registration: May 14th 2011

  • Send private message

1

Wednesday, June 1st 2011, 10:47pm

Form1 call

I have over 140 items in the project Applet1 and need more.

I create a Form1 which contain more elements necessary for the project, but having problem to load Form1.

No need to load New Form-x, I need to call Form1 to contain more elements.

I try different methods to call, but without success.

Any advice, thanks.

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Thursday, June 2nd 2011, 1:23am

You can define "UserControls" and put them onto your form.
A UserControl is a kind of form within a form. It groups controls which somehow belong together.
This is helpful if you have re-occurring constellations of controls in your form.
In one of my projects I had a lot of textbox+label combinations. So I defined a UserControl and inserted it several times.
Another application of UserControls is to structure your controls and reduce complexity.

Give it a try and post your experiences.

Greetings

A1880

Rate this thread
WoltLab Burning Board