Marien van Westen wrote:
Hello

When trying to convert a Delphi program I cam across the following line:

        ForceCurrentDirectory:=True;

How can I change that to Lazarus ?

If I understand ForceCurrentDirectory correctly, you should replace that with

MyFileDialog.InitialDir := GetCurrentDir;

before each execute call, if intitaldir was empty before.

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to