By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,107 Members | 1,609 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,107 IT Pros & Developers. It's quick & easy.

Lock Down Titlebar in Form

P: n/a
I have a pop-up form with a combobox. In the form's open event I dropdown
the combox's list. I have everything on the form locked down so the user can
not collapse the combobox by clicking somewhere on the form. There's one
exception. Clicking on the titlebar will collapse the combobox. Does anyone
know of a way to lock down the title bar (Enabled = No, Locked = Yes) or to
execute a subprocedure when you click on the titlebar?

Thanks!

Steve
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
PC Datasheet wrote:
I have a pop-up form with a combobox. In the form's open event I dropdown
the combox's list. I have everything on the form locked down so the user can
not collapse the combobox by clicking somewhere on the form. There's one
exception. Clicking on the titlebar will collapse the combobox. Does anyone
know of a way to lock down the title bar (Enabled = No, Locked = Yes) or to
execute a subprocedure when you click on the titlebar?


What about setting the border style to none? You wouldn't be able to
move the pop up anywhere, though (but one might be able to experiment
with on mouse down events or something if that was necessary), and you'd
want to make sure there is a cancel button along with the OK/proceed
button...

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Nov 13 '05 #2

P: n/a
Thanks for the input, Tim!

I'm using that with a label at the top trying to make it look like a
standard form but it's not the same. That's why I asked the question.

Steve
"Tim Marshall" <TI****@PurplePandaChasers.Moertherium> wrote in message
news:df**********@coranto.ucs.mun.ca...
PC Datasheet wrote:
I have a pop-up form with a combobox. In the form's open event I dropdown
the combox's list. I have everything on the form locked down so the user
can not collapse the combobox by clicking somewhere on the form. There's
one exception. Clicking on the titlebar will collapse the combobox. Does
anyone know of a way to lock down the title bar (Enabled = No, Locked =
Yes) or to execute a subprocedure when you click on the titlebar?


What about setting the border style to none? You wouldn't be able to move
the pop up anywhere, though (but one might be able to experiment with on
mouse down events or something if that was necessary), and you'd want to
make sure there is a cancel button along with the OK/proceed button...

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.