Home » Community » Newbie corner » Immediately refresh a control?  
	
		
		
			| Immediately refresh a control? [message #60751] | 
			Tue, 27 August 2024 02:09  | 
		 
		
			
				
				
				
					
						  
						sduensin
						 Messages: 8 Registered: August 2024  Location: Smithton, IL, USA, Earth
						
					 | 
					Promising Member  | 
					 | 
		 
		 
	 | 
 
	
		I have a status bar in my main window and am trying to update it before attempting to connect to a SQL database.  There's no repaint/refresh until after all the network code has completed so the message is never displayed.  The only thing I can think to do is change the status bar, set a timer, then do the SQL work after the timer expires. 
 
Is there an easier way?
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 02:56:11 CET 2025 
 Total time taken to generate the page: 0.04748 seconds 
 |