Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Radio Group Transpartency

Posted on 2000-05-07
7
Medium Priority
?
1,098 Views
Last Modified: 2012-05-04
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 !!!
0
Comment
Question by:Borrt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 

Author Comment

by:Borrt
ID: 2786835
Adjusted points from 100 to 150
0
 
LVL 3

Expert Comment

by:shenqw
ID: 2787296
//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
 

Author Comment

by:Borrt
ID: 2787376
Close but no cigar :)  when entering strings, the standard grey box is visible again!   any other suggestions ???
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 9

Expert Comment

by:ITugay
ID: 2788356
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
 
LVL 26

Accepted Solution

by:
EddieShipman earned 450 total points
ID: 2794212
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
 
LVL 26

Expert Comment

by:EddieShipman
ID: 2794233
Sorry,
My e-mail address is
eshipman@e-mds.com
0
 

Author Comment

by:Borrt
ID: 2798215
thanks for the email folow up too !!!
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question