vsTASKER 7 User Manual
×
Menu
Index

File Tag

 
When using TYPE[File], the Dyn-UI will show a button to call the file selector, although the full file path could be entered manually.
With this type, the following tags are needed:
 
PATH[...] or DIR[...] : directory where the file must be found. If omitted, the file selector will start from the system root.
 
FILE[...] : default filename to be used (must exist in the directory mentioned above or provide here the full name including the path).
 
EXT[...] : extension filter, for the file selector only.
 
This type will need a character string long enough to store the full filename. Do not use char* nor string unless you define your own setter. By default, Dyn-UI uses strcpy.
FS is an alias for FILENAME_SIZE which worth 256.
 
ie:
char ent_files[FS]; //&& TYPE[File] FILE[entities.def] DIR[$(VSTASKER_DIR)/Runtime/CIGI/Settings] EXT[def]