home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zephyr.ens.tek.com!psgrain!hippo!ucthpx!uctvax.uct.ac.za!drvsim01
- From: drvsim01@uctvax.uct.ac.za (Simon Driver)
- Newsgroups: comp.lang.pascal
- Subject: Re: I need help with TVISION (StatusLine)dir
- Message-ID: <1992Jul23.130020.202089@uctvax.uct.ac.za>
- Date: 23 Jul 92 11:00:20 GMT
- References: <92203.123606LOPEZJ@EVALUN11.BITNET> <1992Jul22.111504.202068@uctvax.uct.ac.za> <54794@mentor.cc.purdue.edu>
- Distribution: comp.lang.pascal
- Organization: University of Cape Town
- Lines: 55
-
- In article <54794@mentor.cc.purdue.edu>,
- pf@bilbo.bio.purdue.edu (Paul Furbacher) writes:
-
- >> > -How can I do that StatusLine show help messages (like IDE of Turbo
- >> > Pascal). I think that I would use the Hint function but I don't know do
- >> > it.
-
- > The interpretation by Simon Driver of the original request is an
- > interesting one. I got the impression that the author wanted
- > to know how to implement a hinted statusline.
-
- Replies to a similar question by myself and the initial question shown above,
- indicate a contradiction in the question. The problem being that the request
- is for a help message "like the IDE of Turbo Pascal", followed immediately by a
- request for help on the hint function.
-
- > Wouldn't it be more
- > standard to put up a "Wait" window with some kind of moving
- > indicator to show that the system is still actively working on
- > the task at hand?
-
- The question of "standards" with regard Turbo Vision is an interesting one. I
- would suppose that the implementation of the IDE itself is a standard in
- itself. However, as you mention, a "Wait" window might be more correct. If one
- looks at the way Borland have set things up, they use the statusline for
- messages, current status and help, and a "Wait" window for processes that can
- be interupted or need to be monitored as is the case in Compiler window.
-
- > It's not too hard to implement this as a descendent of
- > TDialog with "Flags := Flags and not wfClose", one "panic"
- > button, and a modified handle event which loops until the
- > process is done, and checks for the appropriate "panic"
- > event. The descendent could have a fancy draw method which,
- > depending on the fraction of the process completed, would
- > write a bar of appropriate length, and/or a rotating symbol between
- > the following: \ | - / to show activity.
-
- It would be easier to implement a descendent of the TWindow, which would allow
- greater configuration with regard colours/layout.
-
- Regards,
- Simon.
-
- --
- *****************************************************************
- \***** *\
- ***** Simon Driver **
- \**** **\
- **** InterNet : DRVSIM01@UCTVAX.UCT.AC.ZA ***
- \*** FidoNet : 5:7102/120.1 ***\
- *** Simon.Driver@p1.f120.n7102.z5.fidonet.org ****
- \** ****\
- ** Comment : Pascal Programmers Do It With Indentation *****
- \* *****\
- *****************************************************************
-