advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Path Property Details
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 [form.]{dirlistbox. | filelistbox.}Path[ = pathstring$]
 
 Usage Notes
   ■ Use this property when building an application's file-browsing and
     file-manipulation capabilities.
 
   ■ Setting the Path property affects the control in a manner similar to
     the MS-DOS Chdir command; relative paths are allowed with or without
     a drive. Setting only a drive, with a colon (:), selects the current
     directory on that drive.
 
   ■ Changing the value of Path has the following effects:
 
     Control                 Event Generated
     ══════════════════      ═══════════════════════════════════════════════
     Directory list box      Change
     File list box           PathChange
     ───────────────────────────────────────────────────────────────────────
     See: ◄Change Event►           ◄Directory List Box Control►
          ◄File List Box Control►  ◄PathChange Event►
 
   ■ For a directory list box, the return value of Path differs from that of
     List and ListIndex, which tracks only the selection:
 
         List(ctlname.ListIndex)
 
     See: ◄List Property►  ◄ListIndex Property►