Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.




ID: 23834, Observer and Progress design patterns

by Hannes de Jager Email: Anonymous


Seperate you Progressbar GUI code from the functional code: Abstract classes/interfaces and example program for using Observer Design pattern and Progress design pattern.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For C++Builder, Version 1.0  to 6.0 479 downloads
Copyright: No significant restrictions


Terms of use: Embarcadero use at your own risk disclaimer


Size: 8,289 bytes
Updated on Tue, 08 Nov 2005 14:33:30 GMT
Originally uploaded on Tue, 08 Nov 2005 14:14:29 GMT
SHA1 Hash: BAD7C9BDD3238E9A031A08A71E973332D8621536
MD5 Hash: 8A95DD799FF2A016B95E868E9CB0B4AF

    Explore the files in this upload

Description
In this example we use the abstract interfaces to seperate our progress update code from the GUI counterparts like progress bars...

We get implementations like TProgressWithBar, TProgressWithLabel, TProgressWithStatusbar etc.. Its really up to your imagination...

We also use the observer design pattern and let the main form observe the progress of an operation. The main form then updates the progress bar... Other forms may also observe this status at the same time... play around with it and give me your comments.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03