🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.winforms.general
Article #16

Re: Can I use VCL.NET component in Winform

#16
From: Marc Rohloff TeamB
Date: Fri, 03 Feb 2006 23:48
21 lines
1973 bytes
On Fri, 03 Feb 2006 18:44:50 +0100, VincentC wrote:

> I have a C# Winforms project.
> I need a scrollbox, how can I do with D2006?
> Can I use VCL Component in ?
> I want to use Tscrollbox,  etc ..

You may be able to do it by creating controls in code and setting the
ParentHandle property however you will probably run into many
problems. The ownership and messaging model is different which could
cause problems. I've done this the other way (Winforms controls on a
VCL Form) and there tend to be problems with keys being dispatched
properly.

> Another question : Does a VCL.NET application runs on MONO ?
No, it relies on Window's DLLs. (It might run on Mono under Windows)


-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID: <15fin2ohn8l24$.dlg@marcrohloff.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <mn.1c647d62af12c488.48802@PersoATfree.Fr>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efeb1,cbd2e5ad6a8d549b
X-Google-Attributes: gid1efeb1,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: Can I use VCL.NET component in Winform
Newsgroups: borland.public.csharpbuilder.winforms.general
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <mn.1c647d62af12c488.48802@PersoATfree.Fr>
Date: Fri, 3 Feb 2006 18:48:01 -0500
Message-ID: <15fin2ohn8l24$.dlg@marcrohloff.com>
X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR
X-Antivirus: avast! (VPS 0605-5, 02/03/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 65.31.14.220
X-Trace: newsgroups.borland.com 1139010127 65.31.14.220 (3 Feb 2006 15:42:07 -0700)
Lines: 21
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail