fillSelector()
Opens the filling pattern selector and writes the selection to a variable.
Synopsis
int fillSelector( string &fillstr );
Parameters
Parameter | Description |
---|---|
Fillstr | Fill-pattern string |
Return value
In the event of an error, the function returns -1 otherwise, 0.
Error
General troubleshooting (incorrect arguments, incorrect name).
Description
Opens the file selector and writes the name of a file selected there to the string variable fillstr. Valid content of the variable fillstr is a filling pattern string. However, empty strings do not lead to errors.
Example
main()
{
string fill;
fillSelector(fill);
DebugN(fill); //output of the filling pattern in the
Logviewer
}
Assignment
Simple configuration
Availability
UI