Invisible command buttons in VB 4.0

helpmeplz
03-27-2003, 12:45 PM
how can i make my command buttons transparent and still active. everytime i tell it command1.visible=false it disables it. i want to be able to have a button thats invisible that i can still click. PLEASE HELP

navet1ss
03-27-2003, 01:25 PM
how can i make my command buttons transparent and still active. everytime i tell it command1.visible=false it disables it. i want to be able to have a button thats invisible that i can still click. PLEASE HELP

Use an Image control (not the Picture control) instead of a command button. If you don't specify a picture in the picture property what you will have is a transparent hotspot which is what I think you're looking for. You will, however, loose the ability to operate it with the keyboard (tab & enter).

Flyguy
03-27-2003, 03:21 PM
Invisible means also not available.
So you can't click an invisible form, button or other control.
What are you trying to accomplish?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum