Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Code Samples & Tips
Home Register FAQ Members List 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, 06:50 PM
MM2forever's Avatar
Junior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 49
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, 60 views)
Reply With Quote
  #2 (permalink)  
Old 09-29-2007, 07:50 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,345
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

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing

Last edited by Cableguy : 09-29-2007 at 07:52 PM.
Reply With Quote
  #3 (permalink)  
Old 09-29-2007, 08:14 PM
MM2forever's Avatar
Junior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 49
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 08:17 PM. Reason: additional hint
Reply With Quote
  #4 (permalink)  
Old 09-29-2007, 08:18 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,345
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

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #5 (permalink)  
Old 09-29-2007, 08:27 PM
MM2forever's Avatar
Junior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 49
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need for context menu francisco cobos Questions & Help Needed 6 03-05-2008 03:33 PM
Menu Editor glook Basic4ppc Wishlist 0 11-26-2007 04:47 PM
bigger menu Zemog Questions & Help Needed 3 07-21-2007 06:02 PM
Bottom menu Zemog Questions & Help Needed 6 06-26-2007 10:22 PM
Menu changes Form Size BPak Questions & Help Needed 2 05-06-2007 06:56 AM


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


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0