Marc Weustink wrote:
Luiz Americo Pereira Camara wrote:
While debugging scrolling bugs in LCL i found that ClientToScreen
acts differently according to the widget set.
These are the behaviors:
1) The returned value is related to the actual position, i.e., it
does not consider the scroll
While debugging scrolling bugs in LCL i found that ClientToScreen acts
differently according to the widget set.
These are the behaviors:
1) The returned value is related to the actual position, i.e., it does
not consider the scroll offset. If you pass Point(0,0) the value will be
the same
Andrey Gusev wrote:
* Mattias G#228;rtner [EMAIL PROTECTED] [Wed, 30 Jan 2008
18:45:57 +0100]:
Zitat von Andrey Gusev [EMAIL PROTECTED]:
--- interfaces/win32/win32callback.inc (revision 13905)
+++ interfaces/win32/win32callback.inc (working copy)
@@ -504,7 +504,7 @@
if (ControlDC = 0) or
I need to load the data of bitmap files into a buffer in the RGBA
format, but i'm somewhat lost.
Reading the wiki and the source i got to the following code:
procedure DumpMem(Data: PCardinal; Size: Integer);
var
i: Integer;
Color: TRGBA;
begin
for i := 0 to Size - 1 do
begin
Color :=
Marco Alvarado wrote:
You could try using TLazIntfImage.GetDataLineStart() instead.
I think you can modify your code this way:
...
for y := 0 to IntfImg.DataDescription.Height-1 do
DumpMem(PCardinal(IntfImg.GetDataLineStart(y)), IntfImg.DataDescription.Width);
...
Thanks, but i still get
wile64 wrote:
Your image is in 24 bits, test load and then changing it to 32 bits
It seems the best description for what i want is
Init_BPP32_B8G8R8_BIO_TTB that gives me a 24bit depth with a 32bits per
pixel, but still getting random values.
Also tested Init_BPP24_B8G8R8_BIO_TTB.
No luck.
Luiz Americo Pereira Camara wrote:
Should i pass the width, height when init datadescription?
This does not help. I hardcoded width and height to 2 and got the same
result.
Luiz
_
To unsubscribe: mail [EMAIL PROTECTED
Paul Ishenin wrote:
Luiz Americo Pereira Camara wrote:
Gtk2 is in fact slower than Gtk1, every one agree, but LCL/Gtk2
application are much slower than other Gtk2 applications
Is it possible to profile gtk2 lcl application and find what cause
this slowleness? Who can do?
I'll take a look
Damien Gerard wrote:
On Jan 22, 2008, at 10:20 PM, Marc Weustink wrote:
Luiz Americo Pereira Camara wrote:
Marc Weustink wrote:
Graeme Geldenhuys wrote:
On 22/01/2008, Giuliano Colla [EMAIL PROTECTED] wrote:
I gather that someone is already using GTK2, but I believe that
he's not
much
Marc Weustink wrote:
Graeme Geldenhuys wrote:
On 22/01/2008, Giuliano Colla [EMAIL PROTECTED] wrote:
I gather that someone is already using GTK2, but I believe that he's
not
much demanding in terms of graphic appearance. My customers would run
after me with a hammer if I'd dare to show them
Lord Satan wrote:
On Sun, 20 Jan 2008 22:33:53 +0200
Graeme Geldenhuys [EMAIL PROTECTED] wrote:
I still think having a
custom Object Pascal written toolkit for Lazarus is the way to go. The
LCL would have progressed and stabilized much faster if the Lazarus
developers did that from the
Marc Weustink wrote:
ik wrote:
On Jan 14, 2008 3:59 AM, wfifi [EMAIL PROTECTED] wrote:
thanks ido
wireshark is a great tool, i attach a log, found data is got, but
Component's status not change.
I've read your code again (and looked at the log), I noticed this:
Marc Weustink wrote:
You are casting a pointer as a string... The way to convert PChar to a
string is to use the function StrPas
Only if you use shortstrings. When using ansistrings you can cast a
PChar in to a string like: String(SomePchar)
With ansistrings you seldom (or never) need
Marc Weustink wrote:
Luiz Americo Pereira Camara wrote:
Marc Weustink wrote:
You are casting a pointer as a string... The way to convert PChar
to a
string is to use the function StrPas
Only if you use shortstrings. When using ansistrings you can cast
a PChar in to a string like: String
Damien Gerard wrote:
It seems the RSS for the subversion repository does not work anymore
since the 07/12/26.
(http://www.freepascal.org/feeds/lazarussvn.rss)
I have got a 404 not found.
It is really usefull :)
May be has it been moved somewhere else ?
Try this link
Damien Gerard wrote:
On Dec 20, 2007, at 12:14 AM, Luiz Americo Pereira Camara wrote:
Damien Gerard wrote:
On Dec 19, 2007, at 9:23 PM, Luiz Americo Pereira Camara wrote:
I updated the sqlite4fpc homepage adding documentation and some
tutorials.
As a bonus i also added some features
I updated the sqlite4fpc homepage adding documentation and some tutorials.
As a bonus i also added some features.
See http://www.geocities.com/camara_luiz/
Luiz
_
To unsubscribe: mail [EMAIL PROTECTED] with
Damien Gerard wrote:
On Dec 19, 2007, at 9:23 PM, Luiz Americo Pereira Camara wrote:
I updated the sqlite4fpc homepage adding documentation and some
tutorials.
As a bonus i also added some features.
See http://www.geocities.com/camara_luiz/
Under Ubuntu :
May be
$ sudo apt-get
Mattias Gaertner wrote:
On Fri, 07 Dec 2007 22:52:29 -0300
Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote:
I need a class that stores a pointer value indexed by a pointer. It
should provide a way to retrieve the value using the indexed value.
I know TMap from Maps unit.
There's
I need a class that stores a pointer value indexed by a pointer. It
should provide a way to retrieve the value using the indexed value.
I know TMap from Maps unit.
There's another class that comes with fpc/lazarus?
Luiz
_
To
Mattias Gaertner wrote:
On Fri, 07 Dec 2007 22:52:29 -0300
Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote:
I need a class that stores a pointer value indexed by a pointer. It
should provide a way to retrieve the value using the indexed value.
I know TMap from Maps unit.
There's
Paul Ishenin wrote:
wile64 wrote:
I may be stupid but what is the difference between TPageControl and
TNoteBook exactly ?
TNoteBook is some obsoleted win 3.1 control. In current lazarus
implementation TNotebook has about the same implementation as
TPageControl. All difference is in how
Luca Olivetti wrote:
En/na Roberto Padovani ha escrit:
When the project I'm working on is finished, I'll strip everything
from the source code and only leave a detailed tutorial for using
sqlite without visual components.
FWIW to do that you can also use sqlite3 directly (or with a thin
Roberto Padovani wrote:
Now, about assumptions.
in sqlite3ds there is the assumption that BOOLEAN fields are stored as
1 or 0. In fact, to recover a db that had TRUE and FALSE, I made a
new class where I changed ftBool to fString. In this way I could read
them, parse them and then write them
Roberto Padovani wrote:
Hi all!
two things: 1) a (possible) improvement to sqlite3ds; 2) the old
problem with dates and time
1) I found a sqlite database that uses the TIMESTAMP data type, but
this is not directly supported by the Tsqlite3Dataset written by Luiz.
I added the if-else checks in
Graeme Geldenhuys wrote:
Hi,
I haven't tried Lazarus compiled with GTK2 in months and thought I
would give it a go. Compiling went fine. Running Lazarus though, the
screens (any dialog windows I open) redraw quite slow.
Also scrolling the editor window up or down with the mouse causes
serious
Mattias Gaertner wrote:
On Thu, 22 Nov 2007 11:51:36 +0100
Luca Olivetti [EMAIL PROTECTED] wrote:
En/na Mattias Gaertner ha escrit:
.lfm files: no
.lrs files: it depends. It is recommended to keep them.
Why? Cannot they be automatically generated from the lfm?
And I
Damien Gerard wrote:
I had some headaches after adding lrs to svn repositories. Definitely
i don't add lrs and lps files to my svn repositories.
I agree with lps due to it contains about the session. So it should be
added into a repository.
Like .res and now I have nice commits.
And I
Vincent Snijders wrote:
Damien Gerard schreef:
I use SVn with my projects in lazarus.
I added the file project.lpi. This file is sent nearly at each commit
and always provides conflicts with others team members.
However I believe the file is needed due to there are some settings
for the
Vasily I. Volchenko wrote:
Thanks. This is a good start.
Luiz
-Original Message-
From: Vasily I. Volchenko [EMAIL PROTECTED]
To: Luiz Americo Pereira Camara [EMAIL PROTECTED]
Date: Tue, 20 Nov 2007 17:44:51 +0300
Subject: Re[2]: [lazarus] Plots
Hi,
Thanks, i got the packages
@Paul
Recently, landed in svn an implementation of CreatePatternBrush for gtk.
I'd like to point that for some time a patch fixing the creation of
pattern brushes through CreateBrushIndirect is available in mantis (see:
http://www.freepascal.org/mantis/view.php?id=8814)
It has some
Paul Ishenin wrote:
Luiz Americo Pereira Camara wrote:
function CreatePatternBrush(hbmp:HBITMAP):HBRUSH;
var
Log: TLogBrush;
begin
with Log do
begin
lbColor := 0;
lbHatch := hbmp;
lbStyle := BS_PATTERN;
Result := CreateBrushIndirect(Log);
end;
end;
I warry in this case about
Daniel Rincón García wrote:
I am trying to execute the examples but I obtain the next errors:
http://i12.tinypic.com/526id0j.jpg
http://i15.tinypic.com/2lmrm9t.jpg http://i15.tinypic.com/2lmrm9t.jpg
http://i2.tinypic.com/536k4l5.jpg
http://i9.tinypic.com/6g8t7ur.jpg
What is the problem?
Daniel Rincón García wrote:
Yes, I translated to sqlite3ds. The sqliteminimal example works
correctly but the 3dcompare example do not works.
I did not change dumpdata.pas to use sqlite3ds.
How I do it?
replace TSqliteDataset by TSqlite3Dataset and sqliteds by sqlite3ds
Luiz
Mattias Gaertner wrote:
On Fri, 02 Nov 2007 13:56:31 -0300
Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote:
2)Make units packages/projects optional according to widgetset.
Concrete situation: LCL extensions package has a unit (OleUtils) that
implements TOLEStream. It only makes sense
Luiz Americo Pereira Camara wrote:
# There is no real need for conditional options for units
Maybe there's already a solution to this case and i'm missing something.
In fact, i already found a workaround that i implemented in another
package. I added a dummy unit to the package that uses
Mattias Gaertner wrote:
On Fri, 02 Nov 2007 18:59:26 -0300
Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote:
Luiz Americo Pereira Camara wrote:
# There is no real need for conditional options for units
Maybe there's already a solution to this case and i'm missing
something
Mattias Gaertner wrote:
On Fri, 02 Nov 2007 21:53:52 -0300
Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote:
Luiz Americo Pereira Camara wrote:
The VirtualTreeView package is a lot big, even when zipped. I'll
try to create a smaller dummy package and will send to you.
I
James Chandler Jr wrote:
Hi Giuliano
The Carbon Lazarus works great with invalidate and the OnPaint events,
as far as I've been able to tell. Mac double-buffering on the screen
well-guarantees no flicker. And it is true that invalidate can be
called multiple times before the event loop gets
Mattias Gaertner wrote:
https://svn.bountysource.com/luipack/trunk/uniqueinstance
If someone knows a way to hook in LCL message loop to be called more
frequently than OnIdle or wants to implement a separeted thread i'm
accepting patches.
Contrary to windows there are far less messages
Luca Olivetti wrote:
En/na Mattias Gärtner ha escrit:
Is there already a cross platform component for applications to check
if it is
already running and if yes then pass some commands to the already
application?
For example clicking on files in the file browser should not open a
second
Luca Olivetti wrote:
En/na Luiz Americo Pereira Camara ha escrit:
It's working here both under win32 and linux (testraw and
testcomponent programs). Using fpc 220, Ubuntu Feisty Faw, recent
lazarus svn.
I assure you that I could lauch various copies of my program. I used
fpc 2.0.4, maybe
Graeme Geldenhuys wrote:
It is SO bad that I have gotten in the habit of using a dedicated
virtual desktop just for Lazarus. I would definitely be in favor of a
single window design.
Someone else that thinks like I do. I actually use 4 virtual desktops.
One for Lazarus, Firefox, Mozilla
I'm looking for a tool that builds a complete unit dependency tree for
object pascal. By complete i mean that not only the info unit1 uses
unit2 is given but also the functions used . Something like unit1 uses
functions foo and bar from unit2.
The tool can be for Delphi or Lazarus
Any help
In a recent thread i discussed with Marc the alpha bitmap design, and
was pointed that would be no performance penalty if a 24bit bitmap is
used in a 32bit color display since the number of bytes per pixel would
be equal. Initially i agreed but i found that this info is incorrect.
A 24bit
Marc Weustink wrote:
Luiz Americo Pereira Camara wrote:
Luiz Americo Pereira Camara wrote:
The problem is that StretchMaskBlt is calling AlphaBlend and somehow
this is not working.
It seems that TBitmap will have alpha channel by default (or at least
LCL recognizes as having) when running
Marc Weustink wrote:
This solution would bring another performance penalty, when using
32bit color display, since each time a BitBlt/StretchBlt is called a
color conversion (three times when using mask) will be done.
It also breaks the PixelFormat = pfDevice (the default) idea of
having the
Luiz Americo Pereira Camara wrote:
- The lower levels functions will be optimized. This would reduce
the size/complexity of StretchMaskBlt helping in the
maintainability/code quality since it will not be a handle all function
Now there is one function, otherwise you have to maintain 2
wile64 wrote:
2007/8/29, Luiz Americo Pereira Camara [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
wile64 wrote:
example :
FImagePaint is a TBitmap create with
FImagePaint := TBitmap.Create;
Try to define the height and width of the bitmap
I repeat that all
Luiz Americo Pereira Camara wrote:
The problem is that StretchMaskBlt is calling AlphaBlend and somehow
this is not working.
It seems that TBitmap will have alpha channel by default (or at least
LCL recognizes as having) when running in a display with 32bit color
under win32.
Looking
Marc Weustink wrote:
wile64 wrote:
Hello,
I create an bitmap and draw with functions RoundRect, Rectangle,
FillRect, TextRect, Ellipse, CopyRect.
After install snapshot Lazarus-0.9.23-fpc-2.0.4-20070827 dont work in
win32, work in gtk and gtk2.
with Lazarus-0.9.23-fpc-2.0.4-20070809 work
Marc Weustink wrote:
Luiz Americo Pereira Camara wrote:
Christian U. wrote:
TLazInfImage dont support AutoCreateMask anymore in actual SVN wich
breaks the Virtualtrees Support.
Also no transparency works in any Lazarus Image Type
I can confirm this.
I reported two bugs: 9501 and 9502
Mattias Gaertner wrote:
On Tue, 07 Aug 2007 14:12:19 -0300
Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote:
As a change to a properly implementation i would propose to add a
virtual method (DoMeasureTextPosition) to retrieve the TextLeft and
TextTop values (see TCustomLabel.Paint
Today i released two open source LCL controls:
TToggleLabel: a label that can switch between two states with visual
feedback (similar to what gtk has)
TMenuButton: a SpeedButton that integrates with a PopupMenu. I found
similar controls in Firefox, Eclipse based apps (RSSOwl beta), camtasia
Razvan Adrian Bogdan wrote:
I feel ListView isn't completed (other controls have issues too but
not that much), at least under gtk i get warnings about things, i was
wondering if VirtualTreeView might do the job, last time i checked it
had painting issues, like header not being painted.
Try
Luiz Americo Pereira Camara wrote:
Razvan Adrian Bogdan wrote:
I feel ListView isn't completed (other controls have issues too but
not that much), at least under gtk i get warnings about things, i was
wondering if VirtualTreeView might do the job, last time i checked it
had painting issues
Tony Maro wrote:
I got a Google Alert that said someone was having trouble finding my
components for Lazarus. I changed my blog software and never finished
migrating all my old links over.
I've just thrown up the first page that posts my tmpack of components:
Felipe Monteiro de Carvalho wrote:
On 7/16/07, ik [EMAIL PROTECTED] wrote:
Have you set the font family to unicode ?
Default font families are usually latin1 (or your system setting).
And how can I set that? (never heard about this)
Use the Font dialog component to select a font and set its
Alvise Nicoletti wrote:
Luiz Americo Pereira Camara ha scritto:
Alvise Nicoletti wrote:
Hi...
I have to parse xml both with Lazarus on linux (server) and Delphi
on Windows (client).
Actually, with Lazarus, I'm using the DOM, ReadXML, WriteXML units.
Is there something that I can use
Today i released a preview release of the new port of Virtual Treeview
based in version 4.5.1 for those that want to test it.
For info about the port, how install, know issues see
https://luipack.bountysource.com/wiki/virtualtreeview .
Feel free to do bug reports.
Luiz
zeljko wrote:
On Sunday 01 July 2007 13:56, Luiz Americo Pereira Camara wrote:
Today i released a preview release of the new port of Virtual Treeview
based in version 4.5.1 for those that want to test it.
For info about the port, how install, know issues see
https://luipack.bountysource.com
Alvise Nicoletti wrote:
Hi...
I have to parse xml both with Lazarus on linux (server) and Delphi on
Windows (client).
Actually, with Lazarus, I'm using the DOM, ReadXML, WriteXML units.
Is there something that I can use in Delphi with the same code? Or,
otherwise, is there some XML
Maybe i missed something but what's the meaning of the following code,
found in win32callback.inc:710
if lWinControl.ClassName = 'TPairSplitter' then
P := P;
Luiz
_
To unsubscribe: mail [EMAIL PROTECTED] with
Vincent Snijders wrote:
Hi,
I want to inform you that since a couple of days, the lazarus snapshots come
with gdb 6.6 instead of gdb 6.0.
Are you using the binary found in
http://sourceforge.net/project/showfiles.php?group_id=2435package_id=82724release_id=190586
?
I use the svn and
Joao Morais wrote:
OnClick doesn't mean exactly a click, you have OnMouseDown to
accompish this. OnClick means that the user sent information to the
control, and this doesn't happen when he open a combo (not usually).
Did you tried OnSelect?
Luiz
Luca Olivetti wrote:
En/na Luiz Americo Pereira Camara ha escrit:
See as a balance between features/code size.
Sure, that's a good trade off. One has just to know the peculiarities
of this dataset and where it diverges from the standard dataset
behaviour (btw: why did you implement
Luca Olivetti wrote:
Hello,
I'm writing an embedded application that will need a small database
(no more than a couple thousand records), and I though sqlite could
do it.
It probably won't have any graphical interface, so I don't need all
the goodies of a TDataset descendant, OTOH I like
Paul Ishenin wrote:
Luiz Americo Pereira Camara wrote:
I want to store a utf-16 encoded file in a Lazarus resource file and
than load as a Stream.
I already did the first step (create the lrs file with lazres) now i
want to load the file in a stream.
Does someone know how i can do
I want to store a utf-16 encoded file in a Lazarus resource file and
than load as a Stream.
I already did the first step (create the lrs file with lazres) now i
want to load the file in a stream.
Does someone know how i can do that?
Luiz
Today i released the first version of ATBinHex LCL port.
ATBinHex (see original component
http://atorg.net.ru/delphi/atbinhex.htm) is a viewer that can be view a
file in Ansi, Binary, HEX and Unicode (UTF-16LE) modes.
More info and download at https://luipack.bountysource.com/
Luiz
Mattias Gaertner wrote:
I have tested this more thoroughly now. I have just had a complete
crash of IDE after bringing up the colors list in the OI and
scrolling from the last in the list (upon opening) to the first. The
screen froze momentarily and then the IDE closed.
Hmm. This works
Luiz Americo Pereira Camara wrote:
Mattias Gaertner wrote:
I have tested this more thoroughly now. I have just had a complete
crash of IDE after bringing up the colors list in the OI and
scrolling from the last in the list (upon opening) to the first. The
screen froze momentarily
Burkhard Carstens wrote:
Am Mittwoch, 16. Mai 2007 16:35 schrieb fedorax:
Hello,
I just make a new svn update and i've a little problem:
using:
Printer.Canvas.TextStyle.Alignment=taRightJustify;
return this error:
cheques.pas(210,35) Error: Argument can't be assigned to
Did something
tanila wrote:
hello all,
is it possible to execute multiple sql statement with TSQLite3Dataset ?
I tried to create a sqlite database with multiple tables.
The SQL File looks like this:
create table if not exists users
(USR_ID integer auto_increment primary key,
USR_NAME VARCHAR(30) not null,
Vincent Snijders wrote:
Luiz Americo Pereira Camara schreef:
In the cited function (gtkcallback.inc) there's a dead code:
if (Data=nil) then ;
I haven't looked at the code, but sometimes this constructs are used
to suppress 'parameter Data not used' hints.
You are right
Vincent Snijders wrote:
Felipe Monteiro de Carvalho schreef:
On 4/13/07, Vincent Snijders [EMAIL PROTECTED] wrote:
I haven't looked at the code, but sometimes this constructs are used to
suppress 'parameter Data not used' hints.
Is supressing a hint really that important that we need useless
In the cited function (gtkcallback.inc) there's a dead code:
if (Data=nil) then ;
Luiz
_
To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
archives at
Micha Nelissen wrote:
Burkhard Carstens wrote:
However, with win32/gtk LCL this is even worse... seems like one never
knows, whether an event was fired before or after ..
These are all bugs. The developer interface should be as consistent as
possible, yet the look and feel for the
Luiz Americo Pereira Camara wrote:
An example of a widgetset that looks good is eLiquid from Pixel editor.
In this interview (
http://www.linuxinterviews.com/index.php?option=com_contenttask=viewid=14Itemid=2
) the Pixel developer considered Open Source eLiquid. The main concern
Razvan Adrian Bogdan wrote:
On 3/29/07, Florian Klaempfl [EMAIL PROTECTED] wrote:
Razvan Adrian Bogdan schrieb:
Win only is enough for now but Lazarus doesn't support ActiveX (COM)
It does?
Florian i don't understand what you mean, does Laz have an ActiveX
importer of some sort that i don't
Luiz Americo Pereira Camara wrote:
Razvan Adrian Bogdan wrote:
On 3/29/07, Florian Klaempfl [EMAIL PROTECTED] wrote:
Razvan Adrian Bogdan schrieb:
Win only is enough for now but Lazarus doesn't support ActiveX (COM)
It does?
Florian i don't understand what you mean, does Laz have
Vincent Snijders wrote:
Felipe Monteiro de Carvalho schreef:
On 3/13/07, Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote:
Just one tip maybe would be better to dereference PMethod after
assigned
check in the Callback proc
Ok, didn´t think about it.
Reattaching the patch, which
Felipe Monteiro de Carvalho wrote:
Forgot to attach the patch =)
Just one tip maybe would be better to dereference PMethod after assigned
check in the Callback proc
Method := PMethod^; //- if PMethod is nil there would be problems
if Assigned(PMethod) then
Method(Msg)
as alternative
Vincent Snijders wrote:
One thing I noted is that on Delphi, the WndProc will normally have a
call to DefWindowProc, and this is obviously Windows only. So, to keep
compatibility with Delphi, every WndProc used with AllocateHWnd would
need to have a IFDEF Windows, with a call to DefWindowProc
Luiz Americo Pereira Camara wrote:
Felipe Monteiro de Carvalho wrote:
Forgot to attach the patch =)
Just one tip maybe would be better to dereference PMethod after
assigned check in the Callback proc
Method := PMethod^; //- if PMethod is nil there would be problems
if Assigned(PMethod
Mattias Gaertner wrote:
Probably should be like that:
aStyle := gtk_widget_get_style(Widget);
if aStyle=nil then
begin
aStyle := GetStyle(lgsButton);
If aStyle = nil then
aStyle := GetStyle(lgsGTK_Default);
end;
Applied for readability.
Thanks.
Speaking in
Luiz Americo Pereira Camara wrote:
Mattias Gaertner wrote:
Probably should be like that:
aStyle := gtk_widget_get_style(Widget);
if aStyle=nil then
begin
aStyle := GetStyle(lgsButton);
If aStyle = nil then
aStyle := GetStyle(lgsGTK_Default);
end;
Applied
Vincent Snijders wrote:
Luiz Americo Pereira Camara schreef:
1 - Attached patch remove some redundant checks in gtk intf.
2 - Some lines above (in TGtkWidgetSet.DrawFrameControl) there's
this code:
aStyle := gtk_widget_get_style(Widget);
if aStyle=nil then
aStyle := GetStyle
Sergei Gorelkin wrote:
Tuesday, March 06, 2007, 10:14:10 PM, Luiz wrote:
LAPC Vincent Snijders wrote:
Luiz Americo Pereira Camara schreef:
1 - Attached patch remove some redundant checks in gtk intf.
2 - Some lines above (in TGtkWidgetSet.DrawFrameControl) there's
this code
Arí Ricardo Ody wrote:
I have a ListBox with four Items(for example). Suppose third item
selected (ListBox1.Items [2]).
When I run the method showed below program has different behavior:
In windows it deletes the ListBox1.Items [2] (as expected). After the
end of method execution, ListBox1
tanila wrote:
hello all,
i have the following message compiling sqlite3laz-package:
/home/tanila/lazarus/components/sqlite/sqlitecomponenteditor.pas(179,52)
Error: Illegal type conversion: enumeration type to TObject
This code is ugly and i plan to rewrite ASAP.
As a workaround try to do
Vicnent Snijders wrote:
Hi,
A bug was reported that TCanvas.Rectangle is incompatible to Delphi, but
somebody suggested that this was rather a Delphi bug.
For the complete story see:
http://www.freepascal.org/mantis/view.php?id=8342
In a note I wrote:
The canvas routines in Delphi are
I am creating a package that has a design time component. It originally
used the Resize method to paint the window. After the component is
dropped an error is given and the component is not added to the form. I
tried to change from Resize to DoOnResize without success. See callstack
below:
Vincent Snijders wrote:
Marc Weustink schreef:
If it was a message we created to handle something ourselves, then I
see, but in this case an existing, then there is no problem
Thanks, Luiz. I applied the (slightly modified) patch.
Thanks. I was aware of the problem sending a lager record
Marc Weustink wrote:
Luiz Americo Pereira Camara wrote:
Marc Weustink wrote:
Luiz Americo Pereira Camara wrote:
I fixed the double fire of MouseUp event when using right mouse button
under win32. See http://www.freepascal.org/mantis/view.php?id=8276.
But
one issue remained. If the Shift
Mattias Gaertner wrote:
On Mon, 05 Feb 2007 09:52:50 -0300
Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote:
Mattias Gaertner wrote:
- Should i implement GetCurrentObject?
IMO it would be better to improve TBitmap.
Currently TBitmap uses GetObject, so
Marc Weustink wrote:
Luiz Americo Pereira Camara wrote:
Marc Weustink wrote:
Luiz Americo Pereira Camara wrote:
Marc Weustink wrote:
Luiz Americo Pereira Camara wrote:
I fixed the double fire of MouseUp event when using right mouse
button
under win32. See
http://www.freepascal.org/mantis
Mattias Gaertner wrote:
On Sun, 04 Feb 2007 22:28:19 -0200
Luiz Americo [EMAIL PROTECTED] wrote:
Mattias Gaertner escreveu:
I started a new thread, because this has nothing to do with the
decision QuickDraw or Quartz.
On Sun, 4 Feb 2007 21:21:15 +0100
Pieter Valentijn [EMAIL
Mattias Gaertner wrote:
- Should i implement GetCurrentObject?
IMO it would be better to improve TBitmap.
Currently TBitmap uses GetObject, so implementing it will also benefit
TBitmap. I'll take a look and keep you informed.
Luiz
Mattias Gaertner wrote:
On Mon, 05 Feb 2007 09:19:28 -0300
Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote:
Mattias Gaertner wrote:
On Sun, 04 Feb 2007 22:28:19 -0200
Luiz Americo [EMAIL PROTECTED] wrote:
Mattias Gaertner escreveu:
I started a new thread
1 - 100 of 151 matches
Mail list logo