×

Discussion Board

Results 1 to 3 of 3

Thread: Alert

  1. #1
    Regular Contributor
    Join Date
    Apr 2004
    Posts
    322

    Alert

    Hi
    2 Alert related questions :
    1) Is there a way to create an Alert (or maybe I should choose another class ?) which has a simple "OK" or "Continue" option instead of the "dismiss" option ?

    2) although I set a time out for the alert , the Alert closes only after the user presses the "dismiss" button ,
    is there a way to change this ?
    Code :
    Alert alInfoMsg = new Alert("Alert",str,null,AlertType.INFO);
    alInfoMsg.setTimeout(5000);

    thanks & Best Regards

  2. #2
    Regular Contributor
    Join Date
    Jul 2005
    Location
    Omaha, US
    Posts
    129
    On which device you are trying? Becoz if you set the timeout for alert, the dismiss option wont be displayed in Nokia Phones. For your first question, you can add commands to any alert. On adding Commands to alert, the DISMISS_COMMAND is removed implicitly.

    --Prashant

  3. #3
    Regular Contributor
    Join Date
    Apr 2004
    Posts
    322
    Thanks :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×