Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD21] Dashboard [SOLVED] (1 reply)

$
0
0
I'm implementing a dashboard for our product. I need configurations for nearly each widget. And widgets may exist several times in the dashboard.

I have implemented a very simple dashboard, to try out all functionality. There is only one Internal Window named IW_Static, which only shows some text.

I can already add as many widget I like with different strings. (Using an edit field and a button. The button creates the widget with the given string)

I can already store the dashboard status and load it again (Using a global array to store the different strings and reading the string returned from DashSaveConfiguration; I'm creating each widget by programming on loading the saved status again.)

Now I need a functionality to update all instances of widgets shown on the dashboard (but only the ones visible, not the hidden ones.) There is a local procedure "Update" in the IW_Static. But how do I call this procedure? IW_Static.Update() calls only the Update method of the first instance. I can't find a way to get the instances from the dashboard.

Please, help! Any help is really appreciated! Thanks a lot for any idea! (You see, I'm really desperate already)

I will also need a functionality to update a specific instance, when it is changed from hidden to visible. Any idea there?

Best Regards
Christine Wagner

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>