I have been moving all my VBA code to VS Tools to have web client compatibility. Stuck with one non-critical but important issue.
There is a code written on POP Print Options window, which is on event Window_BeforeOpen():
OpenVisible = false 'just hiding this window from users as we have a custom POP Print Options window
Equivalent code in VS Tools to hide a window is as follows:
void PopPrintOptions_OpenBeforeOriginal(object sender, System.ComponentModel.CancelEventArgs e)
{
Dynamics.Forms.PopPrintOptions.PopPrintOptions.WindowState.Hide();
}
But this code doesn't seem to be working. Window is not hidden, but I am sure event is triggered.
Am I missing out on something? Has anybody faced this already and have a solution to this?
Vaidy