Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, June 20, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Displaying a "Loading..." Window
Rob Bartram
Posts: 98
 
Displaying a "Loading..." WindowYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Sep 07 4:13 PM
Hello,

I have a custom made Dashboard which is a manage form with a bunch of controls on it. I'm loading the form as a mainview and there is a lot of processing going on behind the scenes to popuplate much of the form. As a result, the form takes about 15 seconds from when the user invokes it to when it opens. I'd like to pop up a message displaying "Your Dashboard Is Loading..." while the form is loading.

I've found a way to do it by popping up another manage form as a mainview and then closing it after the Dashboard mainview is loaded, but there are a number screen refreshes that seem to take place while the dashboard mainview is loading and the "Your Dashboard Is Loading..." message get wiped out for much of the time. It seems really clunky.

Can anyone suggest a better way?

Thank you in advance for your time.

...Rob

[Reply][Quote]
Vladimir
Posts: 93
 
Re: Displaying a "Loading..." WindowYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Sep 07 2:03 AM
Place a "panel" on your dashboard with property visible=false. On the panel you can place label with text "Your Dashboard Is Loading...". So when dashboard will be loading set property visible=true for panel. For example, you can place on the panel "progresbar","animate","timer" and it will be more "user friendly" interface
[Reply][Quote]
Rob Bartram
Posts: 98
 
Re: Displaying a "Loading..." WindowYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Sep 07 8:29 AM
Thank you Vladimir. That was my first choice, but the form itself is about 400K in size (the datalength(data) of the form in the plugin table) and that coupled with the processing I'm doing in the open event of the form, takes about 10 to 12 seconds before the form is painted.

Is there some place I can put my onOpen code so that it is executed after the form is painted?

I'm thinking about putting a "Loading..." form in a VB DLL and invoking it from there, but I don't know much about that and was hoping to avoid the learning curve as well as any pitfalls.

Thank you for your reply.

...Rob
[Reply][Quote]
Vladimir
Posts: 93
 
Re: Displaying a "Loading..." WindowYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Sep 07 8:58 AM
The events "OnOpen","OnChange" and "OnCreate" are lunch before form is shown.
You can write DLL/COM object, that will open your form with progress bar or label and invoke it with Application.CreateObject at the start point OnOpen and close it at the end point of procedure. I wrote DLL in Delphi some times and it works fine.
[Reply][Quote]
Vladimir
Posts: 93
 
Re: Displaying a "Loading..." WindowYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Sep 07 9:01 AM
I forgot. If you use SLX v7/7.2 you can use .Net. It is more easier/effective
[Reply][Quote]
Rob Bartram
Posts: 98
 
Re: Displaying a "Loading..." WindowYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Sep 07 2:02 PM
I'm using the ShowWindow API call to show a modeless window through an ActiveX VB DLL. Is there a way to launch the modeless window so it doesn't show in the taskbar?

[Reply][Quote]
Vladimir
Posts: 93
 
Re: Displaying a "Loading..." WindowYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Sep 07 1:44 AM
I don't know about this function. Maybe, you can try to google
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: Displaying a "Loading..." WindowYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Sep 07 7:48 AM
Bob,

Check your vb form. I do not do vb6 anymore but there maybe a property on the form called ShowInTask bar that you can set to false.

Mark
[Reply][Quote]
Rob Bartram
Posts: 98
 
Re: Displaying a "Loading..." WindowYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Sep 07 8:33 AM
Thank you. I set the border style to 3 - Fixed Dialog and that took care of the taskbar. The ShowInTask bar seems to only pertain to MDI child windows.

Is the Saleslogix client, by default, the owner of my ActiveX DLL "loading..." form window because it is being launched from within Saleslogix or do I need to find the window handle of Saleslogix and set the owner manually? Setting the StartupMode on the form to 1 - CenterOwner isn't doing what I think it should. The form window is opening in the upper left corner of the screen.

Thanks again for the help. I'm really stretching myself here.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/20/2025 2:34:32 PM