Open local document

The Open local document button opens a supported file when the button is clicked. The Filename property sets the name and relative path of the file. Files are relative to the folder where the MegunoLink project is saved. The file types supported are:

  • .txt text file
  • .pdf Adobe® Acrobat file
  • .html web page file
  • .exe program
  • .bat batch file

Design-time properties for the Open local document button
PropertyDescriptionExample
TextThe label displayed on the buttonHelp
FilenameThe name of the file to open. Relative to the project file.Documentation.pdf
Run-time properties common to most controls
PropertyAccessTypeDescription
VisibleRead/writeboolHide/show the control
EnabledRead/writeboolEnable/disable the control. When a control is disabled it is visible but shown grayed out and you can't interact with it.
ForeColorRead/writestringAdjust the foreground color
BackColorRead/writestringAdjust the background color
Recent Posts

Leave a Comment

Start typing and press Enter to search