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

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

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Image Button

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2007, 11:39 AM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default Image Button

After changing the Text in an Image Button you need to Refresh the button to show new text. Can this be fixed in the next version?
Reply With Quote
  #2 (permalink)  
Old 10-18-2007, 01:12 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It will be fixed.
Reply With Quote
  #3 (permalink)  
Old 10-18-2007, 01:25 PM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Very nice, thank you, Erel!
Perhaps mouse_down and mouse_up events, too?
Reply With Quote
  #4 (permalink)  
Old 10-18-2007, 02:09 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Why do you need these events for the ImageButton ?
Reply With Quote
  #5 (permalink)  
Old 10-18-2007, 02:29 PM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Four image buttons with arrows (GIF) would control a telescope in all four directions. It will for instance slew left as long as you keep the Left arrow button pressed (mouse down) and stop as you release the image button (mouse up). The mouse up event would send a "stop" command.

A standard button will do alike, however it can't take up images. Using a form's mouse events requires capture of screen coordinates, thus more source code and... error-prone.

Mouse events on an image button would be great for any application that controls external devices via a serial port or otherwise.
Reply With Quote
  #6 (permalink)  
Old 10-18-2007, 02:39 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

That is a good reason.
They will be added.
Reply With Quote
  #7 (permalink)  
Old 10-18-2007, 02:43 PM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Thanks a lot in advance, Erel.
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
SIP button skipper Questions (Windows Mobile) 3 03-05-2008 02:55 PM
Image Button kommt nicht wieder "hoch" troll German Forum 3 02-22-2008 09:03 AM
Still can't create an image button in runtime... Cableguy Basic4ppc Wishlist 3 06-19-2007 07:21 PM
Move an image inside an image control Cableguy Questions (Windows Mobile) 5 05-14-2007 07:40 PM
Image Button images Nkieto Questions (Windows Mobile) 1 05-01-2007 02:55 PM


All times are GMT. The time now is 05:32 AM.


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