View Single Post
  #2 (permalink)  
Old 03-11-2010, 09:53 AM
klaus's Avatar
klaus klaus is offline
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,807
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

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.
Attached Files
File Type: zip InvisibleButton.zip (11.3 KB, 6 views)
__________________
Klaus
Switzerland
Reply With Quote