SMath Studio Forum
»
SMath Studio
»
Questions
»
Combobox with Variable Selection
Rank: Advanced Member Groups: Registered
Joined: 25/09/2013(UTC) Posts: 325 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 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
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,647 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? 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 |
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Combobox with Variable Selection
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.