Setting the "server name' in VLF
Setting the "server name' in VLF
If I am doing a private connect and I am choosing from the servers defined in VLF, how can I replace the "Server Name" text at the bottom of the VLF with the server info I am connecting to? It always says "Local".
Re: Setting the "server name' in VLF
Try #FIM.uStatusManager.uConnectId := "xxxxxxxxxxxx"
Re: Setting the "server name' in VLF
Mark
#FIM is not available in the avPrivateConnect routine. Any alternatives?
#FIM is not available in the avPrivateConnect routine. Any alternatives?
Re: Setting the "server name' in VLF
Try this global declaration in your reusable part:
Define_Com Class(#vf_sy150) Name(#FIM_MainWindow) Scope(*Application) Reference(*dynamic)
then use #FIM_MainWindow instead of #FIM.
PS: There might be a timing issue with the status bar getting set up, in which case try moving the #FIM_MainWindow declaration into your system IIP and set the connection name in your avMainWindowReady method.
Define_Com Class(#vf_sy150) Name(#FIM_MainWindow) Scope(*Application) Reference(*dynamic)
then use #FIM_MainWindow instead of #FIM.
PS: There might be a timing issue with the status bar getting set up, in which case try moving the #FIM_MainWindow declaration into your system IIP and set the connection name in your avMainWindowReady method.