Addressing "e" in another Instance 
Author Message
 Addressing "e" in another Instance

in fmemu I have:
Public Sub Vt1_KeyPressEvent(ByVal sender As Object, ByVal e As
AxDartVt._IVtCtrlEvents_KeyPressEvent) Handles Vt1.KeyPressEvent

and events occur.........

Then I am using this in other forms.....

Public Shared Function getInstance() As fmemu
        Return m_Me
    End Function

then in another form I say....

fmemu.getInstance.Vt1_KeyPressEvent(fmemu.getInstance.Vt1, e)

How do I address "e"  in the addressing form? Is how I am addressing the
original form correct? VS seems to take it ok.



Fri, 25 Nov 2005 01:52:22 GMT  
 Addressing "e" in another Instance
problem solved.


Quote:
> in fmemu I have:
> Public Sub Vt1_KeyPressEvent(ByVal sender As Object, ByVal e As
> AxDartVt._IVtCtrlEvents_KeyPressEvent) Handles Vt1.KeyPressEvent

> and events occur.........

> Then I am using this in other forms.....

> Public Shared Function getInstance() As fmemu
>         Return m_Me
>     End Function

> then in another form I say....

> fmemu.getInstance.Vt1_KeyPressEvent(fmemu.getInstance.Vt1, e)

> How do I address "e"  in the addressing form? Is how I am addressing the
> original form correct? VS seems to take it ok.



Fri, 25 Nov 2005 05:45:30 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. *"*-.,._,.-*"* I"LL TRADE VISUAL C++ FOR VBASIC *"*-.,_,.-*"*

2. "Control" instance image/picture control

3. Count instance of "2.00"

4. "Show this address list first"

5. Displaying "Outlook Address List" Dialog Form

6. Extracting email address from "From:" field

7. Disable "Allow Comma as Address Separator"

8. "SendMail" and predefined address

9. "Function address" problem

10. Winsock Error "Address In Use"

11. Accessing Outlook "Global Address List"

12. Winsock error "Address in Use"

 

 
Powered by phpBB® Forum Software