Page 1 of 1

How i can change the text " border = none " in runtime ?

Posted: Mon May 24, 2010 2:31 am
by lampson
How i can change the text " border = none " in runtime ?
Like this:

if(text1.Text == null) text5.border = none ;

Thank you

How i can change the text " border = none " in runtime ?

Posted: Mon May 24, 2010 4:57 am
by Jan
Hello,

You can use following code in GetValueEvent of text component:

Code: Select all

if (string.IsNullOrEmpty(e.Value))
{
  StiText comp = sender as StiText;
  comp.Border.Side = StiBorderSides.None;
}
Thank you.

How i can change the text " border = none " in runtime ?

Posted: Tue May 25, 2010 1:52 am
by lampson
:biggrin:

thank you very much

How i can change the text " border = none " in runtime ?

Posted: Tue May 25, 2010 2:23 am
by Andrew
Always ready to help you.