Hi all:
I have a context menu that I want to show on my rich text box. The code seems to work fine, but the backcolor is white and the menu text is also white.
This is what I have:
[code>>MouseDown Event]
Dim M As MenuItem
Dim i As Integer
Dim PT As New Point(Cursor.Position.X, Cursor.Position.X)
cmEditor.MenuItems.Clear()
For Each M In EditMenu.MenuItems
M = New MenuItem
cmEditor.MenuItems.Add(M.Text)
Next
cmEditor.Show(Editor, PT)
[/code]
I've never experienced this type of behavior before.
Any help will be greatly appreciated.
Thanks,
Ron Repp
If gray hair is a sign of wisdom, then I'm a genius.
My newest novel: Wooden Warriors
I have a context menu that I want to show on my rich text box. The code seems to work fine, but the backcolor is white and the menu text is also white.
This is what I have:
[code>>MouseDown Event]
Dim M As MenuItem
Dim i As Integer
Dim PT As New Point(Cursor.Position.X, Cursor.Position.X)
cmEditor.MenuItems.Clear()
For Each M In EditMenu.MenuItems
M = New MenuItem
cmEditor.MenuItems.Add(M.Text)
Next
cmEditor.Show(Editor, PT)
[/code]
I've never experienced this type of behavior before.
Any help will be greatly appreciated.
Thanks,
Ron Repp
If gray hair is a sign of wisdom, then I'm a genius.
My newest novel: Wooden Warriors