Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Bug Reports
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.

a un-visible Button dont works

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2010, 11:46 PM
a6000000's Avatar
Junior Member
 
Join Date: Feb 2010
Location: Berlin
Posts: 19
Default a un-visible Button dont works

example Forelayer
menu-designer-frmMain-Graphics:
click on Button: "btnErase":
error: if I uncheck [ ]visible
than the Button no more works - I dont like it

I will be glad if I can make a unvisible button on/over a (background-) graphic
simply with unchecking the visible checkbox (and so I dont need to make a image-Button)

greatings from Berlin, Andreas Zastrow (a6000000)
Reply With Quote
  #2 (permalink)  
Old 03-11-2010, 09:53 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
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
  #3 (permalink)  
Old 03-11-2010, 08:54 PM
a6000000's Avatar
Junior Member
 
Join Date: Feb 2010
Location: Berlin
Posts: 19
Default

Sub ImageButton1_Click
'// danke , so hab ich noch ein ImageButton1 eingefuegt:
'// so I added a ImageButton:
'// Designer-frmMain-Controls-ImageButton: name: "ImageButton1"
Msgbox("MyImageButton1_is clicked")
End Sub
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making last Row Visible harry5568 Questions (Windows Mobile) 2 02-09-2010 05:39 PM
Build with Find/Replace visible mjcoon Bug Reports 4 02-06-2010 10:51 AM
Visible property in Form object ghale Basic4ppc Wishlist 4 08-08-2009 05:45 PM
Form Visible? In Focus? digitaldon37 Questions (Windows Mobile) 2 12-03-2008 09:26 AM
Visible property for menus alfcen Basic4ppc Wishlist 2 11-11-2007 12:15 PM


All times are GMT. The time now is 01:34 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0