Tab Control Detail Back Color (1 Viewer)

Dreamweaver

Well-known member
Local time
Today, 13:16
Joined
Nov 28, 2005
Messages
2,466
Hi All


I'm building an example https://databasedreams.createaforum.com/style-manager/



I have 80% done but having no end trouble with the tab control setting the back colour which is in the detail section but cant access it
Ctrl is the current control in the loop



Ctrl.Detail.BackColor = !TabBackColour


hope somebody can help


thanks mick
 

theDBguy

I’m here to help
Staff member
Local time
Today, 06:16
Joined
Oct 29, 2018
Messages
21,358
Hi Mick. I didn't know a Control has a Detail property.
 

Dreamweaver

Well-known member
Local time
Today, 13:16
Joined
Nov 28, 2005
Messages
2,466
Hi Mick. I didn't know a Control has a Detail property.


Your right I was clicking in centre and didn't think it was showing the form detail section lol must have been one of them moments lol


but still can't set the back colour even with


Ctrl.BackColor = !TabBackColour
 

theDBguy

I’m here to help
Staff member
Local time
Today, 06:16
Joined
Oct 29, 2018
Messages
21,358
Just curious, what's the value in !TabBackColour?
 

theDBguy

I’m here to help
Staff member
Local time
Today, 06:16
Joined
Oct 29, 2018
Messages
21,358
A long like 2345654
Hi Mick. If you're trying to change the color for the entire Page of a Tab Control, try using the .PressedColor property instead of .BackColor.

Hope it helps...
 

Dreamweaver

Well-known member
Local time
Today, 13:16
Joined
Nov 28, 2005
Messages
2,466
Thanks will do


Worked a treat many thanks TheDbGuy


mick
 
Last edited:

Dreamweaver

Well-known member
Local time
Today, 13:16
Joined
Nov 28, 2005
Messages
2,466
Going Good It looks like a splash of colours and settings but just been playing so I can see how each control type reacts to different settings.


I was originally designing it for a project I'm working on but after a while decided It might be useful to others


Haven't created the actual table for the different styles yet but want to get all the fields sorted first.



Got the Option Groups And Togle Buttons next


 

Attachments

  • 2019-11-03Small.jpg
    2019-11-03Small.jpg
    64.5 KB · Views: 151
Last edited:

theDBguy

I’m here to help
Staff member
Local time
Today, 06:16
Joined
Oct 29, 2018
Messages
21,358
Are you using an API to list the fonts?
 

Dreamweaver

Well-known member
Local time
Today, 13:16
Joined
Nov 28, 2005
Messages
2,466
Thanks I'll have a look but going to finish mine as got this far and no fun in using somebody else's lol
 

Dreamweaver

Well-known member
Local time
Today, 13:16
Joined
Nov 28, 2005
Messages
2,466
Mick
You may be interested in this Theme Manager app by Davegri at AccessForums.net


Just had a look and it seems to only do the colours What I'm working on does effects and colours but it does have one draw back here: https://databasedreams.createaforum.com/style-manager/user-manual-99/


But when I decided to build it I was starting a rewrite to a very old project from 2000 and felt I had to opportunity to do something like this with.
https://databasedreams.createaforum.com/chart-tracker-elite-2020/
 

Users who are viewing this thread

Top Bottom