Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Need help migrating from Delphi to Eclipse
Need help migrating from Delphi to Eclipse [message #116766] Fri, 11 November 2005 09:17 Go to next message
Eclipse UserFriend
Originally posted by: bsmith.nospam.com

I used Delphi extensively for a number of years. I'm looking to migrate
to Eclipse. My Delphi applications use dbExpress to connect with a
MySQL database. The applications use controls like TListView and
TRichEdit. I'm very interested in creating similar Windows applications
with Eclipse. The CDT add-on caught my eye.

In Delphi if I want to create the most basic application I would create
a new application, add a button then in the button's OnClick event I
would add some code like ShowMessage('Hello world');

How can you do this with Eclipse and CDT? I saw a way to create a
sample application but it looks like it creates a hello world DOS
console application. Is there a visual forms designer like Delphi has?

Any advice would be appreciated.
Re: Need help migrating from Delphi to Eclipse [message #116778 is a reply to message #116766] Fri, 11 November 2005 09:48 Go to previous messageGo to next message
mr. burns is currently offline mr. burnsFriend
Messages: 402
Registered: July 2009
Senior Member
Hello Bill,

until now, indeed CDT offers only a IDE which you can use to create C++
applications the old way. That means if you want to create applications with
window, buttons, listboxes etc. there is no visual tool (up to now) under
Eclipse and its plugins available and you must use the WINDOWS API to create
your windows, buttons, etc.
Eclipse is JAVA based and there you can use e.g. the Visual Editor plugin to
create windows applications similar to Delphi.
So if you come from Delphi why not switch to JAVA instead to C++? Then you
can get the full advantages of Eclipse and it's plugins.
But my recommedation is to look behind JAVA first, to understand how JAVA
applications work, how the event handling works, etc. Then if you are able
to create JAVA applications just using a simple text editor, you can use the
Visual Editor under Eclipse to accelerate the development process.

hth,

Mr. Burns
Re: Need help migrating from Delphi to Eclipse [message #116827 is a reply to message #116778] Fri, 11 November 2005 12:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bsmith.nospam.com

I installed Eclipse and the Visual Editor add-on. Is there a quick
start guide that shows how to create a simple form with a button and
OnClick event?
Re: Need help migrating from Delphi to Eclipse [message #116840 is a reply to message #116827] Fri, 11 November 2005 12:30 Go to previous messageGo to next message
mr. burns is currently offline mr. burnsFriend
Messages: 402
Registered: July 2009
Senior Member
Hello Bill,

please have a look at the online help for VEP (Visual Editor Project) within
Eclipse.

Its under Eclipse menu Help-->Help Contents-->Visual Editor for Java User
Guide-->Developing Java in the visual editor-->Designing Java classes with
the visual editor-->Handling events with the visual edior and there hav a
look on all subsections!

Ther is a lot of help within the online help including screenshots, how to
add a event, etc., just try it!

hope that helps!
Re: Need help migrating from Delphi to Eclipse [message #116894 is a reply to message #116778] Fri, 11 November 2005 13:37 Go to previous message
Eclipse UserFriend
Originally posted by: radoslawg.xxxx.xx

Mr. Burns napisał(a):
> Hello Bill,
>
> until now, indeed CDT offers only a IDE which you can use to create C++
> applications the old way. That means if you want to create applications with
> window, buttons, listboxes etc. there is no visual tool (up to now) under
> Eclipse and its plugins available and you must use the WINDOWS API to create
> your windows, buttons, etc.

Well.. You can ofcourse use any GUI framework you can find with CDT.
There is no limitation to Windows API. For free GUIs I recommend
wxWindows or (more direct) GTK+.

Cheers,
Radek.
Previous Topic:Auto Save Editors
Next Topic:Windows batch files and Eclipse
Goto Forum:
  


Current Time: Sun Oct 06 08:18:26 GMT 2024

Powered by FUDForum. Page generated in 0.04595 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top