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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only