Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple threads in VFP 6.0
Message
From
29/11/2001 13:27:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00587582
Message ID:
00587605
Views:
26
>Hi all.
>Our app has always allowed a user to be in only one place in the program at one time. We never allowed a user to jump from say A/P to A/R. We are now getting requests from the users saying they would like to be able to keep one window open and start another window in another section. ie Customer calls and wants his AR balance while user is in AP.
>
>We use a totaly modified _sysmenu but turn it off after the user has made a selection. I tried leaving it on but all selections are disabled. I assume it is because we use only modal windows. What I would really like to do is something like start up to 5 sessions when VFP is started and allow the users to jump from one to another. The only way I can see to do this right now is to actually start a new copy of VFP each time they need to jump to something else. ( I assume I could use run /n.)
>
>Right now I am looking for ideas in an area I have little experience in. All ideas are welcome.
>
>Many thanks in advance.

John,
A modeless system would be good. Anyway for a very specific app I needed similar 'one way ticket' model and what I did was to create 2 exes. One is the menu server. Other is rest of the app accepting a parameter as the menu option.
Something like menu bar click has : Launch(2)
and would call myExe with '2' as the requested option. Instead of run /n I used ShellExecute() and it works perfectly.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform