Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Menu items alignment


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-27-2007, 01:01 PM
Basic4ppc Veteran
 
Join Date: May 2007
Posts: 210
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default Menu items alignment

The menu items in my program are aligned to the right (maybe because the device uses also Hebrew.
Is ther a way to Left-align them ?
I tried to use the FormLib (which is for textboxes and panels) and got the "invalid Cast Exception"
Attached Images
File Type: jpg menu2.JPG (11.8 KB, 19 views)
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #2 (permalink)  
Old 12-27-2007, 01:26 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

You can't change the alignment.
It is an effect of the Hebrew language program.
Reply With Quote
  #3 (permalink)  
Old 12-27-2007, 08:26 PM
Basic4ppc Veteran
 
Join Date: May 2007
Posts: 210
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Well, you'll be surprized...
Attached Images
File Type: jpg menu3.JPG (29.0 KB, 15 views)
__________________
David Erez
Ramat Hasharon, Israel

Last edited by derez : 12-27-2007 at 08:32 PM. Reason: forgot the picture
Reply With Quote
  #4 (permalink)  
Old 12-27-2007, 10:27 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 164
Default

Okay, I'll bite.... how did you do that?

Last edited by willisgt : 12-28-2007 at 02:14 PM.
Reply With Quote
  #5 (permalink)  
Old 12-27-2007, 10:47 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,463
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I think the question was "How did you do that?"
__________________
Paulo Gomes
Porto, Portugal

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

DLL Version Listing
Reply With Quote
  #6 (permalink)  
Old 12-28-2007, 01:14 PM
Basic4ppc Veteran
 
Join Date: May 2007
Posts: 210
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

You can see in the original that long menu items were pushed left, so I added blanks after the menu item text until all were pushed left in the sufficient space. It took some trial and error because the length of the blank is not the same as the other letters.

Sorry, nothing smart but it looks like what I wanted

Erel !
By the way, in my first post here there is a right bracket missing and the posts compiler did not say it's an error.
__________________
David Erez
Ramat Hasharon, Israel

Last edited by derez : 12-28-2007 at 01:18 PM.
Reply With Quote
  #7 (permalink)  
Old 12-28-2007, 01:21 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

Quote:
Erel !
By the way, in my first post here there is a right bracket missing and the posts compiler did not say it's an error.
Were you using the optimized forum compiler or the regular one?
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
ImageList items as Reference? DaveW Questions & Help Needed 3 11-07-2008 08:35 AM
Deleting and Re-Creating Menu Items with Same Name aerohost Bug Reports 4 06-22-2008 05:07 AM
How to fix ListBox Items? Stellaferox Questions & Help Needed 12 02-22-2008 10:50 AM
Table Text Alignment BPak Basic4ppc Wishlist 5 09-03-2007 10:34 PM
Can we compare imagelist items? Cableguy Questions & Help Needed 1 06-02-2007 06:03 PM


All times are GMT. The time now is 05:53 PM.


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