This shows you the differences between two versions of the page.
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 | + | (Sample posted by Chris Hopkin |
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" ); |
} | } | ||