Thema: Delphi Probleme mit TRichEdit

Einzelnen Beitrag anzeigen

Jonas

Registriert seit: 5. Feb 2005
266 Beiträge
 
Delphi 2007 Professional
 
#3

Re: Probleme mit TRichEdit

  Alt 31. Dez 2005, 21:04
Mhm...ich check noch nich so ganz wie das nu gemeint is?!

Delphi-Quellcode:
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls, StdCtrls, ComCtrls, desktopsticky;

type
  Tsticky = class (TCustomControl)
    constructor Create(AOwner: TComponent); override;
  private
    stickynote: TRichEdit;
  public
  end;

constructor Tsticky.Create(AOwner: TComponent);
begin
inherited Create(Aowner);
  stickynote := TRichEdit.Create(AOwner);
  stickynote.Parent := Self;
  stickynote.Enabled := true;
  stickynote.Left := 60;
  stickynote.Top := 10;
  stickynote.Width := 80;
  stickynote.Height := 45;
 // stickynote.Color := clLime;
  stickynote.BorderStyle := BsNone;
  Mit Zitat antworten Zitat