Question on Panel Object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello:

I was planning to use the panel to create a dockable container at the bottom
of the screen that will display user preferences.

I would like it to behave the following way:

1. It should not have any caption. (I am unable to turn off the caption that
displays the name of the object).

2. The user cannot resize it or move it.

Can somebody tell me if this is the right container or is there a better
option?

Thanks.

Venki
 
Hi,

Unfortunately on this NG the writer often forgets to let us all know whether
they are referring to a web project or windows project, this can often make
a big difference.

If you are referring to a windows project and wish to display a panel then
the default behaviour 'should' do what you want. It can be docked and has no
border and or caption (by default).

With a web app. then you may be better to investigate the placeholder
object.

HTH,

Phil
 
Phil:

Oops, I'm sorry!

Yes, it is a windows application. Unfortunately, the default settings seems
to be (with caption).

I cannot figure out how to make it non-resizable and non-movable. Would you
know what properties I can use?

Thanks.

Venki
 
vvenk said:
Hello:

I was planning to use the panel to create a dockable container at
the bottom of the screen that will display user preferences.

I would like it to behave the following way:

1. It should not have any caption. (I am unable to turn off the
caption that displays the name of the object).

2. The user cannot resize it or move it.

Can somebody tell me if this is the right container or is there a
better option?



The Panel control does not display a caption and the user can not resize it.


Armin
 
Armin:

That's not true. It has a caption and the user can resize it, by default.

Venki
 
Phil,

You are right, however most of us in this newsgroup use that if there is
nothing given than windows forms is default. (While VB.Net 2003 is at the
moment as well default)

Cor
 
Vvenk,

AFAIK the user cannot resize it separately, the user can use a splitter to
hide and show parts.

As all controls it is able to size and resize according to the resizing of
the form if it is docked or anchored..

If you can do it without using the mousepointer, than please show us how
because probably more people will than be interested?

Cor
 
Ah, I see. Well, I have never used that control so I cannot advise
you, sorry.

Good luck with your problem.

Chris
 

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

Back
Top