zeljko wrote:
> On Tuesday 10 February 2009 16:49, dmitry boyarintsev wrote:
>>> 1. like dmitry says - Carbon/Cocoa & Qt on all platforms does not allow
>>> paintings outside of paint event.
>>> 2. Calling repaint is very expensive (CPU), try with
>>> YourControl.Invalidate; or YourControl.Update;
On Tue, Feb 10, 2009 at 2:38 PM, wrote:
> Will linking directly to the 10.3 SDK get around this problem, or will that
> break other LCL references?
No, won't work. LCL-Carbon uses routines available only in 10.4
> I am aware that 10.4 is the preferred OS version but is there a way around
> this
On Tue, Feb 10, 2009 at 1:13 PM, Graeme Geldenhuys
wrote:
> I have never looked at TZipper. Do you have any idea how that differs
> from TZipFile? Is it worth picking one over the other?
I've never used TZipFile, but well, you wrote that TZipFile doesn't
compress. TZipper does compress, and TZi
Thank you all for all the great responses! I greatly appreciate it, and I'm
glad to see that there is several options I can try.
I am/was using a program called TZipFile. I don't know if it's the same
thing. I found it on the wiki.
For me creating a /new/ zip file failed on files that were big
> but he is calling Application.ProcessMessages; after Repaint; , so why not
> Invalidate or Update ?
yes, Invalidate or Update call prior to ProcessMessages would be enough.
But as far as I understand, Brad does NOT call it.
___
Lazarus mailing list
Laz
On Tue, Feb 10, 2009 at 5:53 PM, Lee Jenkins wrote:
>> Also have a look at the tiFPCUnitUtils.pas unit in tiOPF. It can
>> create a more complex hierarchy with much less effort. Some of that
>> code could probably move to FPC itself.
>
> I'll have a look, never came across it before.
It's in the
On Tue, Feb 10, 2009 at 6:03 PM, Lee Jenkins wrote:
>
> Of course, things like that sometimes happen when its most inconvenient to
> address it ;) Murphy's Law demonstrated.
Yup. Just got the newsgroup server working for external access. NNTP
and WebNews now work.
Regards,
- Graeme -
On Tuesday 10 February 2009 16:49, dmitry boyarintsev wrote:
> > 1. like dmitry says - Carbon/Cocoa & Qt on all platforms does not allow
> > paintings outside of paint event.
> > 2. Calling repaint is very expensive (CPU), try with
> > YourControl.Invalidate; or YourControl.Update;
>
> Invalidate a
Graeme Geldenhuys wrote:
> On Tue, Feb 10, 2009 at 4:30 PM, Lee Jenkins wrote:
>> P.S. Graeme can you check the power cable for the tiOPF newsgroups server?
>> I
>> think someone may have kicked it out ;)
>
> The webnews interface works. I'll give the server a reboot and see
> what happens. We
Graeme Geldenhuys wrote:
> On Tue, Feb 10, 2009 at 4:28 PM, Lee Jenkins wrote:
>> Something like this:
>>
>
>
> TTestSuite1 = class(TTestCase)
> published
> procedure TestCase1;
> procedure TestCase2;
> end;
>
> initialization
> RegisterTest('Main Test Suite', TTestSuite1);
>
> 1. like dmitry says - Carbon/Cocoa & Qt on all platforms does not allow
> paintings outside of paint event.
> 2. Calling repaint is very expensive (CPU), try with YourControl.Invalidate;
> or YourControl.Update;
Invalidate and Update will take effect only if messages queue is
processed (by Proce
On Tue, Feb 10, 2009 at 4:30 PM, Lee Jenkins wrote:
>
> P.S. Graeme can you check the power cable for the tiOPF newsgroups server? I
> think someone may have kicked it out ;)
The webnews interface works. I'll give the server a reboot and see
what happens. We had a minor accident on Friday. Wate
On Tue, Feb 10, 2009 at 4:28 PM, Lee Jenkins wrote:
>
> Something like this:
>
> MainTestSuite < Test Suite
> --SubTestSuite < Child Test Suite
> TestCase1 < A Test case under a TestSuite
> TestCase2 < A Test case under a TestSuite
> --SubTestSuite2
>
On Tuesday 10 February 2009 15:08, Brad Campbell wrote:
> G'day all,
>
> I've got an app where I'm doing some time critical serial processing. I
> have 2 callbacks in the serial code that call back to methods in the form
> to update a status bar and caption label.
>
> I used to update the label/sta
Graeme Geldenhuys wrote:
> On Tue, Feb 10, 2009 at 6:02 AM, Lee Jenkins wrote:
>> Would anyone mind providing a simple example or useful link? I've already
>> looked at this:
>
>
> Do you mean the following
>
>
P.S. Graeme can you check the power cable for the tiOPF newsgroups server?
Graeme Geldenhuys wrote:
> On Tue, Feb 10, 2009 at 6:02 AM, Lee Jenkins wrote:
>> Would anyone mind providing a simple example or useful link? I've already
>> looked at this:
>
> Lee, did you not look at the tiOPF test suite? ;-)
>
No actually, I did not. I'll definitely take a look.
> Do y
> rather than Application.ProcessMessages;
>
> On Win32 and GTK2/Linux this works perfectly, but on Carbon it won't repaint
> anything until the
> application can service its message queue.
>
> Is this expected behaviour or an inherent in the toolkit?
Mac OS X allows to draw only on Paint event (
G'day all,
I've got an app where I'm doing some time critical serial processing. I have 2
callbacks in the
serial code that call back to methods in the form to update a status bar and
caption label.
I used to update the label/status bar and call Application.ProcessMessages so
they would paint
When running my app on a PowerPC Mac, which has 10.3 installed, I'm getting
the following crash.log
= Mon Apr 05 1976 = 05:11:06 Europe/London =
dyld: /Users/sumo/Desktop/bouncing.app/Contents/MacOS/YoYo70
Undefined symbols: /Users/sumo/Desktop/bouncing.app/Contents/MacOS/YoYo70
und
On Tue, Feb 10, 2009 at 2:07 PM, Mattias Gärtner
wrote:
>
> Most LCL properties are relative. Left is relative to Parent, Visible hides
> all
> childs too, etc.
>
> As Michael said: Use CanFocus, which uses IsControlVisible and parent enabled.
> Use IsControlVisible to check whether a control is
After further testing it seems that the onDropFiles event correctly fires
via both Drag/Drop and if you double click a file while the exe is running.
The only scenario where OnDropFiles does not fire is if the app is not
running and someone double clicks an associated file. In that scenario the
com
On Tue, Feb 10, 2009 at 11:07 AM, Felipe Monteiro de Carvalho
wrote:
>
> The TZipper from FPC subversion can add files to a zip archive in any
> directory structure desired and also compress them.
I have never looked at TZipper. Do you have any idea how that differs
from TZipFile? Is it worth p
Zitat von Graeme Geldenhuys :
> Hi,
>
> Something weird I just noticed. I have not tested this under Delphi 7,
> but I have tested it with Lazarus GTK1 and GTK2 widget set. See
> attached image to help explain
>
> If I do Panel1.Enabled = False, all components are disabled
> (visually). This is w
On Tue, Feb 10, 2009 at 12:07 PM, Hans-Peter Diettrich
wrote:
> widgetsets (Win32, Qt...), if the users want such an option, or it might
> become fat when everything is done in the library, as IIRC is the
> approach of fpGUI. A slim version IMO would be nice for embedded
> devices, where available
Graeme Geldenhuys schrieb:
> Later in the year I want to extend TZipFile with compression (if it
> doesn't already have) and use it as our custom help file format for
> our company applications.
I've already been working on a general compression/archive interface,
based on the Abbrevia approach.
Mattias Gaertner schrieb:
>>> There is no question, that such a big
>>> change is Delphi incompatible.
>> Not at all.
>
> Do you mean:
> a) There no question at all that it will be Delphi incompatible
> b) It will not at all be Delphi incompatible, because TWinControl will
> not change
> ?
Sorr
On Tue, 10 Feb 2009, Graeme Geldenhuys wrote:
> Hi,
>
> Something weird I just noticed. I have not tested this under Delphi 7,
> but I have tested it with Lazarus GTK1 and GTK2 widget set. See
> attached image to help explain
>
> If I do Panel1.Enabled = False, all components are disabled
> (
Hi,
Something weird I just noticed. I have not tested this under Delphi 7,
but I have tested it with Lazarus GTK1 and GTK2 widget set. See
attached image to help explain
If I do Panel1.Enabled = False, all components are disabled
(visually). This is what I expected. But if I now query
Edit1.Ena
On Tue, Feb 10, 2009 at 7:46 AM, Graeme Geldenhuys
wrote:
> You could also try TZipFile located in the following SVN repository.
> It doesn't contain compression yet, but does place files and folders
> inside a .zip archive. It has file handling routines, so it feels like
> you are working with no
On Tue, Feb 10, 2009 at 6:02 AM, Lee Jenkins wrote:
>
> Would anyone mind providing a simple example or useful link? I've already
> looked at this:
You can also register the tests with better descriptions and test
decorators. I use the latter for a shared DB connection. The
identifiers starti
On Tue, Feb 10, 2009 at 6:02 AM, Lee Jenkins wrote:
>
> Would anyone mind providing a simple example or useful link? I've already
> looked at this:
Lee, did you not look at the tiOPF test suite? ;-)
Do you mean the following
TMoneyTest = class(TTestCase)
protected
procedure SetUp
31 matches
Mail list logo