User Tools

Site Tools


sample_code:custom_dialog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sample_code:custom_dialog [2015/03/03 15:40]
octazid created
sample_code:custom_dialog [2015/08/20 12:55] (current)
Line 1: Line 1:
 =====Custom Yes-No-Dialog===== =====Custom Yes-No-Dialog=====
-(Sample posted by Chris Hopkins in the DroidScrip Google Group)\\ \\ +(Sample posted by Chris Hopkin in the DroidScript Google Group)\\ \\ 
 If you want to show a popup window on exit, you could use a custom Dialog.\\ For example, this is a small app that pops up a custom dialog when the back button is pressed\\ If you want to show a popup window on exit, you could use a custom Dialog.\\ For example, this is a small app that pops up a custom dialog when the back button is pressed\\
  
Line 8: Line 8:
     {     {
         app.EnableBackKey( false );         app.EnableBackKey( false );
-        app.ShowPopup( "Touch the Back Buttom" );+        app.ShowPopup( "Touch the Back Button" );
     }     }
        
sample_code/custom_dialog.1425397257.txt.gz ยท Last modified: 2015/03/03 23:40 (external edit)