Radio Group Transpartency

Is it possible to make a radio group box transparent? And if so how is it done ??  I have an image on my form and i dont want the box covering the background. Plus   i dont to use single radio buttons!!!  HELP !! URGENT !!!
BorrtAsked:
Who is Participating?
 
Eddie ShipmanConnect With a Mentor All-around developerCommented:
There is a group of components on Torrys
and the Super Page that show how this
is done. Look for TRCntls. Or if you
can't find them, I'll send you a copy
if you e-mail me directly...


0
 
BorrtAuthor Commented:
Adjusted points from 100 to 150
0
 
shenqwCommented:
//Your RadioButton must do like the RadioGroup Component.

unit MyRadioGroupComp;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  StdCtrls, ExtCtrls;

type
  TMyRadioGroup = class(TRadioGroup)
  private
    { Private declarations }
  protected
    { Protected declarations }
    procedure CreateParams(var Params: TCreateParams);override;
  public
    { Public declarations }
  published
    { Published declarations }
  end;

procedure Register;

implementation

procedure Register;
begin
  RegisterComponents('Samples', [TMyRadioGroup]);
end;

{ TRadioGroup1 }

procedure TMyRadioGroup.CreateParams(var Params: TCreateParams);
begin
  inherited;
  Params.ExStyle := Params.ExStyle + WS_EX_TRANSPARENT;
end;

end.
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
BorrtAuthor Commented:
Close but no cigar :)  when entering strings, the standard grey box is visible again!   any other suggestions ???
0
 
ITugayCommented:
Hi borrt,

In additional you may to try to use TLabel with Transparent property=true instead caption of radiogroup. And then, as usual, write onClick events for TLabel to switch in RadioGroup.

----
Igor.
0
 
Eddie ShipmanAll-around developerCommented:
Sorry,
My e-mail address is
eshipman@e-mds.com
0
 
BorrtAuthor Commented:
thanks for the email folow up too !!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.