Alert control with long text in single line

alert = Alert.show(“Terms and Conditions Agreement”,”,Alert.YES | Alert.NO,this,function(){},null,Alert.YES);

alert.mx_internal::alertForm.mx_internal::textField.mouseEnabled = false;

alert.mx_internal::alertForm.mx_internal::textField.htmlText = “asdjflasdjfklasjdlfkjasdklfjal5rt34523452345234asdjflasdjfklasjdlfkjasdklfjal5rt34523452345234asdjflasdjfklasjdlfkjasdklfjal5rt34523452345234asdjflasdjfklasjdlfkjasdklfjal5rt34523452345234asdjflasdjfklasjdlfkjasdklfjal5rt34523452345234”;

alert.mx_internal::alertForm.mx_internal::textField.autoSize = TextFieldAutoSize.CENTER  ;

alert.mx_internal::alertForm.mx_internal::textField.wordWrap = false ;

Advertisements
  1. #1 by Basava on September 10, 2012 - 7:34 am

    i want scroll bar in alert…if u hv any solution…send it to b.vasi@yahoo.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: