Go Back   Access World Forums > Microsoft Access Discussion > Forms

 
Reply
 
Thread Tools Rate Thread Display Modes
Old 09-16-2013, 01:24 PM   #1
MightyCat
Newly Registered User
 
Join Date: Sep 2012
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
MightyCat is on a distinguished road
Moving a group of objects when hiding others

Hi All

I am building a form where I would like to group fields into 3 groups, A, B & C. I know I could put all groups on their own subforms but I'd like to see if there is a way to simplify it all on one form since there aren't much fields for each group.

I would also like to hide each group when the user clicks 'hide group A' and shift Group B & C up. Then move them back to their original position when 'Display Group A' is clicked.

Same for each group. If Group B - Hide is clicked, Group C is moved up.

I've got each group tagged appropriately and I can hide/display them all properly by a For Each Control loop. Now, how to I move them all up/down a specific amount in addition to that? I would think it would be just as easy but my objects are moving by using the Grid Y property

Thanks!

MightyCat is offline   Reply With Quote
Old 09-16-2013, 01:28 PM   #2
bob fitz
AWF VIP
 
Join Date: May 2011
Location: Essex England
Posts: 3,528
Thanks: 52
Thanked 683 Times in 665 Posts
bob fitz has a spectacular aura about bob fitz has a spectacular aura about bob fitz has a spectacular aura about
Re: Moving a group of objects when hiding others

Perhaps you could use a tab control with a tab for each group.
__________________
Bob Fitzpatrick
Microsoft Community Contributor Award (2011)
If this helped, please click the scales at the bottom left of this posting.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Many thanks.


I have never failed. I have found a thousand ways that do not work!
bob fitz is offline   Reply With Quote
Old 09-16-2013, 01:30 PM   #3
MightyCat
Newly Registered User
 
Join Date: Sep 2012
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
MightyCat is on a distinguished road
Re: Moving a group of objects when hiding others

Thanks. I actually started going that way I'd also like all of it to display if they want it all and with a tab group, then that wouldn't be an option.

Good idea though. Thank you

MightyCat is offline   Reply With Quote
Old 09-16-2013, 01:35 PM   #4
bob fitz
AWF VIP
 
Join Date: May 2011
Location: Essex England
Posts: 3,528
Thanks: 52
Thanked 683 Times in 665 Posts
bob fitz has a spectacular aura about bob fitz has a spectacular aura about bob fitz has a spectacular aura about
Re: Moving a group of objects when hiding others

Quote:
Originally Posted by MightyCat View Post
Thanks. I actually started going that way I'd also like all of it to display if they want it all and with a tab group, then that wouldn't be an option.

Good idea though. Thank you
You could show all on a 4th tab
__________________
Bob Fitzpatrick
Microsoft Community Contributor Award (2011)
If this helped, please click the scales at the bottom left of this posting.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Many thanks.


I have never failed. I have found a thousand ways that do not work!
bob fitz is offline   Reply With Quote
Old 09-16-2013, 01:41 PM   #5
spikepl
Eledittingent Beliped
 
spikepl's Avatar
 
Join Date: Nov 2010
Location: San Serriffe
Posts: 6,144
Thanks: 77
Thanked 980 Times in 958 Posts
spikepl is a jewel in the rough spikepl is a jewel in the rough spikepl is a jewel in the rough
Re: Moving a group of objects when hiding others

Don't move things around. People, subconciously, use all kinds of clues in the user interface, and one of the clues is a field's position. When relevant, you can make bits visible=false, or, better, enabled=false.
__________________

Don't tell us what did not happen.
Do you tell the mechanic about your car "it doesn't work" or vague stuff like:
I couldn't, No joy, To no avail, No go
, Incorrect, Wrong, Seems, Without success, It didn't let me, I/it failed.

Do tell us what did happen
:

I want this ... to happen, I attempted this ..., using this ... code and pressing these buttons, the system did this ... in response, and I got this ... error in this ... line.

Did it help? Pass it forward!

Joys of Access:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

spikepl is offline   Reply With Quote
Old 09-17-2013, 06:53 AM   #6
MightyCat
Newly Registered User
 
Join Date: Sep 2012
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
MightyCat is on a distinguished road
Re: Moving a group of objects when hiding others

The whole point is to make the interface collapsable, expandable depending on if the user wants to see each group. For this particular app, it's to shift fields up when hiding objects
MightyCat is offline   Reply With Quote
Old 06-11-2014, 10:23 AM   #7
BlueIshDan
 
Join Date: May 2014
Posts: 1,122
Thanks: 155
Thanked 160 Times in 156 Posts
BlueIshDan is on a distinguished road
Re: Moving a group of objects when hiding others

post a picture of your forum and highlight which controls you wish to move and where


__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Blue's Age Poll:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Animated Sorting:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Mining File Directories:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
GetSubFolders:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

GetFileLines:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

FindSimilarValues:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Move (Avoid moving objects game):
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
BlueIshDan is offline   Reply With Quote
Reply

Tags
display , forms , hide , move , objects

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question hiding the objects list bigmac General 1 03-13-2012 01:27 AM
Hiding Multiple Objects at Once... friedboudinball Forms 5 12-04-2011 12:38 AM
Moving to objects trackdaychamp Modules & VBA 2 02-09-2007 11:58 AM
Hiding menus and objects mura General 2 03-14-2003 08:15 AM
Moving Focus to various objects ernief Forms 2 03-03-2000 06:11 AM




All times are GMT -8. The time now is 04:45 PM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Featured Forum post


Sponsored Links


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World