[Customdrawn] Some patches for dialogs and palette

Graeme Geldenhuys graeme at geldenhuys.co.uk
Wed Sep 12 12:49:15 CEST 2012


On 11/09/12 15:28, Felipe Monteiro de Carvalho wrote:
>
> Great! Just open a new form, drop TButton, TStaticText, TPanel, TGroupBox
>
> Go to the Project Options and select CustomDrawn as the widgetset
>
> Now run the project.

I used latest Lazarus Truck and FPC 2.6.0 under 64-bit OpenSUSE. I added 
the exact components, except TStaticText, was a TLabel from the Standard 
component palette.

The project compiled fine, but when I ran it I got a Seg Fault, and 
Lazarus IDE took me to the Assembler window highlighting a 'fpc_do_is' line.

Here is the console output Lazarus IDE generated.

-------------------------
Free Pascal Compiler version 2.6.0 [2011/12/23] for x86_64
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling project1.lpr
Compiling resource 
/home/graemeg/devel/tests/customdrawn/test1/lib/x86_64-linux/project1.or
Linking project1
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
21 lines compiled, 0.4 sec
2 hint(s) issued
[TCompiler.Compile] end
TMainIDE.DoInitProjectRun 
ProgramFilename=/home/graemeg/devel/tests/customdrawn/test1/project1
[TCmdLineDebugger] Debug PID: 6997
[TMainIDE.DoRunProject] Debugger=TGDBMIDebugger
[TMainIDE.DoRunProject] END
TGDBMIDebugger.StartDebugging 
WorkingDir="/home/graemeg/devel/tests/customdrawn/test1/"

(lazarus:6883): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

-------------------------


Regards,
   - Graeme -





More information about the Customdrawn mailing list