custom regions

custom regions - 消息

#1 已发布: 2012/1/9 18:38:56
kilele

kilele

134个赞,共397个帖子。

组: 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 已发布: 2012/1/10 04:48:24
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: 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 已发布: 2012/1/10 10:57:22
kilele

kilele

134个赞,共397个帖子。

组: 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 已发布: 2012/1/11 05:31:59
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: 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 已发布: 2012/1/11 22:30:30
Edward Ulle

Edward Ulle

21个赞,共182个帖子。

组: 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 已发布: 2012/1/12 04:31:11
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: 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.
  • 有新帖
  • 无新帖