Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
[solved] Lazarus/FPC compiled behaviour giving me heaps of grief!
Downloads
Daily Snapshots
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Mailing List
Free pascal
Other languages
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Lazarus, the complete guide
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] Lazarus/FPC compiled behaviour giving me heaps of grief! (Read 1208 times)
AlistairG
Jr. Member
Posts: 70
[solved] Lazarus/FPC compiled behaviour giving me heaps of grief!
«
on:
March 09, 2011, 02:28:08 am »
Hi for a while now I have been battling with clipboard and image performance.
For example there is no way I can get access to the clipboard when something is pasted to it eg there is no cf_text property shown and graphics problems as well, reported elsewhere on this forum.
Today i finally tweaked when assign to a timage :
image1.picture:=nil; // the image remained!
Also if I select some text and copy it the following never gets set:
if clipboard.HasFormat(CF_TEXT) then
Compiler compiles quite happily, but the resultant does not behave at all.
I suspected install of Lazarus, but after removing (in Ubuntu/Linux) and install again, no difference in bad performing program.
Lazarus 0.9.28.2-10ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
Any suggestions as there are no error messages from compiler and to all intense purposes it looks like its doing the job as expected.
Alistair
«
Last Edit: March 09, 2011, 08:07:51 am by Alistair George/Laz 2.4
»
Logged
Lazarus 0.9.28.2-10ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
My pledge - if I waste your time, I donate to Lazarus.
AlistairG
Jr. Member
Posts: 70
Re: [solved] Lazarus/FPC compiled behaviour giving me heaps of grief!
«
Reply #1 on:
March 09, 2011, 08:10:48 am »
Problem with clipboard was that I had insufficient documentation and did not realise that
clipboard.open //gives exclusive use of the clipboard to your application.
My app used this function on every use of clipboard. Once clipboard.open and close were removed, the clipboard started behaving as it should!
As for the timage problem I am not sure, as timage.picture:=nil; should clear the bitmap
Cheers,
Alistair
Logged
Lazarus 0.9.28.2-10ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
My pledge - if I waste your time, I donate to Lazarus.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
[solved] Lazarus/FPC compiled behaviour giving me heaps of grief!
Recent
Q about capabilities of t...
by
mdlueck
[
Today
at 06:30:59 pm]
Cross Compile
by
Leledumbo
[
Today
at 05:23:05 pm]
TaChart ternary plot func...
by
wp
[
Today
at 05:08:44 pm]
Stable database?
by
BigChimp
[
Today
at 03:27:28 pm]
Lazarus 0.9.30.4 released
by
felipemdc
[
Today
at 03:08:45 pm]
Colored cells of a string...
by
paskal
[
Today
at 02:34:31 pm]
writeln fails to output t...
by
jack616
[
Today
at 02:18:10 pm]
[SOLVED] How to install l...
by
HexNihilo
[
Today
at 01:24:54 pm]
libUSB under win32
by
helloa
[
Today
at 01:20:01 pm]
[SOLVED] How to make a pu...
by
paskal
[
Today
at 01:14:38 pm]