AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Power++

Ein Thema von cookie22 · begonnen am 24. Jul 2010 · letzter Beitrag vom 24. Okt 2010
 
plusplus

Registriert seit: 30. Jul 2010
106 Beiträge
 
Delphi 2009 Architect
 
#26

AW: Delphi++

  Alt 1. Sep 2010, 18:39
Hat jemand ne Ahnung ob ich Delphi++ auch für meine bisherigen Delphi 7 Projekte nutzen kann ?
yes and no

here is a small trick:

save your delphi unit:

unit.pas
unit.dfm

as

unit.code++
unit.form++

then

open unit.form++ in a text editor and change the very first line to

object Form: TForm

now open Delphi++ project and select Add Existing Items and add unit.code++.

the form will be imported. Exotic controls that you might have will be ignored.

finally open the imported code unit and remove everything from the top until (inclduing) implementation

then adjust your events like this:

procedure TForm1.Button1OnClick(Sender: TObject);

to

procedure Button1_OnClick(Sender: TObject( or any));

try to compile and if any errors adjust syntax.


Will soon create an import tool for this
Grid Computing made simple - http://xerocoder.com
 
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:15 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz