ICON (call Icon selection dialog) 

Top  Previous  Next


ICON( title, extensions )


Calls the Windows common Open File dialog.


A string constant containing the title to place on the file open dialog.


A string constant containing the available file extension selections for the List Files of Type drop list.

The ICON type in a #PROMPT statement is similar to the OPENDIALOG #PROMPT type, and indicates the prompt's symbol must contain the name of the file selected by the programmer from the Open File dialog (see also FILEDIALOG). The file must already exist on disk.




#PROMPT('Icon (*.ico):',ICON('Select ChildRoot Level Icon','Icon files (*.ico)|*.ico')),%MCRTChildConditionalExpandedIconF

#PROMPT('&Default Icon:',ICON),%PrimaryDefaultIcon

#PROMPT('Start Icon',ICON('Select an Icon','Icons|*.ICO|GIF|*.GIF|JPEG|*.JPG|BitMap|*.BMP|Pcx|*.PCX|All|*.*')),%StartIcon