[Lazarus] Default TFindComponentClassEvent

2015-07-03 Thread Rimmert Ooink
Hi All, I'm trying to copy paste contents of Form1 to Form2 at runtime. Looking at http://wiki.freepascal.org/Streaming_components it seems that i need to write my own TFindComponentClassEvent. Is there a default TFindComponentClassEvent i.e. the one that makes the form gets loaded? Regards,

[Lazarus] Help on Threading and Synapse

2012-12-29 Thread Rimmert Ooink
Hello All, I'm working on a little client server program, and i could use a little help on the threading/synapse model i'm working on. I have a synapse socket in a thread that only listens for incoming connections. When there is an incoming connection it accepts it and creates a class

[Lazarus] AutoSize Label Height during construction

2012-12-18 Thread Rimmert Ooink
Hello List, I want to show a form with a label. The form height depends on the amount of text it has to display. The problem is: the label doesn't resize while the form is not visible. How can i get the size of the label will be before it is visible? Regards, Rimmert --

Re: [Lazarus] Synchronize scrollposition of two stringgrids

2012-10-22 Thread Rimmert Ooink
On Tue, Oct 16, 2012 at 8:55 AM, Rimmert Ooink laza...@ooink.net wrote: On Tue, Oct 16, 2012 at 1:54 AM, Jesus Reyes jesus...@yahoo.com.mx wrote: Does anybody have an idea how to change the scrollposition of a stringgrid depending on the scrollpos of the other? sg1.LeftCol := sg2.LeftCol

Re: [Lazarus] Synchronize scrollposition of two stringgrids

2012-10-16 Thread Rimmert Ooink
On Tue, Oct 16, 2012 at 1:54 AM, Jesus Reyes jesus...@yahoo.com.mx wrote: Does anybody have an idea how to change the scrollposition of a stringgrid depending on the scrollpos of the other? sg1.LeftCol := sg2.LeftCol; sg1.TopRow:=sg2.TopRow; That would give you row/col size granularity.

[Lazarus] Synchronize scrollposition of two stringgrids

2012-10-15 Thread Rimmert Ooink
Hello, I have two stringgrids with exactly the same columns, basically something like Excel autofilter. Does anybody have an idea how to change the scrollposition of a stringgrid depending on the scrollpos of the other? It seems i can use the ontopleftchanged event, but i dont know how to get

[Lazarus] Scrollbox and mousewheel

2012-07-06 Thread Rimmert Ooink
Hello all, I have a form with a scrollbox, the scrollbox contains a panel with a lot of labels. When I use the mousewheel, I want the scrollbox to scroll. This only works when the mousecursor is hovering the scrollbar. How can I get the scrollbox to scroll when i'm hovering a child control?

Re: [Lazarus] Has there been a known bug in GTK2 where TabVisible property affects the visibility of the tabsheet?

2012-04-25 Thread Rimmert Ooink
Is that a known bug with the GTK2 page control? I noticed a while ago: (may be outdated...) If all tabs are initially invisible the gtk-pagecontrol behaves unpredictable. However: if you have one initial tab thats visible it worked as expected without any problems. I have still a hack

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Rimmert Ooink
I'm sorry to mix in a discussion, but I wonder, whats the point of having an offline copy of the wiki by default? Why not simply a OpenURL(online-wiki-url); when the user presses F1? And in de menu help - help a simple form stating the help can only be viewed when there is a active internet

[Lazarus] TFpHttpClient and ssl

2012-04-03 Thread Rimmert Ooink
Hi all, Does TFpHttpClient support ssl/https? I see there is a openssl package, but i have no idea if it can be used with the http component. Any hints? Regards, Rimmert PS: I sent this message twice, as I believe the first one was not delivered. I'm sorry if this is a duplicate. --