-
Editbox and transparency
I obviously have some difficulties with transparency those days ;)
In my application, I'm using the transparency option of the EditBox (multiline) but this is working only when I'll click and give the focus (by clicking on it, not by event), othewise, it seems like the transparency isn't redraw.
Is there a way or is it a bug which is not fixable ?
Thanks
______
Dans mon application, j'utilise l'option Transparent de l'objet Boite de Dialogue (en mode multiline) mais la transparence fonctionne correctement uniquement lorsque je clique dessus et que je lui donne le focus (en cliquant dessus, et non par un événement), autrement la transparence ne semble pas être redessinnée et laisse apparaitre le dernier element en profondeur de la scene.
Il y a t-il un moyen ou n'est-ce qu'un bug irréparable ?
Merci
-
-
iosconstruct - I don't think transparency works if your using Hardware Accelerated mode (Direct3D8 or Direct3D9). Seems to be fine in Standard mode. If you think its a bug, upload a simple example to show ClickTeam and others, then they can analyze it.
-
AyreGuitar, yes I noticed this. But I'm working with the standard mode only -
Obviously, I didn't explain precisely my issue.
The editbox is hidden at beginning - the background too.
By event, both object are displayed at the same time -
Here is a MFA to give you more informations -
-
It only works with transparency when you set 'multi-line' to on
-
Danny did you open my MFA ? Obviously not.
-
1 Attachment(s)
iosconstruct - Interesting! Seems like it's not redrawing the Edit Box. If you need a workaround, move the Show Edit Box action onto a new line with Is Active visible? condition. This fixes it (I suppose it displays it one frame later). MFA Attached
-
AyreGuitar,
Yes it works in your example, and If I reproduce it into a new scene, it works well too.
BUT by reproducing it into my actual project, it still occurs the same graphic bug - Sounds like a bug in my scene...