I recently had a problem with drawings on a form "flickering". See this thread: http://www.b4x.com/forum/questions-help-needed/6302-form-drawings-flickering.html.
The solution was to complete the drawings on a hidden form, then move the image to a visible form.
Unfortunately, this isn't working on a FormEx, using the FormExDesktop library.
When drawing on a hidden FormEx, nothing seems to be happening. It's possible to draw on a regular form, then move the image to a FormEx.
To do this, the FormEx needs to be refreshed, which causes even worse flickering.
I also tried drawing on a Bitmap using the ImageLib, but with the same result.
How can I fix this?
I attached a small example. You can't really see the flickering in the example, but in a more graphics-intense program it becomes quite disturbing.
Thanks.
The solution was to complete the drawings on a hidden form, then move the image to a visible form.
Unfortunately, this isn't working on a FormEx, using the FormExDesktop library.
When drawing on a hidden FormEx, nothing seems to be happening. It's possible to draw on a regular form, then move the image to a FormEx.
To do this, the FormEx needs to be refreshed, which causes even worse flickering.
I also tried drawing on a Bitmap using the ImageLib, but with the same result.
How can I fix this?
I attached a small example. You can't really see the flickering in the example, but in a more graphics-intense program it becomes quite disturbing.
Thanks.
Attachments
Last edited: