ListActionExtender on ContextStripMenu
 
CapableObjects Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



ListActionExtender on ContextStripMenu Expand / Collapse
Author
Message
Posted 2010-03-02 16:02:07
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2010-06-16 15:06:55
Posts: 8, Visits: 30
Hi,
Has anyone tried to implement the subj(Edit: It's ContextMenuStrip ofc^^), in Eco.Windows.Forms?

I tried to and it kinda works, but..

Non of the localization is working, I just get alot of [Missing manifest resource: "xxxxxxxxxxx"]
When I use my own compiled version, I get some wierd errors from the VS Form Designer eg. If I add a component and delete it again I get the following error:
"An error occurred while procession this command.
Object reference not set to an instance of an object."

Has anyone gotten this to work? It's kinda silly it isn't implementet by default

I'm using VS08 with Eco 5

--
Kind Regards
Michael
Post #4948
Posted 2010-03-05 10:32:22
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2010-07-21 00:21:24
Posts: 1 228, Visits: 1 373
The original code implements support for MenuItem, but that is a semi deprecated class. I have added support for ToolStripDropDownItems in the trunk (for ECO6) now.

You are supposed to be able to just subclass the existing extender class and override the method "CanExtend" and return true if the extendee is a ToolStripDropDownItem (if not, return base(extendee))

Do you get the exceptions inside VS? do you get any callstacks? If not, can you attach your debugger to an instance of VS and grab the callstack from there?


/Jonas Hogstrom [CapableObjects]
Post #4971
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: HansKarlsen, Jonas Hogstrom

Permissions Expand / Collapse

All times are GMT +1:00, Time now is 4:23

Powered By InstantForum.NET v4.1.4 © 2010
Execution: 0,125. 7 queries. Compression Disabled.