T O P I C R E V I E W |
jonni |
Posted - 12/01/2003 : 11:25:25 AM is it possible to create Visual components on the Origin MDI Windows (for example when I plot a data rigthclick->plot->Special Line->Watrfall, i can see on a graph window a group box with a set of buttons) How can I place my visual components on MDI origin window?? are any examples availabel? which Visual components are availabel? |
3 L A T E S T R E P L I E S (Newest First) |
Mike Buess |
Posted - 12/02/2003 : 08:27:36 AM Sounds like UIM is definitely what you want. By "fancy text labels" I meant only that they're labtalk controlled. There are several UIM object types... bitmap button, text button, radio button, check box, list box, spin box and more.
If you don't have a Buttons folder there are probably several other examples scattered throughout your program folder. The column statistics worksheet template (colstat.otw) is one.
...For more UIM examples check out the Plot Window links in the descriptions of the NMR Tools for Origin 5, 6 and 6.1 at http://www.nmrtools.com.
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 12/02/2003 09:19:14 AM |
jonni |
Posted - 12/02/2003 : 06:27:10 AM thanks Mike Buess,
i'm usin origin7 (trying 7.5)
the problem is that i need something more than "just fancy text labels"
i found an examples in origin7.5 in the folder Samples\Programming\User-Defined Import which allows you to "create" dialogs in the MSVC but the defenitions of the MSVC (MFC) classes in Origin are not full (many propeteis and methods are lost) and for example when you do a button m_but=GetItem(IDI_MYBUT) (you defined in dll a button with an id=IDI_MYBUT) you have a quite "restricted" button and what is more unfortunate it is that you can not to place objects on a origin MDI functions.
are any solyutions awailable?
|
Mike Buess |
Posted - 12/01/2003 : 7:27:32 PM The visual components you refer to are called UIM objects and OriginPro is needed to create them. UIM documentation is in the OriginPro Manual but I think even Origin standard contains a few more examples on the templates in the Buttons folder.
UIM objects are really just fancy text labels but they can be very useful nonetheless. They are LabTalk objects with both common and unique properties and methods. Switch to Button Edit mode in order to select them and get at their properties.
...Unfortunately it's not possible in Origin 7 or later to select the UIM object on the Waterfall template that you gave as an example. That's because it's in the "control region" of the plot which is no longer manually accessible.
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 12/01/2003 7:37:20 PM |