Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline RFreund  
#1 Posted : 13 March 2017 00:10:51(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
Is it possible to create a combobox that has a variable matrix. Meaning if x use Y matrix, else use Z matrix.
See attached. I have 2 matrices. Depending on what is selected from a different combobox I'd like to change the matrix that the next combobox uses.
I understand that I can put the "if statement" between the comboboxes but this doesn't look as clean Good

Thanks in advance!

Combobox List - variable matrix.sm (11kb) downloaded 95 time(s).

Edit_1:
Note - If actually using this for Masonry the if statement is incorrect. This doesn't matter for the question at hand though

Edited by user 13 March 2017 00:14:01(UTC)  | Reason: See Edit_1

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 13 March 2017 01:52:44(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
But actually you have the if statement, right before the first combobox; how it is more clean? Good

If you use a line() on MMCS, then you can place MMCS:MMCS out of the right margin after the first combobox making it available for the 2nd combobox. If you need to reuse it, you can define MMCS as a function MMCS(MUM), and then you can define MMCS:MMCS(MUM) after the first combobox (below or out of the printing bounds)
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.