chirpyform
Programmer
I create a form dynamically and then insert some objects (Labels) into the form. I create some event code for the objects using CreateEventProc and inserting lines of code.
However in doing so the user sees the module Form_DynamicallyCreatedForm (the module with the event code) and I don't want this (it should seem like the form already existed).
Is there an option for hiding the module, I can't close it because you can't add code to a closed module. I tried doing DoCmd.SelectObject acModule, module.Name
DoCmd.Minimise but that didn't work (It told me that the form wasn't open, I presume that was because I was in mode creation).
Any suggestions very welcome
Chirpy
P.S. If the question has already been posed appologies but
I tried doing a search in tek tips but I got no response to my search criteria (no matter what i put in the search)
However in doing so the user sees the module Form_DynamicallyCreatedForm (the module with the event code) and I don't want this (it should seem like the form already existed).
Is there an option for hiding the module, I can't close it because you can't add code to a closed module. I tried doing DoCmd.SelectObject acModule, module.Name
DoCmd.Minimise but that didn't work (It told me that the form wasn't open, I presume that was because I was in mode creation).
Any suggestions very welcome
Chirpy
P.S. If the question has already been posed appologies but
I tried doing a search in tek tips but I got no response to my search criteria (no matter what i put in the search)