08-20-2019, 07:26 PM
Howdy All!
I have some places where I need to lock the form and so I have functions that basically implement the following (c++):
void ActivateFormLock(void)
{
UnicodeString strJS = L"ActivateLock();";
// Add java script to be executed!
WebApplication->CallBackResponse->AddJavaScriptToExecute(strJS);
}
void ReleaseFormLock(void)
{
// Javascript to lock form
UnicodeString strJS = L"ReleaseLock();";
// Add java script to be executed!
WebApplication->CallBackResponse->AddJavaScriptToExecute(strJS);
}
The problem is the IWLocker isn't activated. What am I doing WRONG?
Thanks in advance,
Shane
I have some places where I need to lock the form and so I have functions that basically implement the following (c++):
void ActivateFormLock(void)
{
UnicodeString strJS = L"ActivateLock();";
// Add java script to be executed!
WebApplication->CallBackResponse->AddJavaScriptToExecute(strJS);
}
void ReleaseFormLock(void)
{
// Javascript to lock form
UnicodeString strJS = L"ReleaseLock();";
// Add java script to be executed!
WebApplication->CallBackResponse->AddJavaScriptToExecute(strJS);
}
The problem is the IWLocker isn't activated. What am I doing WRONG?
Thanks in advance,
Shane