I am creating a layout in the visual designer in B4i 4.0.  I have added toolbar buttons 1 and 2 (Cancel and Save) and have checked Navigation Toolbar Visible.  The buttons are not seen when I run the program but are visible in the designer.  I've also attempted to add pg.ToolBarVisible = True in code as shown below but this generates an "Unknown member" error.  What's wrong.
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			
			
				B4X:
			
		
		
		Sub Start
If pg.IsInitialized = False Then
pg.Initialize("pg")
pg.RootPanel.LoadLayout("PersonalInfo")
pg.ToolBarVisible = True
End If
Main.NavControl.ShowPage(pg)
'also tried moving the toolbarvisible line to here with same result 
				 
 
		 
 
		 
 
		