Ver la Versión Completa : Comp. Transparentes TcustomControl
José Luis Garcí
04-09-2007, 21:36:10
Alguien Sabe como convertir un TcustomControl o TWinControl transparente, para poder ponerlo encima de una imagen. Gracias de antemano.
José Luis Garcí
07-09-2007, 22:42:40
he logrado lo siguiente, por si alguien tiene el mismo problema
Txxxx = Class(TCustomControl)
...
public
procedure CreateParams(var Params: TCreateParams);override;
...
procedure Tccdlabelsopr.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
Params.ExStyle:= Params.ExStyle + WS_EX_Transparent;
ControlStyle := ControlStyle-[csOpaque]+[csAcceptsControls];
end;
vBulletin v3.6.8, Derechos ©2000-2024, Jelsoft Enterprises Ltd.