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

2014-09-15 Thread zeljko
On 09/15/2014 02:20 AM, Alejandro Gonzalo wrote: Similarly if a TEdit or a TMemo have visible set to false, then PasteFromClipboard and CopyToClipboard fails. Fix this too please before 1.2.6 releases? Thanks. Please open an issue about it and attach example project. zeljko --

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Xiangrong Fang
2014-09-15 17:12 GMT+08:00 Michael Schnell mschn...@lumino.de: For better clearness, flexibility and portability I would use Application.QueueAsyncCall instead (Or TThread.Queue, if you are on the svn Version of fpc and would like to do it Delphi-compatible). ​I would like to use the most

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Michael Schnell
On 09/15/2014 11:17 AM, Xiangrong Fang wrote: I DO need cross platform (linux/windows), but I do NOT want Delphi compatibility, my app only compiles with FPC/Lazarus :-) In that case I definitely would use Application.QueuAsyncCall. -Michael --

Re: [Lazarus] Fuzzy translations ignored

2014-09-15 Thread Giuliano Colla
Thank you. Now it's me causing some delay, because I have some other matters to deal with. ASAP I'll look into it and come back to you. Giuliano Il 14/09/2014 16:26, Bart ha scritto: I started a graphical smmary in r46230. Please check it out and comment on it. Bart --

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] Displaying a Listview entry in bold and a different colour

2014-09-15 Thread Richard Mace
Hi All, I just want to make sure that I am not doing anything wrong here, please can somebody give me a little code example of how to correctly set the font to bold and a differnet colour in a listview entry? Also, what event should I be using? I think I've found a bug, but am not sure Thanks in

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Xiangrong Fang
2014-09-15 17:23 GMT+08:00 Michael Schnell mschn...@lumino.de: In that case I definitely would use Application.QueuAsyncCall. If I understand correct, from this page: http://wiki.freepascal.org/Asynchronous_Calls QueueAsyncCall is, like what its name suggest, doing this in asynchronous

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Sven Barth
Am 15.09.2014 14:21 schrieb Xiangrong Fang xrf...@gmail.com: 2014-09-15 17:23 GMT+08:00 Michael Schnell mschn...@lumino.de: In that case I definitely would use Application.QueuAsyncCall. If I understand correct, from this page: http://wiki.freepascal.org/Asynchronous_Calls

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Michael Schnell
On 09/15/2014 02:19 PM, Xiangrong Fang wrote: 2014-09-15 17:23 GMT+08:00 Michael Schnell mschn...@lumino.de mailto:mschn...@lumino.de: In that case I definitely would use Application.QueuAsyncCall. If I understand correct, from this page: http://wiki.freepascal.org/Asynchronous_Calls

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Michael Schnell
On 09/15/2014 02:19 PM, Xiangrong Fang wrote: But what I need PostMessage for is to notify main thread (or another thread) You can only notify the main thread. There is no (standard) means to notify another thread, as they don't have an event queue. OTOH a worker thread is allowed to

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Michael Schnell
On 09/15/2014 02:34 PM, Sven Barth wrote: The synchronous alternative to PostMessage would be SendMessage, though I don't know whether Lazarus provides this in a cross platform way AFAIK, in Lazarus, SendMessage just directly calls the assigned event handling function, and hence usually is only

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Xiangrong Fang
2014-09-15 20:34 GMT+08:00 Sven Barth pascaldra...@googlemail.com: If you want to use a separate thread (dispatcher) for enqueueing new work you should create an event that you pass to this thread and the worker threads. The dispatcher waits on the event and the worker threads will signal the

Re: [Lazarus] TAChart CandleStick Chart

2014-09-15 Thread Leonardo M. Ramé
El 14/09/14 a las 11:46, Werner Pamler escibió: I'm not familiar with the multivalued series. But you chandlestick series looks much like the Box/Whisker series which is included in TAChart. Can you point out the difference? -- Mm, they look similar, but Box/Whisker, has a top and bottom

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Michael Schnell
On 09/15/2014 02:55 PM, Xiangrong Fang wrote: How do I use Event to achieve the same? What do you mean by Event ? It seems that I can have N threads listen to the same event, but cannot have the main thread to listen to N different events? In fact Windows does provide event (aka Message)

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Xiangrong Fang
2014-09-15 21:44 GMT+08:00 Michael Schnell mschn...@lumino.de: Performance wise it's better not to destroy and create your threads but to manage a thread pool and assign work to the threads as appropriate. Here you would have the threads wait for work e.g. by trapping themselves in a

Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem
waldo kitty 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 :/ Like Anthony already found out, even if it's white on screen it really is a very light shade of yellow. You can see

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Michael Schnell
On 09/15/2014 03:57 PM, Xiangrong Fang wrote: 2014-09-15 21:44 GMT+08:00 Michael Schnell mschn...@lumino.de mailto:mschn...@lumino.de: Performance wise it's better not to destroy and create your threads but to manage a thread pool and assign work to the threads as appropriate.

Re: [Lazarus] white popup hint box

2014-09-15 Thread Kostas Michalopoulos
I see yellow too, but why doesn't the hint box have a border? Hint boxes on windows have a dark 1px border. On Mon, Sep 15, 2014 at 4:05 PM, Rik van Kekem r...@graficalc.nl wrote: waldo kitty wrote: i'm also quite confused how you saw that image with that section yellowed... i've looked at

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Mattias Gaertner
On Mon, 15 Sep 2014 21:57:40 +0800 Xiangrong Fang xrf...@gmail.com wrote: [...] That's exactly what I planed to do. But I don't know CriticalSections can be used in here. My original thinking is that, by the end of Execute, I call either PostMessage or QueueAsyncCall to notify main thread

Re: [Lazarus] Displaying a Listview entry in bold and a different colour

2014-09-15 Thread Howard Page-Clark
On 15/09/2014 13:10, Richard Mace wrote: Hi All, I just want to make sure that I am not doing anything wrong here, please can somebody give me a little code example of how to correctly set the font to bold and a differnet colour in a listview entry? I wouldn't claim the following is 'correct',

[Lazarus] TAChart CandleStick Chart

2014-09-15 Thread Werner Pamler
The TopMark and BottomMark, as you call it, can be removed by setting WhiskerWidth to 0, and the MiddleMark disappears with MedianPen.Style set to psClear. The Up and Down colors can be set by some logics when adding data points (there's the color parameter in the Add method...). The

Re: [Lazarus] TAChart CandleStick Chart

2014-09-15 Thread Leonardo M. Ramé
El 15/09/14 a las 15:49, Werner Pamler escibió: The TopMark and BottomMark, as you call it, can be removed by setting WhiskerWidth to 0, and the MiddleMark disappears with MedianPen.Style set to psClear. The Up and Down colors can be set by some logics when adding data points (there's the

Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty
On 9/15/2014 7:15 AM, Anthony Tekatch wrote: 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

Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
I also see a distinctive yellow color. Waldo Kitty, you should go to see an eye doctor, you are suffering from color blindness. :) You all noticed the hint window's color but nobody noticed it renders HTML nicely, giving a professional touch to hint and info windows. The same effect was available

Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
Right, Waldo's screenshot does not have a border, it only has a shadow. In my Windows 7 there is both a border and a shadow. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem
On 15-09-2014 22:02, Juha Manninen wrote: I also see a distinctive yellow color. Waldo Kitty, you should go to see an eye doctor, you are suffering from color blindness. :) I take it you're not working with a laptop ;) I know for a fact laptops show these subtle colors differently. (Even my

Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty
On 9/15/2014 10:05 AM, Rik van Kekem wrote: waldo kitty 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 :/ Like Anthony already found out, even if it's white on screen it really is

Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem
On 15-09-2014 22:09, Juha Manninen wrote: Right, Waldo's screenshot does not have a border, it only has a shadow. In my Windows 7 there is both a border and a shadow. I'm missing the border too on my machine. Lazarus 1.3 r46221:46236M FPC 2.7.1 i386-win32-win32/win64 Windows 7 Ultimate 64 bit

Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem
On 15-09-2014 22:09, Juha Manninen wrote: Right, Waldo's screenshot does not have a border, it only has a shadow. In my Windows 7 there is both a border and a shadow. Now i see what you mean !! But for this to work you need the package turbopoweriprodsgn.lpk installed. And this is not done

Re: [Lazarus] TAChart with transparent background

2014-09-15 Thread Roberto P.
Though really late, I can confirm that the solution is working fine. I still have to add some profiling code to measure it, though with added background it seems perceivably slower even on a recent PC (core i5 vpro). Are BGRA or other backends known to be faster? thanks anyway for the help! R#

Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
On Monday, September 15, 2014, Rik van Kekem r...@graficalc.nl wrote: But for this to work you need the package turbopoweriprodsgn.lpk installed. And this is not done with a default installation. Yes it is. As I explained it is now part of bigide. The next version 1.4 installer will have it

Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty
On 9/15/2014 4:02 PM, Juha Manninen wrote: I also see a distinctive yellow color. Waldo Kitty, you should go to see an eye doctor, you are suffering from color blindness. :) hahahahaha! might be getting there in my old age ;) You all noticed the hint window's color but nobody noticed it

Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty
On 9/15/2014 4:09 PM, Juha Manninen wrote: Right, Waldo's screenshot does not have a border, it only has a shadow. In my Windows 7 there is both a border and a shadow. i'm on vista (32bit) and i think i have their aero thing turned on on this box... on most i generally turn all the fancy

Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem
On 15-09-2014 23:24, Juha Manninen wrote: Yes it is. As I explained it is now part of bigide. The next version 1.4 installer will have it by default. This afternoon i did a complete reinstall (on another machine) and did NOT get turbopoweriprodsgn. I did get TurboPowerIPro by default. (And i

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Xiangrong Fang
2014-09-15 22:30 GMT+08:00 Michael Schnell mschn...@lumino.de: Is that ok? To be exact, when a thread's execute() finished, it will go to a sleep status, No. It will die. and can be reused by calling execute() again, right? AFAIK: No. What's the meaning of die? By calling execute() I

[Lazarus] TAChart with transparent background

2014-09-15 Thread Werner Pamler
I added some simple time measuring code (using GetTickCount) to the background image tutorial to see the speed loss that you mention: Without the backgrounds (Lazarus logo and gradient) the GetTickCount reports 0 ms between the OnBeforeDrawBackground and OnAfterPaint events, while with the

Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty
On 9/15/2014 4:55 PM, Rik van Kekem wrote: On 15-09-2014 22:09, Juha Manninen wrote: Right, Waldo's screenshot does not have a border, it only has a shadow. In my Windows 7 there is both a border and a shadow. Now i see what you mean !! But for this to work you need the package

Re: [Lazarus] TAChart with transparent background

2014-09-15 Thread Roberto P.
The image is a 30KB png, not much. It is smaller than the area, so it gets actually stretched. Can I use Draw instead of StretchDraw if I make the image exactly the size I need? I can force the form size. I think that tens of milliseconds can be actually relevant, because I am plotting data

Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
On Tuesday, September 16, 2014, Rik van Kekem r...@graficalc.nl wrote: This afternoon i did a complete reinstall (on another machine) and did NOT get turbopoweriprodsgn. I did get TurboPowerIPro by default. Run make clean bigide at cmd line. If it still is not there, then we have a bug. But

Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem
On 16-09-2014 00:26, Juha Manninen wrote: Run make clean bigide at cmd line. If it still is not there, then we have a bug. YES... It did come with bigide. I guess it's not the target of fpcup. Always used fcpup but maybe it's time to switch to svn and do the make myself (and learn what i'm

Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty
On 9/15/2014 5:24 PM, Juha Manninen wrote: On Monday, September 15, 2014, Rik van Kekem r...@graficalc.nl wrote: But for this to work you need the package turbopoweriprodsgn.lpk installed. And this is not done with a default installation. Yes it is. As I explained it is now part of

Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem
On 16 september 2014 01:17:55 CEST, waldo kitty wkitt...@windstream.net wrote: as noted previously, i don't use any installer... i pull trunk from the repository and compile it as per my previously posted command lines... Isn't Lazarus 1.3 r42488 a really old version? (November 2013?) Or am I

Re: [Lazarus] PostMessage return value

2014-09-15 Thread Sven Barth
On 16.09.2014 00:06, Xiangrong Fang wrote: 2014-09-15 22:30 GMT+08:00 Michael Schnell mschn...@lumino.de mailto:mschn...@lumino.de: Is that ok? To be exact, when a thread's execute() finished, it will go to a sleep status, No. It will die. and can be reused by calling