Action Item Not Firing


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
I am attempting to create a window following the example of the StrataFlix application. I have my window and a dialog with action items defined. The action items have a click event associated with them; however, when I click on a menu item after the dialog comes up, nothing happens. The click event is not firing.



Thoughts?



Thanks,

Bill
Replies
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
I did a close review of one form that was working and the one that wasn't. The missing code was:





private void tlmActions_ItemClicked(object sender, MicroFour.StrataFrame.UI.Windows.Forms.ThemedLinkMenuClickEventArgs e)

{

((ActionLinkMenuItem)e.Item).OnClick();

}





Works like a charm, now! Thanks!! BigGrin
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Yeah, that is what I thought might have been missing. Good eye! Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Bill Cunnien - 15 Years Ago
Edhy Rijo - 15 Years Ago
Bill Cunnien - 15 Years Ago
                 What does your class look like?
Trent L. Taylor - 15 Years Ago
Bill Cunnien - 15 Years Ago
                         Yeah, that is what I thought might have been missing. Good eye! :)
Trent L. Taylor - 15 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search