Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (disabled)
Viewing all articles
Browse latest Browse all 17

Windows return has disabled controls

$
0
0

I have a screen that calls another. When I close the last and the initial returns, controls are all disabled. Why is that?

Example of code (call secondary window) (app.js)

// Pantalla Principal luego de Login y Carga de Datos //
var win_principal = Titanium.UI.createWindow({
    url: 'casmovil.js',
    title: 'Menú Principal'
});
 
...
 
Titanium.App.addEventListener('eUsuarioAutorizado', function() {
    // Evento cuando el Usuario es Autenticado 
 
    // Deshabilitando Controles de la Primera Pantalla
    btnInicioSesion.enabled = false;
    txtUsuario.enabled = false;
    txtPassword.enabled = false;
 
    win_principal.open();  // Secondary window
 
});

Viewing all articles
Browse latest Browse all 17

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>