Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Progressbar?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
Progressbar?
Divers
Thread ID:
00618293
Message ID:
00618293
Vues:
57
Hi,

I know how to create a simple progressbar using two shapes...

However, I now want to put the progressbar in a class and access it in my appliction.

I want to make default functions for it (i.e. acct_therm, upd_therm)... But how can I keep the object handle without making it a public property on my application object?

Also, I don't want to create a public variable which holds the object handle.

I would like to use anywhere i my app easy codes, like
DO ACCT_THERM WITH "test1"
or
ACCT_THERM("test1")
This activate the progressbar en sets the caption to "test1"

and also
DO UPD_THERM WITH 27
or
UPD_THERM(27)
This updates the progressbar setting it on 27 percent

How can I make functions/procedures public available (in two variants) without using an #include syntax and how to store the object handle??

Can anyone help?

Erik
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform