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

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

Code Samples & Tips Share your recent discoveries and ideas with other users.

Menu Bar Separator

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-29-2007, 05:50 PM
MM2forever's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 103
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default Menu Bar Separator

I've searched the forums for a while to make sure that this isn't a well-known thing, but I still fear it could be one.
In that case:

I was making some increase/decrease menu buttons labeled with "+" and "-".
I noticed that there wasnt any "-" menu while running on desktop, instead
the menu bar itself was bigger and in this 2nd row there was an unlabeled button.
Giving this button a node creates an error on the pocket pc, but having menues after this one in the root creates the "|" separator just as seen in many programs.

Just call me a If this is already written somewhere.
Attached Files
File Type: sbp separator.sbp (387 Bytes, 94 views)
Reply With Quote
  #2 (permalink)  
Old 09-29-2007, 06:50 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

No, this hasn't yet been posted...

I see your proble and present a possible solution:
instead of + and - (wich result in a separator), you could use (+) and (-), in this case being the first letter NOT the minus sign, it should present it self correctly.

PS: I' not sure if this wasn't suposed to be posted in the Questions forum....
__________________
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!

Last edited by Cableguy : 09-29-2007 at 06:52 PM.
Reply With Quote
  #3 (permalink)  
Old 09-29-2007, 07:14 PM
MM2forever's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 103
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default

it wasnt supposed to be a question, more informing about my recent discovery
If it would be possible to add a menu item @ runtime, it could be defined with Chr(45) - like having quots in a string... dunno

edit:// having spaces in the menu button string label " - " is also an option

Last edited by MM2forever : 09-29-2007 at 07:17 PM. Reason: additional hint
Reply With Quote
  #4 (permalink)  
Old 09-29-2007, 07:18 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

Althought you cant create menuitems in runtime, you CAN rename them....thus being able to use the char(45) as you posted...
__________________
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
  #5 (permalink)  
Old 09-29-2007, 07:27 PM
MM2forever's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 103
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default

oh yeah - cable guy : always 1 thought ahead (meant to be positive)

unfortunally it generates an exeption

btw: havin spaces also makes buttons bigger which is a nice side-effect for the click'in user....
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
Need for context menu francisco cobos Questions (Windows Mobile) 6 03-05-2008 02:33 PM
Menu Editor glook Basic4ppc Wishlist 0 11-26-2007 03:47 PM
bigger menu Zemog Questions (Windows Mobile) 3 07-21-2007 05:02 PM
Bottom menu Zemog Questions (Windows Mobile) 6 06-26-2007 09:22 PM
Menu changes Form Size BPak Questions (Windows Mobile) 2 05-06-2007 05:56 AM


All times are GMT. The time now is 10:58 PM.


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