For example:
VB Code:
Public Function RefreshPages(ctl1 as control, ctl2 as control, ctl3 as control, sub_name as ??????) ctl1.do something ctl2.do something ctl3.do something 'now call the sub or function that was passed as a paramater sub_name() End Function
So whenever i finish doing whatever with the controls that the function was passed, i can then call the sub or function that was also passed.




Reply With Quote