Property Question

  • Thread starter Thread starter Lance McGonigal
  • Start date Start date
L

Lance McGonigal

Thanks all in advance for your help.

I get really tired of writting the same code to requery a combo box each
time it's activated. Can/How would I add a property to the stock combo box
that basically has an auto-requery bit (true/false)? Would this be a custom
property or a class object?

Thanks for your help.
 
A property would not be correct in this case. Properties don't do anything,
they define the object. What you need is a method. You can create a method.
It is basically a Public Function.
This is as much as I can tell you, I know the theory, but since I have not
done one myself, I can't give you details. Hope this helps some.
 
Back
Top