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

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

Basic4ppc Wishlist Missing any feature?

Toggle Button..?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-30-2008, 08:57 PM
Senior Member
 
Join Date: Apr 2008
Location: Duesseldorf, Germany
Posts: 154
Default Toggle Button..?

Hello,

i miss a toggle button in B4P.Same like normal button, but it stays pressed once clicked and comes out again if clicked second time.Can be useful to enable/disable or start/stop something.

regards

TWELVE
Reply With Quote
  #2 (permalink)  
Old 04-30-2008, 09:19 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 162
Default

I'll have to look, but I thought that it was possible to do this with an ImageButton...


Gary
__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote
  #3 (permalink)  
Old 04-30-2008, 10:06 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Easily done using a normal button or image button, and estableshing a flag...
Here's a simple example...
Attached Files
File Type: sbp tooglebutton.sbp (722 Bytes, 34 views)
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #4 (permalink)  
Old 05-01-2008, 02:16 AM
Senior Member
 
Join Date: Apr 2008
Location: Duesseldorf, Germany
Posts: 154
Default

Hello,

i really appreciate your work, but that's not the same like a toggle button.
Apart from this, i do not want colored buttons every time.
Have a look at other IDEs/Languages, most of i know do have a Toggle button as a standard GUI element/control.

regards

TWELVE
Reply With Quote
  #5 (permalink)  
Old 05-01-2008, 05:22 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Currently you can put a toggle button on the ToolBar.
Reply With Quote
  #6 (permalink)  
Old 06-04-2008, 05:43 AM
Senior Member
 
Join Date: Apr 2008
Location: Duesseldorf, Germany
Posts: 154
Default

Hi Erel,

the toolbar button is not appropriate replacement for a button control with toggle property.

Is it that hard to implement such a toggle button..? It can save space on the GUI and also makes some other things easier.

cheers

TWELVE
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
Ability to toggle WiFi on and off Phil2 Basic4ppc Wishlist 1 09-12-2008 01:58 PM
Toggle WiFi/BT/Phone using .NET code Mr_Gee Questions (Windows Mobile) 2 09-11-2008 04:27 PM
Hiding SIP button Byak@ Questions (Windows Mobile) 3 09-03-2008 01:10 PM
Close(ok) Button TWELVE Questions (Windows Mobile) 10 06-08-2008 03:41 PM
SIP button skipper Questions (Windows Mobile) 3 03-05-2008 02:55 PM


All times are GMT. The time now is 11:16 AM.


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