Same Panel in All Forms?

G

Guest

Hi,
I am developing a Pocket PC Application using VB.Net. I have to use 5 forms
in my application and I wish to display a common Panel, containing a group of
8 buttons, in all the forms.

Is it possible to display the same panel in all the forms? Please reply in
detail. For data entry, is it necessary to include the InputPanel in all the
forms?

Since I am using 8 big buttons displaying only text, I suppose, Toolbar is
not a better option. If it is more convenient, Please clarify.

Thanks in Advance,
Regards,
Hari
 
D

Daniel Moth

I am not sure if someone will reply in detail to such generic questions but
until then I can give you some pointers

For sharing controls between forms look up "form inheritance".

Another approach is to look at reparenting the control, look at
"Control.Parent".

Toolbar is usually a good option and since you have text the "menu" is a
good alternative.

Otherwise, your requirements may allow for the common GUI to be placed on a
form that you show from your 5 forms.

If you have more specific questions feel free to post back

Cheers
Daniel
 
G

Guest

Dear Daniel,

Thank you very mcuh for the reply.

Since the Microsoft server was not responding while posting my query, I have
posted 4 queries with same contents. Only later, I came to know about this.
Please ignore the other posts.


Regards,
Hari
 
J

James Neave

Hi,

I do this with my soft keyboard control I wrote to replace the SIP.
I have every form own the control and event delagates change everytime
I change form. In hind sight, this saving of resources has turned out
to be more trouble that it was worth, especially keeping it from being
Disposed with Dialog forms and only one form responding to the
keyboard.

If I did it all again, the keyboard would be an always on top form.

Regards,

James.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top