🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: 3rd Party .NET Control import in VCL.NET

#230
From: Jitender
Date: Tue, 01 Aug 2006 14:09
68 lines
4363 bytes
Rather than generalities, I will ask very specific's behind the question that I have raised:

The advantage I thought I will get using Essential Grid/XtraGrid (.NET based control imported in VCL.NET) is that I will move to .NET (C#) easily at later stage from the intermediate VCL.NET build.

Question 1:
I don't see any control specific properties of 3rd party .NET controls such as Xtragrid/EssentialGrid whereas I can able to see only properties that are usually visible for all the controls in Delphi 2006 say standard/Win32 etc. delphi controls.

Question 2:
The vendor confirmed that designer (XtraGrid Design-time-Xtragrid designer, Level Designer and Band and Columns customization design-time) feature are not implementable in VCL.NET as they have built it specifically for VS.NET platform. I have asked the vendor to explain why it is not possible in runtime.

EssentialGrid also has design-time feature such as Gridboundcolumn editor to add columns and configure each column properties individually with StyleInfo. But I am not able to create the equivalent code of VS.NET (C#) for this functionality in VCL.NET.

Question 3:
I get an error when I assign Datasource property of Essential grid with a Datasource (TDatasource- with ADOConnection and ADODataset or ADODB) on Delphi VCL.NET form(nfm file). The exception message is "BadDataSourceForComplexBinding". 

Whereas for VCL.NET based DBgrid control/data-aware controls the datasource is working fine.

Question 4:
The controls that I would like to know whether works in VCL.NET are Xtragrid control and Essential Grid control.

I am sure there are some light weight Winform .NET controls works in VCL.NET using this wizard.

Basically, both XtraGrid & Essential Grid is targetted for .NET (C#.NET) development and it is working fine.
 
Am I still going in right direction which is technically feasible or do you think I have to use specific Grid for VCL.NET i.e. ExpressQuantumGrid and target for C# based Grid (Essential Grid/XtraGrid) control at later stage of development.

regards,
Jitender



"Jitender" <jitender.mahinderkar@ge.com> wrote:
>
>
>Is .NET based 3rd party controls like Xtragrid or Essential Grid tested in VCL.NET platform?
>
>As I don't find any general issues with these controls in VS.NET (C#) for which this control was targetted(Developed).
>
>regards,
>Jitender
>
>
>"Marc Rohloff [TeamB]" <"on request"> wrote:
>>On 29 Jul 2006 02:24:28 -0700, Jitender wrote:
>>
>>> 1. Is design-time feature of these controls supported in VCL.NET?
>>> As I don't see the properties in object inspector. 
>>You should at least see some properties. Some will be unsupported if
>>they have types that the VCL framework does not understand.
>>
>>> 2. Is it possible to code all design-time properties functionality
>>> at run-time in VCL.NET code-behind .NFM pascal file? 
>>In the Pascal file? Yes it should be.
>>
>>> 3. Is ".NET Databinding model" supported for these controls in
>>> VCL.NET platform? 
>>Only if you use .NET datasets and create the bindings in code.
>>
>>> 4. Is .NET 3rd party control (Winform based controls) support for
>>> VCL.NET platform? 
>>Only by using the wizard. Also I have found some controls that don't
>>work.
>>
>>-- 
>>Marc Rohloff [TeamB]
>>marc rohloff -at- myrealbox -dot- com
>
Technical Details
Message-ID: <44cf60a9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44cb294c$1@newsgroups.borland.com> <1rozgayvccufh$.dlg@dlg.marcrohloff.com> <44cdfed8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,9ee70555ed694222
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jitender" <jitender.mahinderkar@ge.com>
Sender: "Jitender" <jitender.mahinderkar@ge.com>
Reply-To: "Jitender" <jitender.mahinderkar@ge.com>
Subject: Re: 3rd Party .NET Control import in VCL.NET
Newsgroups: borland.public.delphi.winforms.controls.using
X-User-Info: 210.210.12.140     
X-Forwarded-For: 10.10.10.1
References: <44cb294c$1@newsgroups.borland.com> <1rozgayvccufh$.dlg@dlg.marcrohloff.com> <44cdfed8$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <44cf60a9$1@newsgroups.borland.com>
Date: 1 Aug 2006 07:09:45 -0700
X-Trace: newsgroups.borland.com 1154441385 207.105.83.66 (1 Aug 2006 07:09:45 -0700)
Lines: 69
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail