custom regions

custom regions - Mensajes

#1 Publicado: 9/1/2012 18:38:56
kilele

kilele

134 me gusta en 397 mensajes.

Grupo: 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 Publicado: 10/1/2012 4:48:24
Andrey Ivashov

Andrey Ivashov

2.343 me gusta en 4.056 mensajes.

Grupo: 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 Publicado: 10/1/2012 10:57:22
kilele

kilele

134 me gusta en 397 mensajes.

Grupo: 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 Publicado: 11/1/2012 5:31:59
Andrey Ivashov

Andrey Ivashov

2.343 me gusta en 4.056 mensajes.

Grupo: 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 Publicado: 11/1/2012 22:30:30
Edward Ulle

Edward Ulle

21 me gusta en 182 mensajes.

Grupo: 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 Publicado: 12/1/2012 4:31:11
Andrey Ivashov

Andrey Ivashov

2.343 me gusta en 4.056 mensajes.

Grupo: 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.
  • Nuevos mensajes
  • Sin mensajes nuevos