Re: [Lazarus] Loading photos on a form

2013-10-06 Thread leledumbo
> confused on what control to use (timage, tbitmap, something else)and what are the steps to get the image to that control? TImage is meant for static image, TBitmap could be one of the possible image container of TImage, or used freely to draw or manipulate other bitmaps. Just drop a TImage and s

[Lazarus] Treeview change and changing events

2013-10-06 Thread Richard Mace
Hi All, I have a Treeview on a form and when I click on a treenode, the OnChanging event get's fired, with one of the variables being passed being "AllowChange". If I set that variable to be false, I was expecting that the change would be cancelled and that would be that, however, I also get the "O

[Lazarus] Loading photos on a form

2013-10-06 Thread Chris Kelling
Hello, list - I am writing a membership roster manager and want to include the member's photo and a copy of their license. Using graphics, photos in particular, is new territory for me. I've looked at a couple of resources for both Delphi and Lazarus, but am confused on what control to use (timag

[Lazarus] Error: Incompatible types: got "TCustomBitmap" expected "TBitmap"

2013-10-06 Thread Junior
/home/junior/lazarus/components/lazreport/source/lr_class.pas(1951,19) Error: Incompatible types: got "TCustomBitmap" expected "TBitmap" Lazarus 1.3 r43121M FPC 2.6.2 i386-linux-gtk 2 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org h

Re: [Lazarus] Gtk3 "hello world" application crash

2013-10-06 Thread Andrew Haines
On 10/06/2013 02:31 PM, Krzysztof wrote: 2013/10/6 Andrew Haines mailto:andrewd...@aol.com>> Which function's for box layouts are missing? The generator does not include things which are marked deprecated in the introspection files so that could be the cause. For example gtk_vbox

Re: [Lazarus] Gtk3 "hello world" application crash

2013-10-06 Thread Krzysztof
2013/10/6 Andrew Haines > > Which function's for box layouts are missing? The generator does not > include things which are marked deprecated in the introspection files so > that could be the cause. > For example gtk_vbox_new(); -- ___ Lazarus mailing

Re: [Lazarus] Gtk3 "hello world" application crash

2013-10-06 Thread Andrew Haines
On 10/01/2013 04:09 PM, Krzysztof wrote: There are also missing main functions like g_signal_connect() or functions for box layouts. g_signal_connect is a c macro around g_signal_connect_data which is available. The bindings are generated using introspection, so everything works but some con

Re: [Lazarus] Gtk3 "hello world" application crash

2013-10-06 Thread Andrew Haines
On 10/01/2013 04:09 PM, Krzysztof wrote: Hi, According to this wiki page: http://wiki.freepascal.org/Gtk%2B3 I downloaded latest gtk3 headers from: http://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/bindings/gtk3/ I have very simple Hello World application which is working fine on GTK2: gtk_in