B4J Question Missing views in debug mode

tsteward

Well-Known Member
Licensed User
Longtime User
When I compile my app in release mode my File menu contains "DB Update" & "Close"
When I compile in debug mode my File menu only contains "Close"

Also just for testing I move my DBUpdate stuff to "Close" it tells me I must first initialize "ProgIndicator" which has been created with the design so I don't understand.

Download export of app
 

billzhan

Active Member
Licensed User
Longtime User
"DB Update" & "Close" are shown under debug and release mode here. (win 7 64bit, jre java 1.7.0_65-b19)
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
The menu does appear here in debug mode:

SS-2014-10-13_07.27.06.png


Note that you should set the menu anchors to fill the entire form width.
 
Upvote 0

tsteward

Well-Known Member
Licensed User
Longtime User
The menu bar appears but not all menu items.
"DB Update" is not available in debug mode.
 

Attachments

  • Release Mode.jpg
    Release Mode.jpg
    5.9 KB · Views: 218
  • Debug Mode.jpg
    Debug Mode.jpg
    4.7 KB · Views: 232
Upvote 0

tsteward

Well-Known Member
Licensed User
Longtime User
Ok commented out all d code from app start and no different. It seems like it loads a different fxml file because ProgIndicator (my progressindicator) which is created in the fxml is not initialised. In fact I just noticed when using the ide menu to goto edit layout any changes I make in scene builder only appear in the a compiled release mode, not in debug mode. So there must be different fxml files somewhere for debug vs release
 
Upvote 0
Top