Activating an object on a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

How can i activate an object inserted on my form without double-clicking
it ?
I want to know what's the code i should use to do this for example in the
Oncurrent evevnt of this form ?
 
The object is "Video Clip",
In the property"Activate" if i choose "Double click" ,so when i doubleclick
this video clip,it works..my question is how can i make it work automatically
without doubleclicking it ?
 
Pietro

I suspect you can have the best of both worlds. You can leave the clip to
run on double-click, and in the OnCurrent event, you can add an event
procedure that calls the clip control's double-click code ... something
like:

Call YourClipControlName_DoubleClick()
(your syntax may vary)

--
Regards

Jeff Boyce
Microsoft Office/Access MVP


Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

Microsoft Registered Partner
https://partner.microsoft.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top