The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 UIM - combox OriginPro7G

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
blt2si Posted - 10/29/2003 : 09:33:40 AM
Hi all,
This may seem like a really simple thing, but i can't actually get it to work. How do i edit the list and add names to a UIM COMBOX (in OriginPro 7G)? I've tried right clicking on the COMBOX and trying to access properties but it wont open the properties menu at all. Is there something i have to activate to allow it to work or am i going about it all wrong?
Thanx heaps for any help!
4   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 11/01/2003 : 6:57:29 PM
UIM documentation is in your OriginPro Manual. COMBOX starts on page 223 in the English version.

BTW, if you're using Origin 7 and have placed your COMBOX in the plot control region you won't be able to edit it manually by accessing it with the mouse. But Labtalk properties and methods should still work. (I mention that because you said you can't get at its properties.)

...As I recall, COMBOX has no properties that are manually editable anyway. In other words, the Properties selection on its context menu does nothing no matter where you've placed it.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 11/01/2003 7:22:29 PM

Edited by - Mike Buess on 11/01/2003 7:40:53 PM
ToniMueckl Posted - 11/01/2003 : 4:32:28 PM
Hi,

the following examples I took from the (english version of the) Origin7G help file on the LabTalk getn (GetNumber) command:

----

%A = enter name;
i = 1;
j = 1;
k = 0;
%B = "line1 line2 line3"; // drop down list with three entries
getn
(X Minimum) MyVar // a variable
(my boolean) k:2s // show remaining items if k = 1 (checked)
(my list) i:B // use %B as the list items
(Color) j:@C // color list, init j = 1
(Your Name) %%A // %% to preserve %A for holding the name
(Title of this dialog); // end of getnumber

----
You also might find more details there. You can create a dialog window with up to nine different boxes.

Bye
Toni
blt2si Posted - 10/30/2003 : 03:34:33 AM
Sorry, maybe i didnt explain that properly! Im doing programming in Origin using Labtalk and would like to create a list for a user to select from, which is why i want to insert a COMBOX and edit the list with choices for the user to choose from. If the only way to access the combox is through programming, can anyone provide a small example of how to program the choices on these lists? Thank you!!
greg Posted - 10/29/2003 : 11:33:12 AM
You can only programmatically access the ComboBox and ListBox items - that is, a user can only select from the items in the list.
If you need to allow the user to edit the lists, then you need to provide the controls and code to do that.




The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000