custom regions

custom regions - Сообщения

#1 Опубликовано: 09.01.2012 18:38:56
kilele

kilele

133 сообщений из 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 Опубликовано: 10.01.2012 04:48:24
Andrey Ivashov

Andrey Ivashov

2269 сообщений из 3729 понравились пользователям.

Группа: 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 Опубликовано: 10.01.2012 10:57:22
kilele

kilele

133 сообщений из 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 Опубликовано: 11.01.2012 05:31:59
Andrey Ivashov

Andrey Ivashov

2269 сообщений из 3729 понравились пользователям.

Группа: 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 Опубликовано: 11.01.2012 22:30:30
Edward Ulle

Edward Ulle

20 сообщений из 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 Опубликовано: 12.01.2012 04:31:11
Andrey Ivashov

Andrey Ivashov

2269 сообщений из 3729 понравились пользователям.

Группа: 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.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений