语言

Menu
Sites
Language
Displaying message box for infinite time

hi all
can anyone tell me how to make message box visible for infinite time or wait until user presses the ok button

响应

1 回复
Alex Ashirov

Hi,

It is not clearly documented, but AFAIK, you just need to avoid last parameter of the Constuct() method. Then it will be set to zero and this will mean infinite time.

result Tizen::Ui::Controls::MessageBox::Construct  ( const Tizen::Base::String &  title, 

  const Tizen::Base::String &  text, 

  MessageBoxStyle  style, 

  unsigned long  timeout = 0 

 )