Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Eric LeVin
|
Aug 12, 2009 - 3:57 AM
|
Hello,
I am adding buttons to a popup menu in code.
The problem is that the buttons added do not have the mouse-over shading effect. Everything else, including the click event works.
What am I missing?
Thanks!
My code:
Dim Temp As New Elegant.Ui.Button For I As Integer = 0 To 10 Temp = New Elegant.Ui.Button Temp.Name = "bm" & I Temp.Text = "Hello " & I rbServerBookmarks.Popup.Child.Controls.Add(Temp) AddHandler Temp.Click, AddressOf BookmarkHandle Next
|
|
Technical Support
|
Aug 12, 2009 - 4:27 AM
|
When using a popup menu in Elegant Ui, you should always use the PopupMenu class which has the Items property. You can use PopupMenu.Items.Add() method for adding controls to your popup menu.
|
|