[lazarus] CheckGroupBox TRadioGroup

2006-08-31 Thread Tiziano_mk
(this test was made with the same results with Lazarus 0.9.16 on windows, and on Linux Ubuntu) - 1) Note: This happens only on windows. With Ubuntu it works as expected. Open a new project, place a

Re: [lazarus] Trying to make TScrollingWinControl more useful...

2006-08-31 Thread Micha Nelissen
Flávio Etrusco wrote: Hi all, the objective of this patch is to create an easy and efficient way to have scrollbars in custom-controls. For this purpose it makes TScrollingWinControl inherit from TCustomControl and moves/separates the routine which 'compute' the Isn't it more logical to

Re: [lazarus] paradox access fron lazarus?

2006-08-31 Thread Micha Nelissen
Jorge Ortiz wrote: I have a application in delphi. The application use bde ( paradox ). I will doe new version in lazarus but I can not read the old record. Are there any Delphi components able to read Paradox ? If so, try porting them to FPC. Micha

Re: [lazarus] CheckGroupBox TRadioGroup

2006-08-31 Thread Vincent Snijders
Tiziano_mk wrote: (this test was made with the same results with Lazarus 0.9.16 on windows, and on Linux Ubuntu) - 1) Note: This happens only on windows. With Ubuntu it works as expected. Open a new

Re: [lazarus] CheckGroupBox TRadioGroup

2006-08-31 Thread Tiziano_mk
The same problems happen with TRadioGroup Component. I think this bug has been fixed in SVN already. If you wish you can try a snapshot to confirm it. Vincent Before posting I checked if there was an issue on mantis, but found nothing. Is it possible that fixes are applied directly

Re: [lazarus] CheckGroupBox TRadioGroup

2006-08-31 Thread Vincent Snijders
Tiziano_mk wrote: The same problems happen with TRadioGroup Component. I think this bug has been fixed in SVN already. If you wish you can try a snapshot to confirm it. Vincent Before posting I checked if there was an issue on mantis, but found nothing. Is it possible that fixes are

Re: [lazarus] resource from delphi to lazarus

2006-08-31 Thread Michael Van Canneyt
On Thu, 31 Aug 2006, Bisma Jayadi wrote: http://delphindo.wordpress.com/2006/05/28/ayo-main-gaple/ Is it possible to compile these little game (and its related component) on Lazarus and make it works on Unix platform? The component resource is the problem, I know nothing about program

Re: [lazarus] Trying to make TScrollingWinControl more useful...

2006-08-31 Thread Flávio Etrusco
Isn't it more logical to let TCustomControl descend from TScrollingWinControl then ? The idea is that none of the 'standard' widgets in the LCL descend from TCustomControl, because those are supposed to be user-drawn. Well, I guess that's an option, too ;-) But the fact is, most code from

Re: [lazarus] Trying to make TScrollingWinControl more useful...

2006-08-31 Thread Micha Nelissen
Flávio Etrusco wrote: Isn't it more logical to let TCustomControl descend from TScrollingWinControl then ? The idea is that none of the 'standard' widgets in the LCL descend from TCustomControl, because those are supposed to be user-drawn. Well, I guess that's an option, too ;-) So ...

Re: [lazarus] resource from delphi to lazarus

2006-08-31 Thread Bisma Jayadi
You can embed the resource file as-is on linux. So FPC can read .res file just like on Windows? To extract the images from the resource, you'll need the fpc FindResource and LoadResource calls to load them. The component use Delphi's LoadFromResource to read the image from the resource

Re: [lazarus] paradox access fron lazarus?

2006-08-31 Thread Felipe Monteiro de Carvalho
On 8/22/06, Jorge Ortiz [EMAIL PROTECTED] wrote: I have a application in delphi. The application use bde ( paradox ). I will doe new version in lazarus but I can not read the old record. I think it will be easier if you convert your database to another system. There are many portable options,

Re: [lazarus] resource from delphi to lazarus

2006-08-31 Thread Michael Van Canneyt
On Thu, 31 Aug 2006, Bisma Jayadi wrote: You can embed the resource file as-is on linux. So FPC can read .res file just like on Windows? Yes. To extract the images from the resource, you'll need the fpc FindResource and LoadResource calls to load them. The component use Delphi's

Re: [lazarus] paradox access fron lazarus?

2006-08-31 Thread Christian Ulrich
Thers an TParadox implementation very simple but working for Paradox 4+ tables support not all fiels types but the most used. You can download it from Torry i think would be nice to include in standart lazarus install. Many pascal users use paradox. Christian Jorge Ortiz wrote: I have

Re: [lazarus] paradox access fron lazarus?

2006-08-31 Thread Bogusław Brandys
Felipe Monteiro de Carvalho wrote: On 8/22/06, Jorge Ortiz [EMAIL PROTECTED] wrote: I have a application in delphi. The application use bde ( paradox ). I will doe new version in lazarus but I can not read the old record. I think it will be easier if you convert your database to another

Re: [lazarus] paradox access fron lazarus?

2006-08-31 Thread Jesus Reyes
--- Christian Ulrich [EMAIL PROTECTED] escribió: Thers an TParadox implementation very simple but working for Paradox 4+ tables support not all fiels types but the most used. You can download it from Torry i think would be nice to include in standart lazarus install. Many pascal users

[lazarus] Implementing TLabel

2006-08-31 Thread Felipe Monteiro de Carvalho
Hello, I think I am very close to implementing TLabel on the Qt widgetset. I just noted something wrong. I created a form with only 1 label and traced all qtwinapi calls on the software while it runs. DrawText function is only called once, with CalcRect flag set to true. I repeated the test on

Re: [lazarus] option to compile without linking

2006-08-31 Thread Mattias Gaertner
On Mon, 31 Jul 2006 12:42:58 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 31 Jul 2006 11:40:38 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Bisma Jayadi wrote: Hi all... I'd like to see a simple option in Lazarus to make we code faster. Sometimes

Re: [lazarus] Implementing TLabel

2006-08-31 Thread Felipe Monteiro de Carvalho
On 8/31/06, Mattias Gaertner [EMAIL PROTECTED] wrote: Is labels TGraphicControl.WMPaint called? No, it's never called. However, TScrollingWinControl.WMPaint (The paint event of a TForm ) is called twice. The first time is right after the SlotPaint event received from Qt. Here the DC parameter

Re: [lazarus] Implementing TLabel

2006-08-31 Thread Felipe Monteiro de Carvalho
I implemented the missing Region functions and now TGraphicControl.WMPaint is called once with a non-zero DC . Ok, didn't really implement, they just always says everything is fine and no controls are over each other. Now I also see a second call to DrawText, with CalcRect set to false and at