Tips & Tricks

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Tips & Tricks

In this chapter we want to give you some more or less small tips, guidelines and little tricks for a better project.

 

Images in the project

Images in a project can make the difference between a "functional" or rather minimal or even bleak project and a lush eye catcher that still provides an intuitive user interface.

But one thing you should try to avoid: Creating your page layouts with (multiple) full screen images. This can lead to a memory shortage if the project becomes large (large means > 100 full screen images), because all bitmap images will be stored uncompressed in the RAM.

 

The almighty OnProjektRepeat script

I get it. It's just nice and simple. A script that is repeated all the time, no matter where you are in the project, no matter what happens with the variables and you have all your code in one place.

But there's a catch - the bigger a repeat script is, the longer it takes to execute, the more resources it needs. Worst case is if it takes so long that it's longer than the configured cycle time.

A lot of code usually comes down to variable value changes. That's when you need to calculate your formula again, that's when that converted value needs to be updated.

So instead of doing everything all the time no matter if it makes sense or not, make use of our many events, e.g. the OnValueChangeByOwner event of variables.