home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,385 of 10,840   
   EggHead to The Mess   
   Re: Raising events for UserControl array   
   04 Apr 05 17:03:10   
   
   From: robertlo@shaw.ca   
      
   I only work with vb 6.0, but can u set a read-only property for the index?   
   Read the property, Mickey Mouse stuff :)   
   Egghead   
   "The Mess"  wrote in message   
   news:C6U3e.113$6k4.45781@news20.bellglobal.com...   
   >I am working in VB5.   
   > How do you mimmick Visual Basic's putting an Index argument at the front   
   > of   
   > the variables passed to an event when making your own control? This sounds   
   > kind of confusing so I'll simplify it.   
   > Say I have made my own UserControl and I have an event for it. Someone   
   > uses   
   > my control. In fact he makes a control array of it. When an event is   
   > fired,   
   > how do you tell for which instance of the control.   
   > Could someone give me an example of how this is done?   
   > Thanks   
   >   
   >   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca