Hello List,
I have the full svn tree of Lazarus-ccr on my machine.
I went today to the sourceforge project page to discover that
VirtualTreeView For example is newer on the download page then the svn
version.
How exactly are things updated in the svn ? I know that lnet does not belong
to the
My bad, I was using the old tvt version, and not the new part.
Ido
On Sun, Mar 20, 2011 at 13:07, ik ido...@gmail.com wrote:
Hello List,
I have the full svn tree of Lazarus-ccr on my machine.
I went today to the sourceforge project page to discover that
VirtualTreeView For example is
I need to create a program using Lazarus/FPC to access a data
collection device built using a PIC24F series microprocessor with
built-in USB support. The firmware makes the PIC processor register as
a Human Interface Device (HID) class USB device.
I understand that for the HID class one does not
Hi, I would like to know how can I let a CGI app return a JPeg image
from a TChart.
Here's what I'm doing:
procedure TFPWebModule1.getchartRequest(Sender: TObject; ARequest:
TRequest;
AResponse: TResponse; var Handled: Boolean);
var
lRect: TRect;
lChart: TChart;
lJPegImage:
On Mon, Mar 21, 2011 at 03:22, Leonardo M. Ramé l.r...@griensu.com wrote:
lCanvas.CopyRect(0,0,TFPCustomCanvas(lChart.Canvas),lRect);
After executing the method I'm getting Control '' has no parent
window' at the CopyRect line. I'm sure there is another method to copy a
TCanvas to a
On 2011-03-21 03:58:12 +1000, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 03:22, Leonardo M. Ramé l.r...@griensu.com wrote:
lCanvas.CopyRect(0,0,TFPCustomCanvas(lChart.Canvas),lRect);
After executing the method I'm getting Control '' has no parent
window' at the CopyRect line.
On Sun, 20 Mar 2011, Leonardo M. Ramé wrote:
On 2011-03-21 03:58:12 +1000, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 03:22, Leonardo M. Ramé l.r...@griensu.com wrote:
lCanvas.CopyRect(0,0,TFPCustomCanvas(lChart.Canvas),lRect);
After executing the method I'm getting Control ''
2011/3/21 Michael Van Canneyt mich...@freepascal.org:
Yes, but, how can I use a TCanvas in a CGI app?
If I write:
Chart.PaintOnCanvas(TCanvas(lCanvas), Rect(0, 0, 100, 100));
I get an Access Violation.
Of course, since you are converting an object to the type it does not belong to.
You
On 2011-03-21 04:38:46 +1000, Alexander Klenin wrote:
2011/3/21 Michael Van Canneyt mich...@freepascal.org:
Yes, but, how can I use a TCanvas in a CGI app?
If I write:
Chart.PaintOnCanvas(TCanvas(lCanvas), Rect(0, 0, 100, 100));
I get an Access Violation.
Of course, since you are
On Mon, 21 Mar 2011, Alexander Klenin wrote:
2011/3/21 Michael Van Canneyt mich...@freepascal.org:
Yes, but, how can I use a TCanvas in a CGI app?
If I write:
Chart.PaintOnCanvas(TCanvas(lCanvas), Rect(0, 0, 100, 100));
I get an Access Violation.
Of course, since you are converting an
On Mon, Mar 21, 2011 at 04:44, Leonardo M. Ramé l.r...@griensu.com wrote:
Of course, since you are converting an object to the type it does not belong
to.
You should create a TBitmap or another similar object.
Did you look at the savedemo as I proposed in a previous mail?
Yes, if I try to
On Mon, Mar 21, 2011 at 04:46, Michael Van Canneyt
mich...@freepascal.org wrote:
Why do you think so?
TAChart should be prefectly capable of rendering on bitmap-based canvas.
Because both TCanvas and TBitmap suppose a GUI. TFPCustomCanvas does not.
Yes, I know about the 'nogui' widgetset,
Hi Bo,
I found these 2 links with google. They discuss the unit libusb which seems to
work (I have NOT tried it myself).
http://laurensdelangeelectronics.blogspot.com/2011/01/interfacing-with-usb-parallel-port.html
It appears from the article that it only works as a linux superuser. I suggest
On 2011-03-21 04:54:45 +1000, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 04:44, Leonardo M. Ramé l.r...@griensu.com wrote:
Of course, since you are converting an object to the type it does not
belong to.
You should create a TBitmap or another similar object.
Did you look at the
On Mon, Mar 21, 2011 at 05:14, Leonardo M. Ramé l.r...@griensu.com wrote:
On 2011-03-21 04:54:45 +1000, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 04:44, Leonardo M. Ramé l.r...@griensu.com wrote:
Of course, since you are converting an object to the type it does not
belong to.
You
On 2011-03-21 05:27:49 +1000, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 05:14, Leonardo M. Ramé l.r...@griensu.com wrote:
On 2011-03-21 04:54:45 +1000, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 04:44, Leonardo M. Ramé l.r...@griensu.com wrote:
Of course, since you are
On Mon, Mar 21, 2011 at 05:30, Leonardo M. Ramé l.r...@griensu.com wrote:
You have to link you CGI app with some graphic widgetset,
which will unfortunately bloat an executable, but should otherwise work.
Well, I tested that, but I get Internal Server Error from my Apache.
What does the log
On Mon, Mar 21, 2011 at 05:42, Leonardo M. Ramé l.r...@griensu.com wrote:
[Sun Mar 20 16:30:09 2011] [error] [client ::1] (cgicharts:16246):
Gtk-WARNING **: cannot open display:
[Sun Mar 20 16:30:09 2011] [error] [client ::1] Premature end of script
headers: cgicharts
Unfortunately, I am not
On 2011-03-21 06:00:20 +1000, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 05:42, Leonardo M. Ramé l.r...@griensu.com wrote:
[Sun Mar 20 16:30:09 2011] [error] [client ::1] (cgicharts:16246):
Gtk-WARNING **: cannot open display:
[Sun Mar 20 16:30:09 2011] [error] [client ::1] Premature
On 20 March 2011 19:42, Leonardo M. Ramé l.r...@griensu.com wrote:
On 2011-03-21 05:39:01 +1000, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 05:30, Leonardo M. Ramé l.r...@griensu.com wrote:
You have to link you CGI app with some graphic widgetset,
which will unfortunately bloat an
On Mon, Mar 21, 2011 at 06:14, Leonardo M. Ramé l.r...@griensu.com wrote:
Thanks for the explanation Alexander.
Looking at the TChart.PaintOnCanvas method, I see you use a TCanvasDrawer
class to draw over a TCanvas. I
think it shouldn't be too difficult to use a TFPImageCanvas when using
On 20.03.2011 21:21, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 06:14, Leonardo M. Ramél.r...@griensu.com wrote:
Thanks for the explanation Alexander.
Looking at the TChart.PaintOnCanvas method, I see you use a TCanvasDrawer class
to draw over a TCanvas. I
think it shouldn't be too
On 2011-03-20 20:16:19 +, Henry Vermaak wrote:
On 20 March 2011 19:42, Leonardo M. Ramé l.r...@griensu.com wrote:
On 2011-03-21 05:39:01 +1000, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 05:30, Leonardo M. Ramé l.r...@griensu.com wrote:
You have to link you CGI app with some
On 2011-03-20 18:16:00 -0300, Leonardo M. Ramé wrote:
On 2011-03-20 20:16:19 +, Henry Vermaak wrote:
On 20 March 2011 19:42, Leonardo M. Ramé l.r...@griensu.com wrote:
On 2011-03-21 05:39:01 +1000, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 05:30, Leonardo M. Ramé
On Mon, 21 Mar 2011 04:58:18 +1000
Alexander Klenin kle...@gmail.com wrote:
On Mon, Mar 21, 2011 at 04:46, Michael Van Canneyt
mich...@freepascal.org wrote:
Why do you think so?
TAChart should be prefectly capable of rendering on bitmap-based canvas.
Because both TCanvas and TBitmap
On Mon, Mar 21, 2011 at 08:41, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
On Mon, 21 Mar 2011 04:58:18 +1000
Alexander Klenin kle...@gmail.com wrote:
Hm. For me GUI means graphical user interface -- that is, windows (aka
forms),
interacting with mouse, etc.
I have just committed a
On Mon, 21 Mar 2011 11:53:52 +1000
Alexander Klenin kle...@gmail.com wrote:
On Mon, Mar 21, 2011 at 08:41, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
On Mon, 21 Mar 2011 04:58:18 +1000
Alexander Klenin kle...@gmail.com wrote:
Hm. For me GUI means graphical user interface -- that
27 matches
Mail list logo