Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
drawin methods on lazarus
Downloads
Daily Snapshots
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Mailing List
Free pascal
Other languages
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Lazarus, the complete guide
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: drawin methods on lazarus (Read 2877 times)
Dhouard
Guest
drawin methods on lazarus
«
on:
December 24, 2003, 04:32:11 pm »
Hi, I'm new on lazarus programming thought I followed the project for a long time.
My problem is that I don't know how to call a method of an object. I try to draw an ellipse on a drawing area and keyed something like this.
X:=100;
Y:=100;
Radius:=50;
darea.fillellipse(X,Y,Radius);
Where darea is a drawing area on my main form. I have an "Illegal call" when I compile.
I don't know how to call methods on lazarus, even if there are methods defined. ¿Is there some tutorial about lazarus?. I have several about fpc but seems to be for text or console only.
Thanks.
Dhouard.
Logged
Anonymous
Guest
drawin methods on lazarus
«
Reply #1 on:
December 26, 2003, 02:13:23 pm »
Try drawing on the canvas of the form -
canvas.fillellipse(X,Y,Radius)
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
drawin methods on lazarus
Recent
ListBox Filter
by
lainz
[
Today
at 05:00:07 am]
BGRAControls
by
lainz
[
Today
at 03:10:41 am]
FPCUp FPC/Lazarus SVN ins...
by
lainz
[
Today
at 03:09:38 am]
What is this Delphi Heade...
by
DirkS
[
Today
at 12:11:59 am]
Build of SQLite3 for WINC...
by
bambamns
[
Today
at 12:09:01 am]
Lazarus crashes after “Re...
by
and4977
[May 20, 2012, 11:26:31 pm]
Scrambled dragimage
by
Ocye
[May 20, 2012, 10:30:19 pm]
Transparency with Qt on D...
by
Ocye
[May 20, 2012, 08:14:43 pm]
DragImage adds as new win...
by
Ocye
[May 20, 2012, 08:05:24 pm]
TFrame size
by
iru
[May 20, 2012, 07:03:22 pm]