Public functions/subroutines can be called from the Call statement, whereas private ones can't.....i think :P
You can change private functions and subs to public and then call them if you want. I do this for my frontend app to manipulate play control from the Nav screen. Instead of re-writing the play/pause/next/prev/stop code i just call the sub for my command buttons on whatever module is playing (call frmMP3.cmdMain_Click()) and send the index of the button so it knows which one i'm wanting it to "press" so to speak.



LinkBack URL
About LinkBacks

Reply With Quote



Bookmarks