Home » Developer & Programmer » Forms » show_windows not work ?? (Forms 10g)
show_windows not work ?? [message #383991] Sun, 01 February 2009 07:17 Go to next message
ahmed_samir
Messages: 61
Registered: January 2009
Location: EGYPT
Member
hi there

i made a timer after finsh the time it must be hide the splash screen and show the main windows but it's not work

i attach the file thanks

Re: show_windows not work ?? [message #384241 is a reply to message #383991] Tue, 03 February 2009 00:23 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Move the 'focus' of the form to an item on the 'main' window. That is, do a 'go_item' to an item on the main window in your timer.

David
Re: show_windows not work ?? [message #384269 is a reply to message #383991] Tue, 03 February 2009 01:22 Go to previous messageGo to next message
ahmed_samir
Messages: 61
Registered: January 2009
Location: EGYPT
Member
thanks djmartin

i made it .. but why i must to catch an item in the other window .. ?

and i have other some thing .. im trying to call from and it's done but the login fom still open >>

ex for the series :

1-splash screen --- > 2-login form --- > 3-program screen

1- after timer go tot login and u solve this

2- there is condetion if right call program form this code is :

if :control.txt_user = 'ahmed' and :control.txt_pass='samir' then
		call_form('campany_infos'); 
		exit_form('MAIN');
		
		
else
		message('no user');	
		message('no user');   
end if;


the program screen shown but if i close it the login form still there ..

how to close the login form ( after / before ) call the form ?

thanks
Re: show_windows not work ?? [message #384441 is a reply to message #384269] Tue, 03 February 2009 19:16 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
You have not shown us how you get from the 'splash' form to the 'login' form.

You have used 'call_form' to get to 'campany_infos'. Which form is called 'MAIN'? Is that the 'splash' or the 'login' form?

Please read the documentation concerning 'call_form', new_form', and 'open_form'.

I believe that the 'login' form should be invoked via a 'call_form' and the 'campany_infos' form should be invoked via a 'new_form'. This would save you having to do an 'exit_form'.

David
Previous Topic: Use of Webutil Library to export to Excel
Next Topic: Problem with webutil
Goto Forum:
  


Current Time: Fri Dec 02 22:53:50 CST 2016

Total time taken to generate the page: 0.08808 seconds