Maptitude GISDK Help |
Gets the value of the Read Only checkbox in the most recent call to ChooseFile().
read_only = GetReadOnly()
A string "True" if the Read Only box was checked the last time ChooseFile() was called; "False" if the box was not checked.
If ChooseFile() has not yet been called in this session, GetReadOnly() returns "True".
fnm = ChooseFile({{"DBASE Files", "*.dbf"}}, "Choose a File")
ro = GetReadOnly()
if Upper(ro) = "TRUE" then ShowMessage("You cannot edit " + fnm)
Function |
Summary |
Gets the name of an existing file using the Windows File dialog box |
©2025 Caliper Corporation | www.caliper.com |