View Single Post
 
Old 08-07-2017, 12:05 PM
passel's Avatar
passel passel is offline
Sinecure Expert

Super Moderator
* Guru *
 
Join Date: Jun 2003
Location: Upstate New York, usa
Posts: 8,024
Default

Well, I don't know but I would guess that it gets called whenever the IDE's version of the form is recreated or changed, i.e. when you add the control, or when you exit debugging and return to the IDE. Of course, you would expect it to be called when you start the executable as the controls are created for the run time.

I guess without researching, a work around would be to check to see if the items collection already has data before executing the code to add data to the list in the new sub.
__________________
There Is An Island Of Opportunity In The Middle of Every Difficulty.
Miss That, Though, And You're Pretty Much Doomed.
Reply With Quote