🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #224

Re: "Winform control Import wizard" for 3rd party control in VCL.NET

#224
From: Arie Zilberstein
Date: Sun, 30 Jul 2006 06:26
70 lines
3635 bytes
Hi Jitender,


"Jitender" <jitender.mahinderkar@ge.com> wrote in message 
news:44c9c986$1@newsgroups.borland.com...
>
> I am in the process of defining a best possible technical solution to 
> replace legacy Delphi 3rd party controls in existing product.
>
> I am targetting the intermediate stage build in VCL.NET. So if I import 
> .NET 3rd party control (Say Xtragrid/Essential grid) in VCL.NET for one of 
> the control replacement, I think I will be able to move it to .NET 
> platform C# easily.
>
> Issue's that I can see with 3rd party .NET controls to be able to work in 
> VCL.NET platform:
>
> *All the control specific properties are not shown when you place import 
> control on VCL.NET Form.
> *All the design time features of these 3rd party .NET control to configure 
> properties placed on VCL.NET form (in-place configuration) are missing. 
> Say example:
> *3rd party .NET designer, control customization design-time feature
> totally not avaialble.
> *As soon as I place a 3rd party .NETcontrol on VCL.NET form it is loosing 
> its XP style appearance. I.e. it's becoming a basic control look(bland).
>
> If possible, please try to answer this direct questions that will help me 
> to come out with a feasible solution.
>
> *Do 3rd party .NET controls that primarily developed or targeted for .NET 
> plaform(C#) can still work in Delphi VCL.NET?

Yes, they can. Although sometimes it takes some amount of hair-pulling, but 
it can be made to work.

> *Is Xtragrid control doesn't support the VCL.NET Delphi 2006 underlying 
> architecture that its standard VCL.NET control supports.

It doesn't, that's what the Winform Control Import Wizard is for. Also if 
possible you can consider ExpressQuantumGrid from the same vendor, they have 
a native VCL.NET version and it's very similar to XtraGrid.

>
> 1. Am I trying something which is not a technically feasible solution? 
> That is, trying to import a .NET 3rd party control which is
> targeted for Visual studio .NET development (C#.NET based).
>
> 2. Is 3rd party .NET control targeted for Visual Studio .NET development 
> (using C#) still work in VCL.NET platform?
>
> 3. Is the Winform control Import wizard works for 3rd party .NET based 
> control (I.e Visual Studio) import process?

It's feasible, yes and yes.

>
> 4. Is this Winform control Import wizard works only for standard Windows 
> form controls (C#) import process?

No, it works with any control which inherit System.Windows.Forms.Control.

>
> 5. Is there any utility available from Borland that converts VCL win32 
> application to VCL.NET?

No, you should do it all by yourself.

Regards,
Arie 
Technical Details
Message-ID: <44cc5121@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44c9c986$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,bf4ef7cd68d26c8e
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Arie Zilberstein" <azilberstein@mercury.com>
Newsgroups: borland.public.delphi.winforms.controls.using
References: <44c9c986$1@newsgroups.borland.com>
Subject: Re: "Winform control Import wizard" for 3rd party control in VCL.NET
Date: Sun, 30 Jul 2006 09:26:43 +0300
Lines: 72
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 192.118.45.2
Message-ID: <44cc5121@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1154240801 192.118.45.2 (29 Jul 2006 23:26:41 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail