|
-
Feb 24th, 2008, 05:53 PM
#1
Thread Starter
Banned
[RESOLVED] [2005] MainMenu from left to right freezen!
Hi guys
I need your help, maybe many of you know about this. I have no problem to move the text from left to right with context menu which they make immediately, but the problem with mainmenu is that when I tried to move the text from left to right and they freezen slowly didn't move immediately. Here it the code:
Code:
Me.ContextMenu1.RightToLeft = Windows.Forms.RightToLeft.Yes
Are there any other situcation that I can move the menu items to the right immediately without being freezen??
Thanks,
Mark
Last edited by Mark103; Feb 28th, 2008 at 06:54 PM.
-
Feb 24th, 2008, 07:53 PM
#2
Re: [2005] MainMenu from left to right freezen!
Where do you execute that line?
-
Feb 24th, 2008, 07:56 PM
#3
Re: [2005] MainMenu from left to right freezen!
And also, use the ContextMenuStrip component as its the "new" replacement for the ContextMenu component.
-
Feb 25th, 2008, 05:07 PM
#4
Thread Starter
Banned
Re: [2005] MainMenu from left to right freezen!
Oh sorry, it was my mistake and I didn't means to say it. There is a problem with MainMenu1 when I tried to control them from left to right side.
Here it the code:
Code:
Me.MainMenu1.RightToLeft = Windows.Forms.RightToLeft.Yes
Do you know why mainmenu goes frozen when I contol them and put from left to right side??
Hope there is a way to get it solve without being frozen!
Thanks,
Mark
-
Feb 27th, 2008, 08:33 PM
#5
Thread Starter
Banned
Re: [2005] MainMenu from left to right freezen!
-
Feb 28th, 2008, 06:05 PM
#6
Thread Starter
Banned
Re: [2005] MainMenu from left to right freezen!
Found the problem so don't need any help. RESOLVED!
Last edited by Mark103; Feb 28th, 2008 at 06:54 PM.
-
Feb 28th, 2008, 07:16 PM
#7
Re: [RESOLVED] [2005] MainMenu from left to right freezen!
Could you post the solution here incase someone else has this problem in the future?
-
Feb 28th, 2008, 09:11 PM
#8
Thread Starter
Banned
Re: [RESOLVED] [2005] MainMenu from left to right freezen!
ok, here it is:
Code:
Me.MainMenu1.RightToLeft = Windows.Forms.RightToLeft.Yes
MainMenu1.MenuItems.Add(mnuFile)
MainMenu1.MenuItems.Add(mnuView)
MainMenu1.MenuItems.Add(Tools)
MainMenu1.MenuItems.Add(Help)
It will actually works when you put the name of your form, E.G the name of the file menu would be 'mnuFile' so put your own menu name on the code next to .Add.
You can put on many as you can and you will see it will works 
Thanks,
Mark
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|