Home All Groups Group Topic Archive Search About

Lock a subform into a panel?

Author
29 Oct 2006 7:39 PM
Dean Slindee
I am showing a (sub)form within a panel in a host form.  The subform title
bar needs to show, but I would like to "lock" the subform in place within
the panel, so that the use cannot drag it off the panel.  Is this possible?

Thanks,
Dean S

Author
29 Oct 2006 7:50 PM
Herfried K. Wagner [MVP]
"Dean Slindee" <slin***@charter.net> schrieb:
>I am showing a (sub)form within a panel in a host form.  The subform title
>bar needs to show, but I would like to "lock" the subform in place within
>the panel, so that the use cannot drag it off the panel.  Is this possible?


I'd implement the subform as a user control and draw my own title bar onto
the control.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>