Results 1 to 5 of 5

Thread: Sending the name of a control to a module *Resolved*

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    251

    Sending the name of a control to a module *Resolved*

    Hey guys!

    I have a form and a module.

    My form have an object called flash and my module have a function.

    I am trying to send trought the function the name of the object, but I am not having success... Nothing is happening. Nor even an error.

    In my form I have the following function call:

    PegaFlash 101, "CUSTOM", "logo.swf", Me, Flash


    In my module I have the following function:

    Public Sub PegaFlash(i As Integer, swf As String, arquivo As String, F As Form, O As Object)

    .
    . codes...
    .
    F.O.Movie = sEnv & arquivo

    End Sub



    The F variable is getting correctly the name of the form that I passed. But the Object flash is not being received by the function..

    If I change the last code to the following:

    F.Flash.Movie = Senv & arquivo

    everything will run fine...

    What am I doing wrong?

    Thanks in advance,

    Elminster
    Last edited by Elminster; Mar 2nd, 2004 at 05:01 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width