Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3762

RaiseEvent Implementation

$
0
0

So, I have a custom button (button A) which has been Subclassed (button B), and an instance of button B (button C), which has been dragged onto a window. I’m trying to get the MouseDown event of button C to fire using RaiseEvent. Here’s what I did:

  1. Inserted an Event Definition for “MouseDown” into button B.
  2. Inserted a MouseDown event into button B with the code: “RaiseEvent MouseDown.”
  3. Inserted a MouseDown event into button C with the code: “MessageBox(“Button Clicked”).”

I’ve tried several variations of that as well but the event doesn’t fire. Can someone tell me what I’m doing wrong?

Thanks!

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3762

Trending Articles