All object on a tab disabled but can I change the forecolor?
Posted on 2013-10-07
I have a tab on a form disabled but what the forecolor to be black. Is there a way to do this without having to code a separate line for each object on the tab?
I've tried this but it doesn't work:
If DBEngine.Workspaces(0).Users(CurrentUser).Name = "Shop" Then
Me.Casting.Enabled = False
Me.Casting.ForeColor = vbBlack