[Lazarus] No Mac Hourglass cursor

2015-12-18 Thread Anthony Tekatch
The Mac cursor cannot be changed to an hourglass, it stays as a pointer. Tested on: Mac OSX 10.6.8 Intel core Lazarus 1.4.4 Carbon Using example code /Developer/lazarus/examples/cursors/project1.lpi Change any of the buttons from their existing cursor definition to crHourglass and the button

Re: [Lazarus] No Mac Hourglass cursor

2015-12-18 Thread Anthony Tekatch
On Fri, 18 Dec 2015 07:38:30 -0500, Anthony Tekatch <anth...@unihedron.com> wrote: > The Mac cursor cannot be changed to an hourglass, it stays as a pointer. Thanks to Jonas Maebe: http://forum.lazarus.freepascal.org/index.php/topic,30784.0.html The hourglass cursor in the Mac (m

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

Re: [Lazarus] Printing does nothing, Linux AMD64, Lazarus 1.4.4 and 1.2.4

2015-10-24 Thread Anthony Tekatch
> File-Print calls up the print dialog, but nothing gets printed when the > Print button is clicked. Resolved: my ~/tmp directory was not writeable (owned by root) and only the sample project rawmodetest showed the error. Changing ownership of that directory resolved the problem. --

[Lazarus] Printing does nothing, Linux AMD64, Lazarus 1.4.4 and 1.2.4

2015-10-19 Thread Anthony Tekatch
File-Print calls up the print dialog, but nothing gets printed when the Print button is clicked. I have printers4lazide installed and also tried removing and reinstalling it without luck. No errors at print time are reported when Lazarus is started by the command line. I installed Lazarus 1.4.4

[Lazarus] web push?

2014-10-22 Thread Anthony Tekatch
What would be the best (Lazarus/Freepascal) way to push data to a web page? I would like a cgi-bin application that sends updates to the client browser telling of things like: - display the modification time of a file on the server - display statistics of items from the server side without

Re: [Lazarus] white popup hint box

2014-09-15 Thread Anthony Tekatch
On Sun, 14 Sep 2014 23:22:26 -0400, waldo kitty wkitt...@windstream.net wrote: i'm also quite confused how you saw that image with that section yellowed... i've looked at the same image on several machines and see only white on white :/ I find this interesting. I can see a very light yellow

[Lazarus] Radiogroup not updating clicked button when in non-visible TPageControl tab

2014-09-13 Thread Anthony Tekatch
Hello, I have a RadioGroup located on a PageControl tab that is sometimes made invisible. If I update that RadioGroup ItemIndex programmatically when that tab is invisible, then later make the tab visible and click on a previously clicked (but not selected) radio button ... there is no

Re: [Lazarus] Radiogroup not updating clicked button when in non-visible TPageControl tab

2014-09-13 Thread Anthony Tekatch
On Sat, 13 Sep 2014 16:37:21 +0200, zeljko zel...@holobit.net wrote: On 09/13/2014 01:38 PM, Anthony Tekatch wrote: Hello, I have a RadioGroup located on a PageControl tab that is sometimes made invisible. If I update that RadioGroup ItemIndex programmatically when that tab

Re: [Lazarus] Epiktimer elapsed = negative value

2014-07-07 Thread Anthony Tekatch
On Mon, 07 Jul 2014 11:28:06 +0200, Michael Schnell mschn...@lumino.de wrote: Moreover: Even if the CPU's hardware tick counter is used, in a multi-CPU system, each CPU might have it's own counter and those are not guaranteed to be in sync. as the OS might move the program from one CPU to

Re: [Lazarus] Epiktimer elapsed = negative value (OT)

2014-07-07 Thread Anthony Tekatch
On Mon, 07 Jul 2014 13:49:00 +0200, Michael Schnell mschn...@lumino.de wrote: This might be correct in a worker thread. In the main thread it usually is a bad idea to do sleep or any sort of polling.. Agreed, polling is bad, so I did this instead: while RunWhile do begin

[Lazarus] Epiktimer elapsed = negative value

2014-07-06 Thread Anthony Tekatch
Occasionally I get a negative Elapsed value using EpikTimer. Here is my code: RunWhile:=True; DelayInSeconds := 1.00; //Store every x seconds while RunWhile do begin ET.Clear; ET.Start; while (ET.Elapsed DelayInSeconds) and RunWhile do begin

Re: [Lazarus] Lazarus on Odroid U3

2014-07-05 Thread Anthony Tekatch
On Sat, 05 Jul 2014 08:57:36 +0200, Corpsman corps...@web.de wrote: But there is a problem with runnning the compiled program. Pressing F9 or CTRL + F9 creates the binary, but the IDE then freezes partly, so that compiling again is impossible (F9 does not run the application, only compile).

Re: [Lazarus] Lazarus on Odroid U3

2014-07-05 Thread Anthony Tekatch
Note: I get the following warnings: Warning: crtbegin.o not found, this will probably cause a linking failure Warning: crtend.o not found, this will probably cause a linking failure According to this posting, the warnings can be ignored:

Re: [Lazarus] Lazarus on Odroid U3

2014-07-04 Thread Anthony Tekatch
On Tue, 01 Jul 2014 09:08:05 +0200, Reinier Olislagers reinierolislag...@gmail.com wrote: On 01/07/2014 02:03, Anthony Tekatch wrote: On Mon, 23 Jun 2014 08:28:57 +0200, Reinier Olislagers reinierolislag...@gmail.com wrote: You could try installing that or perhaps compile using FPC

Re: [Lazarus] Lazarus on Udoo quad (ARM device) ?

2014-06-30 Thread Anthony Tekatch
On Mon, 23 Jun 2014 08:28:57 +0200, Reinier Olislagers reinierolislag...@gmail.com wrote: You could try installing that or perhaps compile using FPC trunk (manually or using a tool like fpcup [warning: fpcup author speaking ;)] see here

[Lazarus] Lazarus on Udoo quad (ARM device) ?

2014-06-22 Thread Anthony Tekatch
Hello, I am having some difficulty getting Lazarus installed on an Udoo SBC (ARM device). I installed lubuntu 12.04 LTS armHF based from here: http://www.udoo.org/downloads/ I installed FPC from here: ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/arm-linux/ then sudo bash sh install.sh

Re: [Lazarus] GLUT vs windows 64 bits

2014-04-15 Thread Anthony Tekatch
On Tue, 15 Apr 2014 16:52:12 +0200, Reimar Grabowski reimg...@web.de wrote: ... Modern OpenGL (3+) has a steeper learning curve but is a much better API the old one is only around for legacy applications. Thank you for your wisdom! I will start the steep (opengl) climb :) --

Re: [Lazarus] GLUT vs windows 64 bits

2014-04-14 Thread Anthony Tekatch
On Thu, 10 Apr 2014 19:45:55 +0200, Reimar Grabowski reimg...@web.de wrote: On Thu, 10 Apr 2014 13:43:56 -0300 Philippe phili...@quarta.com.br wrote: I made an application with GLUT. Don't. Just do not use GLUT in any way or shape. It is very, very old. AFAIR the latest pre-compiled

[Lazarus] LazOpenGLContext won't install

2014-04-01 Thread Anthony Tekatch
I am using version 1.2~rc2+dfsg-1 and get the following error when trying to install the LazOpenGLContext 0.0.1 package then Save and Rebuild IDE: (1,1) Fatal: Can not find unit lazopenglcontext used by Lazarus. Check if package LazOpenGLContext is in the dependencies. What steps are

Re: [Lazarus] LazOpenGLContext won't install

2014-04-01 Thread Anthony Tekatch
On Tue, 1 Apr 2014 18:46:26 +0200, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 1 Apr 2014 12:27:41 -0400 Anthony Tekatch anth...@unihedron.com wrote: I am using version 1.2~rc2+dfsg-1 We don't provide such a version. Where did you get that? How did you install Lazarus

Re: [Lazarus] LazOpenGLContext won't install

2014-04-01 Thread Anthony Tekatch
On Tue, 1 Apr 2014 20:10:03 +0200, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 1 Apr 2014 13:57:57 -0400 Anthony Tekatch anth...@unihedron.com wrote: What version/source of Lazarus do you suggest that I use (which has a working LazOpenGLContext package)? See here: http

Re: [Lazarus] Application Information

2013-12-23 Thread Anthony Tekatch
I have used vinfo like described here: Topic: Get and use the Build Number within your program http://forum.lazarus.freepascal.org/index.php?topic=12435.0 And, this vinfo inspired rework might also help: Topic: Accessing build info and compiler info in Source

Re: [Lazarus] programming for Android

2013-07-14 Thread Anthony Tekatch
On Sun, 14 Jul 2013 12:13:56 +0200, duilio foschi duiliofos...@euplan.com wrote: it seems that the project is already configured for ARM: http://i40.tinypic.com/nz0w28.jpg I cannot really help any more, but maybe these will help: http://forum.lazarus.freepascal.org/index.php?topic=17577.0

Re: [Lazarus] programming for Android

2013-07-13 Thread Anthony Tekatch
On Sat, 13 Jul 2013 19:58:21 +0200, duilio foschi duiliofos...@euplan.com wrote: I get an error as shown in http://i44.tinypic.com/2ljnssz.jpg What is wrong ? The error: Exception while creating process: Executable not found: xterm I've seen this if the following is set on operating

Re: [Lazarus] programming for Android

2013-07-13 Thread Anthony Tekatch
On Sun, 14 Jul 2013 00:24:10 +0200, duilio foschi duiliofos...@euplan.com wrote: Now I get the following error: http://i44.tinypic.com/who3g5.jpg From your image, error: Compiler /usr/bin/fpc does not support target arm-linux I'm not too sure about that one, but you could check and set the

[Lazarus] Bluetooth package error

2013-04-19 Thread Anthony Tekatch
Hello, I'm trying to get the Bluetooth package running (here): http://wiki.freepascal.org/Bluetooth and got the following error on Lazarus V1.1; Error: Fields cannot appear after a method or property definition, start a new visibility section first at this line: WiiMotes: TWiiMotes; in

Re: [Lazarus] Bluetooth package error

2013-04-19 Thread Anthony Tekatch
On Fri, 19 Apr 2013 19:37:17 -0400, Anthony Tekatch anth...@unihedron.com wrote: Also, I noticed that the hci_inquiry_1 returns 0 if only one Bluetooth device is found, in WiiMoteTools.pas : for i:=0 to found_devices-1 do begin will not work, it should be changed to: for i:=0

[Lazarus] TPageControl suddenly stopped working

2012-01-04 Thread Anthony Tekatch
A note about the TPage Control. Pages are not changeable under the following conditions: TPageControl inside a Groupbox First page contains a Tlabel Removing the Tlabel seems to allow page changing. or Replace the Tlabel with a TButton allows page changing. I am using: Version: v0.9.31 Date: