home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!dtix!oasys!roth
- From: roth@oasys.dt.navy.mil (Pete Roth)
- Newsgroups: comp.lang.pascal
- Subject: Re: TV: Limited display and menu def.
- Message-ID: <27315@oasys.dt.navy.mil>
- Date: 9 Nov 92 13:03:33 GMT
- References: <07NOV92.14892046.0046@music.mus.polymtl.ca>
- Reply-To: roth@oasys.dt.navy.mil (Pete Roth)
- Organization: The David Taylor Model Basin
- Lines: 31
-
- In comp.lang.pascal, CT80@music.mus.polymtl.ca (Steph) writes:
- >I have two questions regarding Turbo Vision. I'll start with the
- >basic one:
- >
- >- What is the menu definition to make it that, once a user has
- > executed a sub-menu, the actual menu stays there until you
- > press ESC?
- [...]
-
- There is none.
- The behavior you desire can be approximated by
- setting up an event like
- var E : TEvent ;
- E.What := evCommand;
- E.Command := cmYourMenuCommand;
- PutEvent(E);
- in the procedure that handled the last submenu command.
- The menu system gets redrawn.
-
- >- When EXECing programs from TP/TV, is there a way to limit the
- > child process' actual screen area? For instance, define a
- > window in TV then call a batch file that only writes in the
- > window defined by TV.
-
- Make a TTerminal the interior of a Twindow and use AssignDevice to
- put the file output into YourTTerminal.
-
- regards, pete
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- Peter N Roth roth@oasys.dt.navy.mil
- You can take a horse to water, but a pencil must be lead.
-