custom regions

custom regions - Messages

#1 Posted: 1/9/2012 6:38:56 PM
kilele

kilele

133 likes in 397 posts.

Group: User

I'm intrigued about the new feature "custom regions" included in 0.90 version. Any hint on what it is about?
BTW, how can i donate using paypal? I already donated this way but cant see this option right now.
#2 Posted: 1/10/2012 4:48:24 AM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

Hello. You can find the Custom Region example in the opened SVN repository here: https://smath.info/svn/public/plugins/CheckBoxRegion/.
Just build the project and put the resulting DLL to "plugins" folder of SMath Studio - you will see a new Region to insert via Menu > Insert.

Regards.
#3 Posted: 1/10/2012 10:57:22 AM
kilele

kilele

133 likes in 397 posts.

Group: User

Wrote

Hello. You can find the Custom Region example in the opened SVN repository here: https://smath.info/svn/public/plugins/CheckBoxRegion/.
Just build the project and put the resulting DLL to "plugins" folder of SMath Studio - you will see a new Region to insert via Menu > Insert.

Regards.



Sorry, I'm not in programming with visualStudio yet.
Is this a new kind of region apart from "Area" introduced in 0.89.8 Beta?
Is an alternative way to program plugins without visualStudio?
Thanks
#4 Posted: 1/11/2012 5:31:59 AM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

Yes, this is something apart from Area.

I've prepared some files for you to play with it:
  1. Download Checkbox Plugin and put it to plugins folder of the installation directory of SMath Studio.

  2. Run SMath Studio and find the Checkbox item in the Insert menu.

  3. Download and open the example .sm file for quick start.

Wrote

Is an alternative way to program plugins without visualStudio?


Visual Studio is the easiest way to create plugins.

Regards.
#5 Posted: 1/11/2012 10:30:30 PM
Edward Ulle

Edward Ulle

20 likes in 182 posts.

Group: Moderator

Andrey,

The ability to add controls is an exciting addtion to SMath . I downloaded the Check Box but haven't figured how to use the control. Clicking it turns it from solid filled to empty filled but how do I associate with some value. I'll play with it this weekend. I'm thinking this will open up greater access to the SMath Desktop for other controls .
Ed
#6 Posted: 1/12/2012 4:31:11 AM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

Wrote

Clicking it turns it from solid filled to empty filled but how do I associate with some value.


Variable "checked" is hard-coded for this component for now (I will improve this plugin later). So, clicking on it will change value of this "checked" field from "0" to "1" and vise versa. I've shown it in the attached to my previous comment example.

Regards.
  • New Posts New Posts
  • No New Posts No New Posts