required argements

  • Thread starter Thread starter Paul Mars
  • Start date Start date
P

Paul Mars

tmrLoadDefaults Sub is called from the Form_Load Sub. Now I need to also
call it from my RetrieveGame Sub. How do I deal with the required arguments?

tks,

P
 
Hi Paul,

When you want to use objects in more form classes, place those in a seperate
class, it will help you to make your program better.

When they also share data, make the class shared.

Just my thought,

Cor
 
* "Paul Mars said:
tmrLoadDefaults Sub is called from the Form_Load Sub. Now I need to also
call it from my RetrieveGame Sub. How do I deal with the required arguments?

Take the code from the timer's event handler and place it in a separate
procedure. Then call this procedure from within the timer's event
handler and the form's 'Load' event handler.
 
Herfried and Cor,

Thanks, that is what I have always done in the past, but I just keep
thinking that there was another way. Maybe not.

tks again,
Paul
 
Back
Top