PDA

View Full Version : ss



rmorales
8 Aug 2010, 6:13 AM
Hello everyone.

I wanna do a temporal message whit Extjs, i have used Ext.Message.alert() but i have a lot of messages. I need to do a message that only shows the advice for a short time.

can you help me?

thanks

rmorales
8 Aug 2010, 7:56 AM
Hello everyone.

I wanna do a temporal message whit Extjs, i have used Ext.Message.alert() but i have a lot of messages. I need to do a message that only shows the advice for a short time.

can you help me?

thanks

rmorales
8 Aug 2010, 7:57 AM
Hello everyone.

I wanna do a temporal message whit Extjs, i have used Ext.Message.alert() but i have a lot of messages. I need to do a message that only shows the advice for a short time.

can you help me

thanks

mankz
8 Aug 2010, 8:50 AM
How about:



Ext.Msg.alert('test').hide.defer(2000, Ext.Msg)

mankz
8 Aug 2010, 8:51 AM
Ext.Msg.alert('asf').hide.defer(2000, Ext.Msg);

rmorales
8 Aug 2010, 9:21 AM
thanks for your fast help.

Excuse me friend, how can i do for delete the button "Ok" in the alert?.

Do you know about other kind of alert???

mankz
8 Aug 2010, 9:27 AM
Study this page, should give you info how to achieve what you want :)

http://dev.sencha.com/deploy/dev/docs/?class=Ext.MessageBox

httpdotcom
8 Aug 2010, 9:34 AM
You will have to build the mbox using show() instead of using alert() to pre-make it.

rmorales
8 Aug 2010, 10:09 AM
i dont know how. do you have the code???