Jump to content

Changing draw order by code


Recommended Posts

hi,

Is there a way to change the draw order of element dynamically by ladder function?

I got two text at the same place on the screen i want to hide one and see the other. But just by using the Hide property the top level text is hidden but the bottom level text isn't visible.

I can't use list of text because i wan't different font size for each text.

Thank you

Link to comment
Share on other sites

But just by using the Hide property the top level text is hidden but the bottom level text isn't visible.

I can't use list of text because i wan't different font size for each text.

Thank you

I never noticed this until you just pointed it out. If it is just going to be this one occurance, as a work around, you could use a binary image instead and create the text as an image. I know its a crummy workaround, but it is guaranteed to work.

Hide really should cause the thing to completly disappear though. IMHO i would consider this a bug.

Link to comment
Share on other sites

Hi olivier,

I can't use list of text because i wan't different font size for each text.

Yes you can use the list of texts, to have different sizes of fonts, you have to use the string library and set the font from within the string library.

Hope this helps

Deke

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Confirm to continue.