Resize

Post your suggestions for future versions of NeoBook

Moderator: Neosoft Support

Locked
mishem
Posts: 581
Joined: Mon Oct 08, 2012 1:51 pm

Resize

Post by mishem »

There are some problems.
If the code is used in the object container, he repeated twice.
So if in the end put the delete variable, the error will occur.

If the project properties to write code that is in working order. But only when the mouse is released.

As usual I made a video that would be understandable.

http://rghost.ru/54507988
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: Resize

Post by Neosoft Support »

Both of these are working as intended. You can prevent the container resize code from executing multiple times, by adding a variable. For example:

If "[Container_Resizing]" "<>" "True"
SetVar "[Container_Resizing]" "True"

.put your resize code here


SetVar "[Container_Resizing]" ""
EndIf
NeoSoft Support
Locked