dosyl
asked on
Command Button invisible!!!!!
I have a CommandButton in a Frame in a TabStrip. I run my pgm. and the button is in my frame; i change Tab and i come back on the Tab where the button was, it is disppear.
I check the visibility(debug.print cmdButton.visible) and it is True.
What can i check and how?
I can't put a breakpoint, the pgm. return where the sub was called.
I check the visibility(debug.print cmdButton.visible) and it is True.
What can i check and how?
I can't put a breakpoint, the pgm. return where the sub was called.
You may also try
Command1.ZOrder 0
Command1.ZOrder 0
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Yes I've got my money on the button is not IN the frame but behind it somehow you got them on the form separately such as adding it to the tab without the frame being selected to make it within the frame.
If that isnt it you may have a problem with IE5 and NT4 where I installed SQL 7 and all of my toolbars and stuff dont redraw properly now known bug with this configuration I've seen/heard it elsewhere.
Or the last chance longshot might be to check your video hardware acceleration to set it lower. Some 2D graphics engines take shortcuts and assume certain objects wont need to be redrawn and they are wrong sometimes. Lowering the acceleration in your advanced display preferences sometimes helps but like I said LONGSHOT.
If that isnt it you may have a problem with IE5 and NT4 where I installed SQL 7 and all of my toolbars and stuff dont redraw properly now known bug with this configuration I've seen/heard it elsewhere.
Or the last chance longshot might be to check your video hardware acceleration to set it lower. Some 2D graphics engines take shortcuts and assume certain objects wont need to be redrawn and they are wrong sometimes. Lowering the acceleration in your advanced display preferences sometimes helps but like I said LONGSHOT.
ASKER
damienm , I believe, it is true but how to cut it and paste it in the Frame?
ASKER
Zorder=False always
Very simple:
Select the button, then Cut
Select the frame, then Paste
btw: damienm deserves the credits (ie points) for this one!
Select the button, then Cut
Select the frame, then Paste
btw: damienm deserves the credits (ie points) for this one!
ASKER
(Edited by Computer101) me, i surely didn't select the Frame right away.
Thank's to all of you. I don't know what i would do if EE doesn't exist.
Thank's to all of you. I don't know what i would do if EE doesn't exist.
Is the button behind another control?
Debug.Print Command1.Container
Debug.Print Command1.Top; Command1.Left