Normal Topic Switch between Menus (Read 744 times)
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Switch between Menus
Sep 3rd, 2007 at 3:11pm
Print Post Print Post  
Hello Erika,

I have a main menue and i use instruction the CreateAprocess()
Untermenus to start over again. As I can minimize and/or in toolbar
send or close the abandoned menu. At the same time as i can affect the
again gestarte menu (minimized, maximizes!). Can that pass everything
over a INI file? For your untiring assistance I am very grateful!

Dr. Belhareth
« Last Edit: Sep 4th, 2007 at 12:45pm by Hammer »  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Switch between Menus
Reply #1 - Sep 4th, 2007 at 12:51pm
Print Post Print Post  
Just so I understand:

You have a menu application in Sesame.

The menu application has buttons which launch other Sesame applications.

Each of the other Sesame applications needs a separate INI file.

When you click a button, you want the new application to come up maximized and you want the menu application to minimize itself.

Is the above correct?
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Re: Switch between Menus
Reply #2 - Sep 4th, 2007 at 2:51pm
Print Post Print Post  
Hello Erika,

that is accurately which I would like to realize!

Thank you for the Help!

Dr. Belhareth
  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Re: Switch between Menus
Reply #3 - Sep 5th, 2007 at 7:27am
Print Post Print Post  
Hello,

Please tell me which instructions to set in the INI file.

Thanks in advance.

Dr. Belhareth
  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Switch between Menus
Reply #4 - Sep 5th, 2007 at 12:43pm
Print Post Print Post  
Quote:
Please tell me which instructions to set in the INI file.


Amor,

There is no magic ini file setting for "be a menu system". We are researching the possibilities for what you are trying to do. Give us a bit to figure it out. We'll let you know what we find.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Switch between Menus
Reply #5 - Sep 6th, 2007 at 4:09pm
Print Post Print Post  
Hello Amor,

Opening a different copy of Sesame full screen can be done but the menu that you opened it from will not be minimized.

In your INI files you will want to put the following entries

X: 0
Y: 0
WIDTH: FULL
HEIGHT: FULL

Then on your command buttons you will put programming similiar to the following
Code
Select All
CreateAProcess("c:\Sesame2.0\Program\sesame C:\Sesame2.0\Data\Samples\Customers.db -ini_file app1.ini") 




If you wanted to close the main menu your command button programming would be
Code
Select All
CreateAProcess("c:\Sesame2.0\Program\sesame C:\Sesame2.0\Data\Samples\Customers.db -ini_file app1.ini")
ExitSesame() 



-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Re: Switch between Menus
Reply #6 - Sep 6th, 2007 at 6:47pm
Print Post Print Post  
Hello Ray-

It works fine !

I have another question: how to swich from Menu1.DB to Menu2.DB  and open directly a form (MyForm) in Menu2.DB?

Great full thanks to all.

Dr. Belhareth
  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Switch between Menus
Reply #7 - Sep 6th, 2007 at 7:25pm
Print Post Print Post  
Hello Amor,

In the Menu2.db application in the On Application Open event you will want to use @SelectTreeItem() to open that form.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged