Link to home
Start Free TrialLog in
Avatar of slobstar
slobstar

asked on

Enable and disable

I have some strange problems that I need some assistance with. I have an SSTab with alot of different frames on it, My problem is that when i enable some frames on one tab a few other controls on the other tabs gets enabled too, why? Is it a bug or a feature?
Avatar of waty
waty
Flag of Belgium image

Probably the reason is that the controls have the this tab has parent.

You should add all the controls in a frame, and have only one frame per tab.
Avatar of slobstar
slobstar

ASKER

If I want several frames then...
Put thes frmaes inside your tab frame..or you can use any other container type object as your tab frame
I've tried it but there are still controls that enables when I don't want them to. Can anyone explain why and how I can prevent it, I want several frames on each of the tabs.
Are your frames set as enabled = false even though they are children to the tabs?
I set all my frames and the controls inside them to false at design time, then I want to be able to enable different frames at run time.
If you set the frame to disable, all the controls inside are disabled.
Well thats not really true, it's true that you can't do anything with them, but they are not disabled. I already solved this myself, its was really strange maybe you know why: If my frames  had the same "Caption" then they gave me alot of trouble, it didn't matter that they had different names. hmmm  Waty! just give me an answer and the points is yours.
ASKER CERTIFIED SOLUTION
Avatar of mdougan
mdougan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
mdougan:

slobstar asked waty to answer for the points. I assume it was a mistake of yours to answer this question. slobstar should reject IMHO.