AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Shape

Ein Thema von Simon1988 · begonnen am 13. Feb 2007 · letzter Beitrag vom 13. Feb 2007
Antwort Antwort
Simon1988

Registriert seit: 12. Jul 2006
39 Beiträge
 
#1

Shape

  Alt 13. Feb 2007, 16:53
Guten Tag,
wollte ein Shape erzeugen. Aber selbst erzeugen
Delphi-Quellcode:
 Shape := TShape.create(Form1) ;
 Shape.Top := 10 ;
 Shape.Left := 10 ;
 Shape.Width := 10 ;
 Shape.Height := 10 ;
 Shape.Visible := TRUE ;
 Shape.Enabled := true ;
 Shape.Shape := stRectangle ;
 Shape.Pen.Color := clred ;
 Shape.Brush.Color := clred ;
 Shape.Show ;
das problem ist , dass dieses shape nicht angezeigt wird .. warum
ß0??
  Mit Zitat antworten Zitat
Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#2

Re: Shape

  Alt 13. Feb 2007, 16:56
Das Parent muss noch zugewiesen werden, in diesem falle wohl auch auf Form1.
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat
Simon1988

Registriert seit: 12. Jul 2006
39 Beiträge
 
#3

Re: Shape

  Alt 13. Feb 2007, 16:59
wie mach ich das ?
  Mit Zitat antworten Zitat
Daniel G
(Gast)

n/a Beiträge
 
#4

Re: Shape

  Alt 13. Feb 2007, 17:00
Shape.Parent := Form1;
  Mit Zitat antworten Zitat
Simon1988

Registriert seit: 12. Jul 2006
39 Beiträge
 
#5

Re: Shape

  Alt 13. Feb 2007, 17:01
danke
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:42 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz