home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!news.ccs.queensu.ca!slip204.telnet1.QueensU.CA!dmurdoch
- From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
- Subject: First BP 7 bug :-)
- Message-ID: <dmurdoch.177.722181338@mast.queensu.ca>
- Lines: 32
- Sender: news@knot.ccs.queensu.ca (Netnews control)
- Organization: Queen's University
- Date: Thu, 19 Nov 1992 13:55:39 GMT
-
- Here's my first bug report on BP 7. File dialogs created using the STDDLG
- unit's TFileDialog don't work. You can't select a file in any directory
- except the current directory.
-
- Interestingly, there aren't any problems in the file dialogs in the BP
- or TURBO IDEs. I guess the distributed versions of the units aren't the
- ones used to build these programs. I wonder what other differences there
- are?
-
- Here's the official Borland fix, from Compuserve.
-
- #: 177943 S1/Turbo Vision [BPASCAL]
- 18-Nov-92 16:27:17
- Sb: #177813-TFileDialog broken?
- Fm: Mark Edington (Borland) 75140,2240
- To: dj murdoch 71631,122
-
- Duncan,
-
- Here is a fix which you can apply to STDDLG.PAS:
-
- On line 947:
-
- Change:
-
- RelativePath := not (S <> '') and ((S[1] = '\') or (S[2] = ':'));
-
- to:
-
- RelativePath := not ((S <> '') and ((S[1] = '\') or (S[2] = ':')));
-
- Mark
-