Re: [Lazarus] Dynamic creation of TTrackBar

2009-12-17 Thread Duncan Parsons
Not got Laz/fpc code near me, but my guess is that when you have a TTrackBar on the form, the unit that it's housed in will be added to the uses list, and if you delete it (provided no other referenced classes are included) it may get removed. Find which unit TTrackBar is declared in and add it

Re: [Lazarus] Multi-platform sound playback

2009-12-18 Thread Duncan Parsons
-Original Message- From: Reimar Grabowski [mailto:reimg...@web.de] Sent: 18 December 2009 14:30 To: Lazarus List Subject: [Lazarus] Multi-platform sound playback Hi all, I am working on movie playback with FPC via ffmpeg. The video part is mostly complete and working but now I am

Re: [Lazarus] csOpaque seems to be broken in 0.9.29

2009-12-22 Thread Duncan Parsons
Standard way to create 'Transparent' controls is to override the paint messages and insert the 'background' you want after inherited and before your contained painting. You get the background from requesting a paint from the parent of your control. Eg in windows you would create an HDC, and send

Re: [Lazarus] const array syntax

2010-01-13 Thread Duncan Parsons
Must confess, I feel arr:[0..end] of makes more sense to me than use of var or ..] The latter suggests something forgotten or a typo. Pascal isn't about forgetting things or typos, indeed one of the reasons it is the language it is, is because of it's clarity and attention to overall

Re: [Lazarus] Lazarus website is down

2010-01-14 Thread Duncan Parsons
UK can get it.. (my bit of it anyway, in Sheffield via PlusNet) -Original Message- From: Graeme Geldenhuys [mailto:graemeg.li...@gmail.com] Sent: 14 January 2010 14:51 To: Lazarus mailing list Subject: [Lazarus] Lazarus website is down Hi, The URL: http://www.lazarus.freepascal.org/

Re: [Lazarus] qurstion in Button Alignment

2010-02-23 Thread Duncan Parsons
I think you'd have to write custom code on the resize event to scale the dimensions. Keep in mind - do all the scaling from constants relating to a known size of the form that works - doing it on deltas/ last recorded size will cause an eventual creep north-west with rounding errors. I don't

Re: [Lazarus] qurstion in Button Alignment

2010-02-23 Thread Duncan Parsons
From: Mattias Gärtner [mailto:nc-gaert...@netcologne.de] Sent: 23 February 2010 11:43 To: lazarus@lists.lazarus.freepascal.org Subject: Re: [Lazarus] qurstion in Button Alignment Zitat von Duncan Parsons d.pars...@seamsltd.com: [...] I wish to create a component that gives 10 buttons aligning

Re: [Lazarus] trying to use the standard NoGUI Widget Type

2010-03-29 Thread Duncan Parsons
On 29 March 2010 10:06 Michael Schnell wrote: On Friday I) was able to create an application and change the Widget Type to NoGUI. I could Build the application at step to see what happens. I now upgraded Lazarus to the latest SVN revision to stay in sync with the proceedings (and did a clear

Re: [Lazarus] gtk2 and windows z order

2010-03-31 Thread Duncan Parsons
How to fix it, I don't know; but it was an issue that first arrived with W2K (NT and W9x were fine). I can't remember how I resolved it with Delphi; but clearly the GTK authors have the same issue with their underlying abstractions. Tbh tho', it's not something I've noticed with GIMP on XP; but

Re: [Lazarus] Cross compiling

2010-04-06 Thread Duncan Parsons
On 03 April 2010 09:41, Brad Campbell wrote: Alberto Narduzzi wrote: Patrick, I have quick-read the links, and I think the quickest and easiest way of doing it is to install fpc and Lazarus on a Windows box, and then recompile the same source code. As I have a virtual Windows machine

Re: [Lazarus] Win32 CreateParented issue

2010-04-19 Thread Duncan Parsons
From: Justin Smyth [mailto:delph...@smythconsulting.net] Sent: 17 April 2010 08:14 I've been playing with CreateParented and I have come across some issues where I am getting a A/V I have got 2 forms , the first form has a panel on it and a button on it and the second form has just a button

Re: [Lazarus] Win32 CreateParented issue

2010-04-19 Thread Duncan Parsons
19.04.2010 19:03, Duncan Parsons wrote: Don't know why it should fall over, but the implementation of CreateParented is wrong. The problem was fixed. I have something that works on Win, but have been trying to make it work on getting the OSX version working as well before submitting

Re: [Lazarus] SendMessage Bug Work Around.

2010-04-23 Thread Duncan Parsons
From: David W Noon [mailto:david.w.n...@ntlworld.com] Sent: 23 April 2010 12:20 On Fri, 23 Apr 2010 11:09:35 +0200, Michael Schnell wrote about Re: [Lazarus] SendMessage Bug Work Around.: [snip] I don't see why, in Windows, anybody should use SendMessage to send a message top a window that

Re: [Lazarus] SendMessage Bug Work Around.

2010-04-23 Thread Duncan Parsons
From: Michael Schnell [mailto:mschn...@lumino.de] Sent: 23 April 2010 14:39 AFAIR, WM_COPYDATA is the only message that can ONLY use SendMessage, since the pointer is only guaranteed valid during the transaction (well, initiator dependant, of course!) In Windows, it makes no

[Lazarus] OSX snapshots broken?

2010-04-26 Thread Duncan Parsons
It would appear that both intel and PPC daily snapshot builds for OSX are failing.. The fixes branch is fine, but i386 is dated 4th April (r24456) and PPC is 29th March (r24267). Is this a code problem, or build machine problem? DSP -- ___ Lazarus

Re: [Lazarus] SendMessage Bug Work Around.

2010-04-26 Thread Duncan Parsons
From: Michael Schnell [mailto:mschn...@lumino.de] Sent: 26 April 2010 10:00 .On 04/23/2010 05:37 PM, Duncan Parsons wrote: . Note in http://msdn.microsoft.com/en-us/library/ms644950(VS.85).aspx . where it says 'The sending thread is blocked until the receiving . thread processes the message

Re: [Lazarus] Fastest way to draw

2010-05-21 Thread Duncan Parsons
From: Brad Campbell [mailto:b...@wasp.net.au] Sent: 21 May 2010 15:38 Mattias Gaertner wrote: As memory image you can use TBitmap which has comfortable fonts, but is not the fastest. Or you can use fpcanvas (it comes with fpc). See here

Re: [Lazarus] Fastest way to draw

2010-05-24 Thread Duncan Parsons
Oh, that's good to hear - I'll bare it in mind next time I'm doing similar things. I've generally used other libs as I've needed alpha blending of images, but you tend to forget the easy things when you've had more challenging requirements! [apologies for topposting!] DSP -Original

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting case]

2010-05-26 Thread Duncan Parsons
From: Jürgen Hestermann [mailto:juergen.hesterm...@gmx.de] Sent: 26 May 2010 06:07 waldo kitty schrieb: two spaces indention for each new section, not one or more than 2 and most definitely not tabs... I find 3 spaces much more readable. for example: begin if foo then begin

Re: [Lazarus] Dockable IDE

2010-06-03 Thread Duncan Parsons
[OT in reply to OT] I use ToDoList from http://www.abstractspoon.com/ Alas Windows only, but gets the job done well, and I can send the project files to clients with ease, reports via xsl.. :shrug: :-) [/OT in reply to OT] -Original Message- From: Graeme Geldenhuys

Re: [Lazarus] [ANN] Beyond Compare 3.2 public beta is available

2010-06-29 Thread Duncan Parsons
Totally agree. I've been using BC for about 4 years now - beats all other comparison/merge tools hands down. [I'm not associated with them either] In the first 5 minutes of using it, it felt very familiar.. A little bit of poking about yes, it was a Delphi app! Well, that's enough OT from me!

Re: [Lazarus] Some information please

2010-07-06 Thread Duncan Parsons
From: jjb [mailto:real...@gmail.com] Sent: 03 July 2010 13:59 I recently bought my 9 year old son this book The Game Maker's Apprentice http://www.amazon.com/Game-Makers-Apprentice-Development-Beginners/dp/1 590596153/ref=sr_1_1?ie=UTF8s=booksqid=1278161293sr=8-1 and he is working his way

Re: [Lazarus] Fonts

2010-07-21 Thread Duncan Parsons
From: Mark Morgan Lloyd [mailto:markmll.laza...@telemetry.co.uk] Sent: 21 July 2010 08:52 Kjow wrote: Hi all, I'm developing a multiplatform app and I need to have the same look on all OS. Is it possible to include a my personal font in the Lazarus compiled binary to have the same

Re: [Lazarus] Lazarus Resources

2010-07-26 Thread Duncan Parsons
From: Josh Lee [mailto:frozen-drago...@hotmail.com] Sent: 25 July 2010 12:11 You can add files as User-Defined resource types, or use RCDATA for raw (binary) data. See MSDN Resource Definition Statements, User-Defined Resources Thank you, I read up on them. Do you know where I can find a