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

  • Home
  • SEARCH
  • 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 8601937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:57:36+00:00 2026-06-12T01:57:36+00:00

I use C++ Builder (XE2) and I would need to develop some VCL components

  • 0

I use C++ Builder (XE2) and I would need to develop some VCL components that would also be used in Delphi. As I understand C++ Builder supports Delphi code and Delphi components but not the other way around? If so, it would be better to start writing it in Delphi so that I don’t do a double job?

Second part of my question is more technical; I know how to add a property in a VCL component but don’t know how to add events. Could someone give me an example please (no matter Delphi or C++ Builder).

Thanks.

  • 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-12T01:57:37+00:00Added an answer on June 12, 2026 at 1:57 am

    As I understand C++ Builder supports Delphi code and Delphi components but not the other way around?

    On source level – yes.
    But if you choose to distribute your library sourceless – BPL+DCP+DCU – then it would not matter, except for maybe some small incompatibilities, like Delphi lacking [] operator and C++ lacking virtual overloaded constructors.

    Turns out this estimation was wrong. Read Remy’s comment below


    Most close to you example ov events is the VCL itself, sources are usually shipped with Delphi. If you have Delphi Starter/Trial without VCL sources – then get any opensource VCL library or component. Such as JediVCL or basically almost ANY VCL component with sources. For example any “FWS” (Free with sources) component 99% uses events.

    Most basic and widely used event notifications type – such as TButton.OnClick, TForm.OnCreate and a lot of – is TNotifyEvent

    Open Delphi Help for that type. Scroll to “See also” and see two links there.

    • Procedural types are like int (*f)(void) in C.
    • Events creating manual
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing my own component in Delphi XE2 but I primary use C++ Builder.
Why would one use the AlertDialog.Builder class rather than the methods directly available to
Does websites created by Flex Builder works on every browsers that use Flash ?
I used TeeChart version 7 for an older Dev Studio 2006/C++ Builder project that
I use builder for my buildprocess. I have some java classes in my src
I use the Builder pattern for several classes of my project (multiple arguments, some
Is the latest VCL similar to 6.0? I use Borland Builder 6. I know
I develop Flex-Java applications which is running under Apache Tomcat. I use Flex Builder
I've read that Adobe's Flash Builder 4.0+ supports profiling of ActionScript 3 applications. Is
Anyone know of some tutorial material for how to use Interface Builder for iPhone

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.