Open josprou opened 4 years ago
Puedo formular la misma pregunta del siguiente modo: ¿Cómo puedo obtener el valor de un checkBox al pulsar sobre un botón?
It looks like you do not initialize LoginDialog.remembermeCheck
, which you access in LoginDialog.onLoginButtonClicked
. In newLoginDialog
only the local variable remembermeCheck
is initialized.
Hi, I have a login form that breaks when I go to read if the CheckBox is checked. The code is the following:
loginform.txt
The line that breaks is the following: var remember = dlg.remembermeCheck.CheckState()
The exception produces a "runtime error: invalid memory address or nil pointer reference" error
Thank you
A greeting