Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
»
BGRABitmap and LazPaint
»
cant get bgracontrols work in lazarus-svn
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Question about TDOMNode N...
by
stab
[
Today
at 10:38:35 am]
"While not Recordset.EOF"...
by
Weitentaaal
[
Today
at 10:34:34 am]
Passing parameters by nam...
by
MarkMLl
[
Today
at 10:33:01 am]
Database change
by
cdbc
[
Today
at 10:09:05 am]
Firebird 3 client and por...
by
devEric69
[
Today
at 09:45:42 am]
TPageControl not showing ...
by
RedOctober
[
Today
at 09:35:12 am]
Brook Free Pascal
by
PierceNg
[
Today
at 07:30:11 am]
ct2laz - convertor betwee...
by
kofccp
[
Today
at 06:52:42 am]
[SOLVED] Formating an int...
by
josh
[
Today
at 03:56:56 am]
Turtle Graphics
by
Fred vS
[
Today
at 01:38:54 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: cant get bgracontrols work in lazarus-svn (Read 4113 times)
cd
Jr. Member
Posts: 54
cant get bgracontrols work in lazarus-svn
«
on:
October 07, 2012, 10:08:22 pm »
Hi circular
after a while i returned to a project where bgracontrols (and also bgrabitmap itself) are used. with one change - the lazarus has been updated to svn and freepascal also to svn.
and now i cant get it back to work: all the components are just blank - see screenshot of a test application in attachment with two bgrabuttons.
during istallation there is an error in BGRAGtkBitmap.pas at line 70
Code:
[Select]
type TGtkDeviceContext = TGtk2DeviceContext;
which - if comment out - i have it compiled.
the bgrabitmappack is the latest from sf.
need your help here!
Logged
Dibo
Hero Member
Posts: 1048
Re: cant get bgracontrols work in lazarus-svn
«
Reply #1 on:
October 07, 2012, 10:41:07 pm »
Can you try bgra controls from SVN / git? TBGRAButton is deprecated, source in SVN has TBCButton, TBCPanel etc
Logged
circular
Hero Member
Posts: 3645
Re: cant get bgracontrols work in lazarus-svn
«
Reply #2 on:
October 08, 2012, 10:39:03 pm »
Does this problem happen with Lazarus version 1.0 ?
Logged
Conscience is the debugger of the mind
pch
Jr. Member
Posts: 51
Re: cant get bgracontrols work in lazarus-svn
«
Reply #3 on:
October 11, 2012, 04:39:21 pm »
It worked with Lazarus 1.0 but I have this problem with 1.02.
Logged
circular
Hero Member
Posts: 3645
Re: cant get bgracontrols work in lazarus-svn
«
Reply #4 on:
October 11, 2012, 05:42:18 pm »
Well BGRABitmap is not garanteed to work with intermediate versions.
Commenting out those lines has solved the problem in Code Typhoon.
Maybe something has changed in Gtk units.
Logged
Conscience is the debugger of the mind
pch
Jr. Member
Posts: 51
Re: cant get bgracontrols work in lazarus-svn
«
Reply #5 on:
October 12, 2012, 11:00:27 am »
Yes it look commenting this line allow to pass compilation and make bgrabitmap to work correctly.
But some other change in 1.02 make bgracontrol to not display on the forms.
1.02 is current Lazarus stable version:
http://www.lazarus.freepascal.org/index.php/topic,18538.html
Logged
circular
Hero Member
Posts: 3645
Re: cant get bgracontrols work in lazarus-svn
«
Reply #6 on:
October 13, 2012, 08:48:08 pm »
Hmmm, a bug fix release that add new bugs ?
I'm puzzled.
Logged
Conscience is the debugger of the mind
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
»
BGRABitmap and LazPaint
»
cant get bgracontrols work in lazarus-svn
TinyPortal
© 2005-2018