Re: [Lazarus] Printing on Raspberry Pi

2015-11-01 Thread Anthony Tekatch
> I'm trying to print a lazreport on a Raspberry Pi2. > It's not working, I get : > Bus Error or misaligned data access > Press OK to ignore ... > Pressing OK does nothing. I had a Lazarus printing problem because of unwritable ~/tmp . Are the /tmp and ~/tmp directories writable by your user acco

Re: [Lazarus] Printing on Raspberry Pi

2015-11-01 Thread Koenraad Lelong
Op 30-10-15 om 09:51 schreef Leonardo M. Ramé: El 29/10/15 a las 12:24, Koenraad Lelong escribió: Hi, I'm trying to print a lazreport on a Raspberry Pi2. It's not working, I get : Bus Error or misaligned data access Press OK to ignore ... Pressing OK does nothing. Any suggestions to solve thi

Re: [Lazarus] External SIGSEGV (random) when assigning TBookmark

2015-11-01 Thread Luca Olivetti
El 01/11/15 a les 13:25, Leonardo M. Ramé ha escrit: To me, the code looks correct, but I'm getting a SIGSEGV while assigning the bookmark. I must add the error only happens the 2nd or 3rd time this method is called: I suppose that's because the bookmark is only valid while the query is opene

[Lazarus] Custom fancy tooltips

2015-11-01 Thread Anthony Walter
I created a fancy cross platform tooltip implementation which can replace normal tooltips. The code is in the Cross.Codebot git repository. I may later add a variety of tooltip themes. http://cache.getlazarus.org/images/fancy-tooltips.png Video demonstration is here: http://cache.getlazarus.org/

[Lazarus] External SIGSEGV (random) when assigning TBookmark

2015-11-01 Thread Leonardo M . Ramé
Hi, I don't use data aware controls too often, but as I'm updating a legacy application I have to use them. Please take a look at this code. DataModule1.SQLQuery1 is a simple "select * from customers limit 10". What I want to accomplish is the refreshing of a DBGrid *without losing the focused