> Ah now I see that he's creating
> the buttons programmatically, so
> I'm not sure how it would work in
> that case.
Yep. It's not difficult to do things like this with VB.NET or C#, but in those cases you use New to instantiate a Delegate object & have it respond to the control's events. The C# case should work out pretty much the same using CreateInstance in VEE, but I can't find the right way to make it work.
FCL people?
-SHAWN-
---
You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
> the buttons programmatically, so
> I'm not sure how it would work in
> that case.
Yep. It's not difficult to do things like this with VB.NET or C#, but in those cases you use New to instantiate a Delegate object & have it respond to the control's events. The C# case should work out pretty much the same using CreateInstance in VEE, but I can't find the right way to make it work.
FCL people?
-SHAWN-
---
You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
Cheers
Nick
_____
From: Losik, Vlad [mailto:losikv@tycoelectronics.com]
Sent: 20 May 2008 15:46
To: VRF
Subject: RE: [vrf] Matlab 2007a figure viewer menu items
I raised this question before and got reply from Agilent.
In a nutshell it goes like this:
Prior to Vee8.5 the matlab engine was "matlab run time server"
In latest matlab release this was replaced by matlab compiler generated binary libraries.
So it includes only the future Mathworks decided to make available (in that case not all menu options on graph figure are made available in binaries.)
Among other things it means that you can no longer extend matlab engine by compiling your own functions in p-code.
This was decided by MathWorks and has nothing to do with Agilent so nothing can be done about it.
Hope this helps
Vlad
_____
From: Nick Evans [mailto:nick@evanstest.co.uk]
Sent: Tuesday, May 20, 2008 10:09 AM
To: VRF
Subject: [vrf] Matlab 2007a figure viewer menu items
Hi All
I am using agilent vee pro 8.5. I just had occasion to revisit some old code developed in vee 8.0 that uses Matlab graphing. I notice now that when the graph pops up in Matlab (2007a) the matlab menu bar is now severely depopulated.
With the version of Matlab script shipped with vee 8.0, the figure menu bar includes items for “File”, “Edit”, “Tools”, “Window”, “Help”. The new version of Matlab only shows “File” and even that menu item has been depopulated of items (no page setup now for example).
Has anyone else noticed this? More importantly, how can I get the default menu items from the previous version of matlab back? The old Matlab window had nice built in functions to allow the user to annotate the graph, etc.
Interestingly if you look at the documentation for Matlab 2007a it at least implies that there should be a lot of menu items present (based on screen shots). Is vee restricting the menu items being shown in some way?
Thanks and regards
Nick
---
You are currently subscribed to vrf as: nick@evanstest.co.uk
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
---
You are currently subscribed to vrf as: ming_meng@agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".