>Hello.
> I have created one UserControl like Navigation Buttons
>(Top, Bottom, Next, Previous) and have written some code
>in that. But what I want now is when I place it on my form
>I have written some different code in Top_Click event and
>I want to fire that thig. But it fires the code which I
>have written in my UserControl.
> In short I don't want to excute code written in UserControl
>level but want to excute code written in FormLevel.
> Is there any method like Do Default as we have in VFP.
You will be able to do this in VB7 which will support inheritance and all the good stuff that it comes with.
Until then, if you don't want to use the code in a user control, ... don't use it!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com