panelFileName()
Returns the relative panel file name, for example, "vision/login.pnl"
Synopsis
string panelFileName(string moduleName, string panelName);
Parameters
Parameter | Description |
---|---|
moduleName | The name of the module where the panel is opened. |
PanelName | Panel whose file name should be returned. |
Return value
Relative panel file name.
Description
Returns the relative panel file name, for example, "vision/login.pnl"
Example
Returns the relative panel file name for the current panel opened in the current module.
main()
{
string retVal;
DebugN(retVal= panelFileName(myModuleName(),
myPanelName()));
}
Assignment
panel.ctl
Availability
UI