![]() The message to display in the popup message boxĬ bool dlgopenfile (title, filename, filelength, maskdesc, mask)įortran function dlgopenfile (filename, maskdesc, mask, title) Descriptionĭisplays a standard file selection dialog formatted for opening a file. The value of the filename parameter must be initialized properly since it is used as an initial filename. To leave this field blank, the value of filename should be a zero-length string in C or a string of spaces in Fortran. The file mask, normally an asterisk followed by the file extension The description to display for the file mask if one was provided Upon a successful return, the selected filename is held by this parameter The initial file location to use when the dialog is displayed. True if a file was selected, false otherwise. If a file was selected, the new filename will be present in the filename parameter. If a file was not selected, the contents of the filename parameter will remain unchanged. dlgrequestpasswordĬ bool dlgrequesttext (text, textlength, title, label)įortran function dlgrequesttext (text, title, label) Descriptionĭisplays a popup dialog requesting text input from the user. The text to display above the text entry box in the dialog If successful, this parameter will contain the text entered by a user The user’s typing will appear as asterisks in the text box to obscure the characters. If successful, the text parameter will contain the user’s input. If unsuccessful, the contents of text will remain unchanged dlgrequestselectionĬ int dlgrequestselection (items, title, label)įortran function dlgrequestselection (items, title, label) Descriptionĭisplays a popup dialog containing a list from which the user may select an item. The text to display above the list in the dialog In C, the list should be a string where the items are separated by NULL characters and terminated with a pair of NULL characters. In C, the routine returns the 0-based index of the selected item.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |