[DUG] TradioGroup without a border

Ayers, Stephen Stephen.Ayers at nz.fujitsu.com
Fri Nov 5 12:02:45 NZDT 2010


Thanks guys.  After I sent the mail I twigged that a panel with radio
buttons on it will do the trick just fine.

thanks



-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
On Behalf Of delphi-request at delphi.org.nz
Sent: Friday, 5 November 2010 12:00 PM
To: delphi at delphi.org.nz
Subject: Delphi Digest, Vol 85, Issue 3

Send Delphi mailing list submissions to
	delphi at delphi.org.nz

To subscribe or unsubscribe via the World Wide Web, visit
	http://listserver.123.net.nz/mailman/listinfo/delphi
or, via email, send a message with subject or body 'help' to
	delphi-request at delphi.org.nz

You can reach the person managing the list at
	delphi-owner at delphi.org.nz

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Delphi digest..."


Today's Topics:

   1. TradioGroup without a border (Ayers, Stephen)
   2. Re: TradioGroup without a border (Jeremy North)
   3. Re: TradioGroup without a border (Cheng Wei (FMI))
   4. Re: TradioGroup without a border (Colin Johnsun)


----------------------------------------------------------------------

Message: 1
Date: Fri, 5 Nov 2010 11:15:27 +1300
From: "Ayers, Stephen" <Stephen.Ayers at nz.fujitsu.com>
Subject: [DUG] TradioGroup without a border
To: <delphi at delphi.org.nz>
Message-ID:
	<F6C2297DE3A2DA499AF90F27D5E3C88601D0256B at ack0102.au.fjanz.com>
Content-Type: text/plain; charset="us-ascii"

Hi there

Does anyone know how to remove the border from a TRadioGroup?  I can not
seem to find a property that does this, either I am blind or there isn't
one.  Any help would be appreciated.

Thanks





------------------------------

Message: 2
Date: Fri, 5 Nov 2010 09:21:31 +1100
From: Jeremy North <jeremy.north at gmail.com>
Subject: Re: [DUG] TradioGroup without a border
To: NZ Borland Developers Group - Delphi List <delphi at delphi.org.nz>
Message-ID:
	<AANLkTikPmHLgMmvQ421+GuxO373GTv31UMXoJ6ONuw3b at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

You can't. Just use a panel and radiobuttons.

It isn't hard to layout the controls. If you want to be really "lazy"
you could use a flow panel (or grid panel).

On Fri, Nov 5, 2010 at 9:15 AM, Ayers, Stephen
<Stephen.Ayers at nz.fujitsu.com> wrote:
> Hi there
>
> Does anyone know how to remove the border from a TRadioGroup? ?I can
not
> seem to find a property that does this, either I am blind or there
isn't
> one. ?Any help would be appreciated.
>
> Thanks
>
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with
Subject: unsubscribe
>



------------------------------

Message: 3
Date: Fri, 5 Nov 2010 11:36:24 +1300
From: "Cheng Wei (FMI)" <chengw at fmi.co.nz>
Subject: Re: [DUG] TradioGroup without a border
To: "NZ Borland Developers Group - Delphi List" <delphi at delphi.org.nz>
Message-ID:
	<D318BFCBAE3CA84B98F2B644430FDD39655724 at fmisrv01.fmi.local>
Content-Type: text/plain;	charset="us-ascii"


Hi,

Below works for us:

procedure TForm1.FormCreate(Sender: TObject);
  SetWindowRgn(ARadioGroup.Handle, CreateRectRgn(7, 14,
ARadioGroup.Width - 2, ARadioGroup.Height - 2), True);
end;

HTH

Cheng Wei
Software Development Manager
Fairview Metal Industries

M   +64 21 410 776
P    +64 9 984 4917
F    +64 9 984 4993
      chengw at fmi.co.nz
      www.fmi.co.nz
 

|-----Original Message-----
|From: delphi-bounces at delphi.org.nz 
|[mailto:delphi-bounces at delphi.org.nz] On Behalf Of Ayers, Stephen
|Sent: Friday, 5 November 2010 11:15 a.m.
|To: delphi at delphi.org.nz
|Subject: [DUG] TradioGroup without a border
|
|Hi there
|
|Does anyone know how to remove the border from a TRadioGroup?  
|I can not seem to find a property that does this, either I am 
|blind or there isn't one.  Any help would be appreciated.
|
|Thanks
|
|
|
|_______________________________________________
|NZ Borland Developers Group - Delphi mailing list
|Post: delphi at delphi.org.nz
|Admin: http://delphi.org.nz/mailman/listinfo/delphi
|Unsubscribe: send an email to delphi-request at delphi.org.nz 
|with Subject: unsubscribe
|
########################################################################
#############
Scanned by MailMarshal - M86 Security's comprehensive email content
security solution. 
Download a free evaluation of MailMarshal at www.m86security.com
########################################################################
#############



------------------------------

Message: 4
Date: Fri, 5 Nov 2010 09:36:25 +1100
From: Colin Johnsun <colin.adug at gmail.com>
Subject: Re: [DUG] TradioGroup without a border
To: NZ Borland Developers Group - Delphi List <delphi at delphi.org.nz>
Message-ID:
	<AANLkTim7jTKx58yyZkmJ98o9fDx3VT02OPFONHfyygB_ at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

If you need to have a borderless TRadioGroup you can probably use
TJvRadioGroup which is part of the open-sourced JVCL component library.

http://sourceforge.net/projects/jvcl/

It's free and it's available for most version of Delphi.

Cheers,
Colin

On 5 November 2010 09:15, Ayers, Stephen
<Stephen.Ayers at nz.fujitsu.com>wrote:

> Hi there
>
> Does anyone know how to remove the border from a TRadioGroup?  I can
not
> seem to find a property that does this, either I am blind or there
isn't
> one.  Any help would be appreciated.
>
> Thanks
>
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with
Subject:
> unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://listserver.123.net.nz/pipermail/delphi/attachments/20101105/c4e6e
93e/attachment-0001.html 

------------------------------

_______________________________________________
Delphi mailing list
Delphi at delphi.org.nz
http://listserver.123.net.nz/mailman/listinfo/delphi

End of Delphi Digest, Vol 85, Issue 3
*************************************





More information about the Delphi mailing list