Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8668673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:16:19+00:00 2026-06-12T18:16:19+00:00

kinda difficult to explain but is there a way to do something like: control1.ShownEditor

  • 0

kinda difficult to explain but is there a way to do something like:

control1.ShownEditor += EventHandler;

...

control2.ShownEditor += control1.ShownEditor; //wrong
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T18:16:21+00:00Added an answer on June 12, 2026 at 6:16 pm

    Simply: you cannot use an EventHandler of a control’s event and assign it to another event. So this isn’t possible:

    control2.ShownEditor += control1.ShownEditor; //wrong
    

    The only way is to create an EventHandler separately and assign it to both the controls’ event.

    Another harmful solution could be extract the delegate via Reflection, but as I said it’s actually dangerous, look this answer by Hans Passant: Is it possible to “steal” an event handler from one control and give it to another?.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Kinda hard to explain, but i'll try. I have a datalist that is populated
This is a kind of difficult one to explain but basically I have a
it will be difficult to explain my problem but I'll try to be the
The question is a bit difficult to explain, but I will try. I have
I have a problem that is kind of difficult to explain. What I would
I'm sorry if this was already answered, but it's kind of difficult to search
I'm kinda stuck on something... I'm trying to get #right to be the same
This is kind of difficult to explain so ill link to a page that
I'm kinda new in flash and as3 so this may not be as difficult
This is kind of difficult to explain, so I'll paste the function, and explain

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.