When you set a Button's Visible parameter to False, this means that the button is no more available ! That's the purpose of this parameter.
To have an invisible button you can do it with:
- an ImageButton with it's Transparent parameter set to True
- directly with the form's MouseDown or MouseUp events, the program checks if the mouse pointer is in a given area and if yes executes the code.
Attached a small program to show it.
Best regards.
__________________
Klaus
Switzerland
|