Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by negaH,
5. Aug 2003
Also im obigen Code wird Rectangle(0, 0, 20, 20), das rechteck soll also 20x20 Pixel groß werden .
Nun frage ich dich nochmal wie groß der Canvas der BMP ist ?
Da du das im Source nicht festgelegt hast ist die Bitmap BMP 0 Pixel breit und 0 Pixel hoch. Wie soll darin ein Rechteck mit 20x20 reinpassen. Das nichts angezeigt wird ist also logsich. Änders ab in
procedure...
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by negaH,
5. Aug 2003
Welche .Width und .Height hat BMP ?
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by negaH,
4. Aug 2003
SpeedButton.Canvas.CopyRect(Rect, Canvas);