Re: ACC2000: Controls "grouped" in design view: I want RID of this

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



In the last couple of versions of Access, there is a half-baked feature for
grouping controls.

Open the form in design view.
Select the control that behaves as part of a group.
(You will end up with all the affected controls selected.)
Choose Ungroup on the Format menu.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"sebt" <sebthirlway@xxxxxxxxxxx> wrote in message
news:1152020890.877233.313220@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Rick Brandt wrote:

Access forms have no structures like a "frame" in java (be really nice if
they
did) so I can only think that they might be single page TabControls with
the
TabStyle set to "None". This would not say "Multiple Selection" when
selected,
but TabControls can be difficult to select if you don't hit just the right
spot
with your mouse.

Thanks Rick. That's what I always thought, that there were no frames,
unlike in VB (I don't know Java). I tried the TabControl - but as you
say these always say "Tab Control...[name]" in the Props box when you
select them.

These things are really ODD. Like the TabControl, an Option Group has
its own "identity" - i.e. you can select just it, rather than it and
the controls inside it, and amend its properties. Also, if you click
on a control inside an Option Group, whatever the current selection,
that control gets immediately selected.

In contrast, these weird "things" can't be selected on their own. You
can't click on a control within them to select it (you have to click on
it once - you get "Multiple Selection" with the "frame" selected - then
click on it again). Also, you can't CTRL+X cut controls from within
them and then paste them into the Detail area - they just bring the
bounding "thing" with them!

Option groups have a Controls collection, but I looped through all the
Controls on the form in a bit of scratch VBA looking for controls with
[control].Controls.Count>0, and found nothing.

The original designer might have done this as a simplified way to
hide/show
groups of controls because all they would have to do is change the
visibility of
the TabControl instead of the individual controls.

Funny you should mention this... this form also contains a huge tab
control with 5 pages, all the controls on ONE page, and a
knickers-in-a-twist sprawl of VBA code to show/hide controls according
to their Tag when the user clicks on a different tab page! So anything
is possible in this system. There are some right strange people out
there...well, its £££ in a documentation specialist's pocket :)

cheers


Seb


.



Relevant Pages

  • RE: remain null to force selection
    ... If you omit those lines then the controls should remain blank. ... the options to choose from in the requestor box are filtered based ... so that the user is forced to make a selection ... Private Sub Combo44_AfterUpdate ...
    (microsoft.public.access.gettingstarted)
  • RE: Related Dynamic Controls / Viewstate Problem
    ... In my BuildControls sub (also called from the ... then enumerate the controls on the page looking for a match for the control ... check in viewstate to see if "ddl1" exist and if so get it's value from ... > controls will not always be the same (based on the selection the user makes ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Postback not working, Pages not maintaining state
    ... I added an "AddError" routine that inserts my error texts ... >> noselection, selection and no errors, errors and no selection, ... >> Private Sub BuildPage() ... >> ' Creates controls, HTML elements, a submit button and a handler for ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: I am using the DIRLISTBOX in VB 6..Need it to show hidden directories. I cant find a way for it
    ... >> I am using the DIRLISTBOX in VB 6..Need it to show hidden directories. ... I will need to be able to select the share via controls ... >> for Dir location only selection etc. ... This app is going to be used in house, ...
    (microsoft.public.vb.controls)
  • Re: Dynamic Controls - Still!
    ... I need the labels and associated ... > Are you dynamically creating a different set of controls based upon some ... or is the container placed inside the table? ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)