hide object IF

TipsyWolf

Member
Local time
Today, 06:19
Joined
Mar 20, 2024
Messages
245
hey guys!

i have tab control with 2 tabs and i have OLEunbound object (pasted from Excel) under this tab control so i'd have a pretty nice UI
1718970779853.png


so now i need to make switches obvious and the only thing i came up with is text color (back is active, white -is not)
but is there a way somehow to visible=OFF when i click the other one.

like if i click Photos, then OLEunbound object under "risk assessment" text would go off (transparent or visible off). and vise versa.

1718971012474.png
 
If you set it to Visible = False, how are you going to get back to it? :)
 
If you set it to Visible = False, how are you going to get back to it? :)
i have absolutely no clue, sir :))
thats why i asked it.. well, u know, maybe vba or somehting can do the trick :)
 
I think what you already have is perfectly fine, or perhaps set it to Red?
 
I think what you already have is perfectly fine, or perhaps set it to Red?
red for active or not active. let me play with it
1718971842749.png


i dont know, looks like it doesn't go along with this "blue" color
 
I would go Red for Active, White for Inactive.
Is there not a property for the background to be set?

What version of Access is that as mine (now 2019) just looks like ordinary tabs?
 
Last edited:
Is there not a property for the background to be set?
yes, tab control has such options, but it goes along with its rectangular switches so i had to set as transparent so i could use others features
1718972185417.png
 
I might opt for a gray forecolor, rather than a red or white, for the "non-selected" look.
 
you could just use an option group using buttons if the requirement is one or the other - you can hide the frame
1718974165332.png

you can change the button shape and styles
1718974414390.png
 

Users who are viewing this thread

Back
Top Bottom