Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / June 2007

Tip: Looking for answers? Try searching our database.

How do I move existing controls into a groupbox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dan.neely@gmail.com - 08 Jun 2007 21:19 GMT
Drag/drop leaves them directly attached to the main form and I can't
find any way to change the hierarchy from the properties page either.
Carl Rapson - 08 Jun 2007 22:35 GMT
> Drag/drop leaves them directly attached to the main form and I can't
> find any way to change the hierarchy from the properties page either.

Select the controls, Cut, select the groupbox, Paste.

Carl Rapson
dan.neely@gmail.com - 11 Jun 2007 16:13 GMT
On Jun 8, 5:35 pm, "Carl Rapson" <mr.mxyzp...@newsgroups.nospam>
wrote:
> <dan.ne...@gmail.com> wrote in message
>
[quoted text clipped - 4 lines]
>
> Select the controls, Cut, select the groupbox, Paste.

This is only working with some types of controls.  I can paste
togglebuttons into the groupbox, but command buttons always end up
pasted to the main form.  More seriously, any togglebuttons that I
paste loose the OnClick event which I'm using.
Carl Rapson - 11 Jun 2007 16:39 GMT
> On Jun 8, 5:35 pm, "Carl Rapson" <mr.mxyzp...@newsgroups.nospam>
> wrote:
[quoted text clipped - 11 lines]
> pasted to the main form.  More seriously, any togglebuttons that I
> paste loose the OnClick event which I'm using.

Command buttons can't (as far as I know) be assigned to a groupbox. If you
go through the Groupbox wizard, you'll see what controls can be used.

It's a common problem that when a control is cut and then pasted, it
sometimes loses the connection with existing events. You'll just need to go
back to the control's Even properties tab and specify the event again, and
it will then re-connect to the existing code.

Carl Rapson
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.