Before Show Event not being triggered

11 views
Skip to first unread message

carlo...@gmail.com

unread,
Jul 6, 2016, 1:39:07 PM7/6/16
to CodenameOne Discussions
Hi all,

I am having a curious issue. Although I am defining in the GUI builder to trigger the Before Show event for a Form, and setting breakpoints in the postForm() method, the method is not being called after form being shown. I have doublechecked and ensured that all changes were saved both in the GUI builder and in the StateMachine file. Cleaned & rebuilt, and so on... but no luck. I am not being able to load form data programatically after retrieving it from a SQLite database.

Can there be a reason for that?

I am using Netbeans 8.0.1. 

Many thanks for your time.

Carlos.


Shai Almog

unread,
Jul 7, 2016, 12:15:34 AM7/7/16
to CodenameOne Discussions, carlo...@gmail.com
Hi,
how is that form shown? Do you call showForm(String, null) or in some other way?
Reply all
Reply to author
Forward
0 new messages