Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Handle events of bsAxControl nodes (Read 2225 times)
Justin
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Aug 11th, 2005
Handle events of bsAxControl nodes
Dec 20th, 2005 at 10:16am
Print Post  
I use four bsAxControl boxes containing my own user controls. These are placed at each side of the diagram to let users load or create neighbour sections of the workflow. How can I handle the events raised by these controls when they are hosted in the flowchart boxes and are not part of my form (using VB6)?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Handle events of bsAxControl nodes
Reply #1 - Dec 20th, 2005 at 11:07am
Print Post  
Hi,

Try declaring some WithEvents variables of your control type and add the event handlers through them. Then when you load a diagram or create it programmatically, set the variables to box.AxControl for the boxes that host ActiveX objects.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint