credithasem.blogg.se

Dialogs simply fortran
Dialogs simply fortran










dlgrequestpasswordĬ bool dlgrequesttext (text, textlength, title, label)įortran function dlgrequesttext (text, title, label) Descriptionĭisplays a popup dialog requesting text input from the user. If a file was not selected, the contents of the filename parameter will remain unchanged. If a file was selected, the new filename will be present in the filename parameter. True if a file was selected, false otherwise. 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. 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 value of the filename parameter must be initialized properly since it is used as an initial filename. 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 type of message box to display, as explained above The message box may be of a type specified by the following constants: Type

dialogs simply fortran

dlgmessageįortran subroutine dlgmessage (type, message) Descriptionĭisplays a simple message on the screen in a popup dialog with an “Ok” button.

Dialogs simply fortran windows#

In other words, a program that is normally only running in a text console may call these dialogs to, for example, prompt the user for a file selection without having any other windows opened.

dialogs simply fortran dialogs simply fortran

While they have been designed to be called with reference to a particular AppGraphics window, they can be called without any windows having been opened or initialized. These procedures allow access to simple dialogs from within C or Fortran.










Dialogs simply fortran