A Tip on Alert Control in Flex

July 24, 2009

Question:

How to disable selectivity on Alert control display message?

(or)

Alert control display message should not be selectable.

Solution:

var alert:Alert=Alert.show(“Cannot select this text!!!”);
alert.mx_internal::alertForm.mx_internal::textField.selectable=false;

Enjoy the post.


A Tip on Alert Control in Flex.

July 20, 2009

Question:

How to make the defaultButton on Alert Control invisible?

Solution:

var a:Alert;
a = Alert.show(“where’s my defaultButton (OK)!”);
a.mx_internal::alertForm.mx_internal::defaultButton.visible = false;

Enjoy the Post.


Follow

Get every new post delivered to your Inbox.