olivier Posted January 5, 2011 Report Share Posted January 5, 2011 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 More sharing options...
Damian Posted January 5, 2011 Report Share Posted January 5, 2011 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 More sharing options...
Stein Yair Posted January 6, 2011 Report Share Posted January 6, 2011 Hi, What you should do is to use the "hide" option as follows: When you want to display the text - activate the "hide" and in the following scan de-activate it. See example attached. 2 texts.vlp Link to comment Share on other sites More sharing options...
olivier Posted January 6, 2011 Author Report Share Posted January 6, 2011 you are using a beta version of visilogic? it said database 145 and my version is 144 ?! Link to comment Share on other sites More sharing options...
Stein Yair Posted January 6, 2011 Report Share Posted January 6, 2011 This is the correct version 2 texts.vlp Link to comment Share on other sites More sharing options...
olivier Posted January 6, 2011 Author Report Share Posted January 6, 2011 Thank you it works as i want... Link to comment Share on other sites More sharing options...
Deke Posted January 7, 2011 Report Share Posted January 7, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now