Re: [Lazarus] Is there aTDBLabel?

2016-03-09 Thread LacaK
It works. But still I wonder, is there a another way? I've tried TDBText but that shows th field value, not the DisplayLabel. There is no standard control for it. But it should in fact be easy to add to the LCL. I have used DB-aware version of TLabeledEdit. It is often the case that you

Re: [Lazarus] clean installation

2016-03-09 Thread Mattias Gaertner
On Wed, 9 Mar 2016 16:21:06 -0500 Richard Medina wrote: > I am having problems to install the last version of Lazarus. > Please anyone can help me? > I am using linux mint (ubuntu). > I already donwloaded the last version Lazarus 1.6 with fpc3.0.0. and fpc > source 3.0.0. What error message do y

[Lazarus] clean installation

2016-03-09 Thread Richard Medina
I am having problems to install the last version of Lazarus. Please anyone can help me? I am using linux mint (ubuntu). I already donwloaded the last version Lazarus 1.6 with fpc3.0.0. and fpc source 3.0.0. Thank you -- Richard.MC -- ___ Lazarus mailing

Re: [Lazarus] PDF generator

2016-03-09 Thread Michael Van Canneyt
On Wed, 9 Mar 2016, leledumbo wrote: I have committed a PDF generator to FPC Subversion: fcl-pdf The package must be excluded from build for msdos target because its dependencies are not available for msdos, otherwise full build will fail. There are already embedded and win16 in the exclude

Re: [Lazarus] Is there aTDBLabel?

2016-03-09 Thread Frans
Thanks Michael, I will do the same. And the use of colors is very nice. mvg Frans van Leeuwen M 06-51695390 Op 09-03-2016 om 20:59 schreef Michael Van Canneyt: On Wed, 9 Mar 2016, Frans wrote: Hi I use Lazarus 1.6 on Windows 7. I've used lazdatadesktop to change the Displaylabel of the DB

Re: [Lazarus] Is there aTDBLabel?

2016-03-09 Thread Michael Van Canneyt
On Wed, 9 Mar 2016, Frans wrote: Hi I use Lazarus 1.6 on Windows 7. I've used lazdatadesktop to change the Displaylabel of the DB fields. In a DBGrid that new names popup as the column names. But in a form with TDBEdit fields I can't use a TDBLabel that automatically takes the name from the

[Lazarus] Is there aTDBLabel?

2016-03-09 Thread Frans
Hi I use Lazarus 1.6 on Windows 7. I've used lazdatadesktop to change the Displaylabel of the DB fields. In a DBGrid that new names popup as the column names. But in a form with TDBEdit fields I can't use a TDBLabel that automatically takes the name from the associated Control as the caption. I

Re: [Lazarus] PWM on raspberry pi

2016-03-09 Thread Bo Berglund
On Wed, 9 Mar 2016 09:57:16 +0100, Koenraad Lelong wrote: >>REG_GPIO = {$IFDEF RPi2} $3F000 {$ELSE} $2 >> {$ENDIF};//bcm2835/bcm2836 gpio register 0x2000 . new fpMap uses >Well, that's what I did, although without the conditionals. >Did you try PWM, e.g. with the demo-program ? Does

Re: [Lazarus] lazarus asking for every symlink

2016-03-09 Thread Marc Santhoff
On Di, 2016-03-08 at 18:45 +0100, Marc Santhoff wrote: > Hi, > > the last update to Lazarus 1.4.2 from 2016-02-06 brought some extra fun: > > For every opened file represented by a symlink Lazarus asks if it should > follow the link. This is very annoying, there are at least 4 linked > files open

Re: [Lazarus] PDF generator

2016-03-09 Thread leledumbo
> I have committed a PDF generator to FPC Subversion: fcl-pdf The package must be excluded from build for msdos target because its dependencies are not available for msdos, otherwise full build will fail. There are already embedded and win16 in the exclude list. -- View this message in context:

Re: [Lazarus] Windows API calls and german Umlauts

2016-03-09 Thread Mattias Gaertner
On Wed, 9 Mar 2016 13:04:50 +0100 "John Landmesser" wrote: > Hi, > > if i call a windows API function for special folder, like: > > uses > ... > shlobj; > > var > AppDataPath: Array[0..MaxPathLen] of Char; > begin > SHGetSpecialFolderPath(0,AppDataPath,CSIDL_STARTUP,false); > end; >

Re: [Lazarus] Windows API calls and german Umlauts

2016-03-09 Thread Michael Van Canneyt
On Wed, 9 Mar 2016, John Landmesser wrote: Hi,   if i call a windows API function for special folder, like:   uses ... shlobj;   var AppDataPath: Array[0..MaxPathLen] of Char; begin SHGetSpecialFolderPath(0,AppDataPath,CSIDL_STARTUP,false); end;   I get on a german localized Windows XP

[Lazarus] Windows API calls and german Umlauts

2016-03-09 Thread John Landmesser
Hi,   if i call a windows API function for special folder, like:   uses ... shlobj;   var AppDataPath: Array[0..MaxPathLen] of Char; begin SHGetSpecialFolderPath(0,AppDataPath,CSIDL_STARTUP,false); end;   I get on a german localized Windows XP a path containing  "\Startmenü\", but t

Re: [Lazarus] Lazarus 1.6 can break old programs?

2016-03-09 Thread Bart
On 3/8/16, Chavoux Luyt wrote: > When trying to debug, I get this exception on calling > OpenDlg.Execute() : "Project birds raised exception class 'External: > SIGFPE'. At address 709DA57F" See: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips Try - go to the debugger options and set th

Re: [Lazarus] PWM on raspberry pi

2016-03-09 Thread Koenraad Lelong
Op 08-03-16 om 19:50 schreef Bo Berglund: In PiGpio I added the following (roundabout line #20: {$DEFINE RPi2} const REG_GPIO = {$IFDEF RPi2} $3F000 {$ELSE} $2 {$ENDIF};//bcm2835/bcm2836 gpio register 0x2000 . new fpMap uses page offset, one page is 4096bytes then later down in the