Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
[Solved] App has parasite TUpDown
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
H2PasWizard wizard fail o...
by
BlueIcaro
[
Today
at 07:59:21 pm]
FFGrab4Laz = How to recor...
by
metis
[
Today
at 07:43:29 pm]
Problems on Windows 10
by
Peter H
[
Today
at 07:29:00 pm]
TStringGrid with stretche...
by
LacaK
[
Today
at 07:03:28 pm]
Unit containing its own f...
by
Martin_fr
[
Today
at 06:33:44 pm]
Modern For Loop question
by
bytebites
[
Today
at 06:11:52 pm]
Is there a way to combine...
by
vfclists
[
Today
at 05:51:09 pm]
[LAMW] Using App Bundles ...
by
pasquale
[
Today
at 05:46:43 pm]
open source big projects
by
ASBzone
[
Today
at 05:45:14 pm]
Noso - A cryptocurrency 1...
by
torbente
[
Today
at 05:26:07 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] App has parasite TUpDown (Read 2103 times)
Alextp
Hero Member
Posts: 1178
[Solved] App has parasite TUpDown
«
on:
September 29, 2018, 10:08:00 am »
Main CudaText window shows UpDown (or like) control over its corner, over ATFlatToolbar.
(Carbon build is okay.)
I don't have demo to repro...
screenshot.
«
Last Edit: October 02, 2018, 06:53:48 pm by Alextp
»
Logged
CudaText editor
-
ATSynEdit
-
More from me
Alextp
Hero Member
Posts: 1178
Re: CudaText has parasite UpDown control on form
«
Reply #1 on:
October 02, 2018, 06:53:22 pm »
This UpDown was made by app API by some plugin. sorry for noise.
Logged
CudaText editor
-
ATSynEdit
-
More from me
skalogryz
Global Moderator
Hero Member
Posts: 2551
Re: [Solved] App has parasite TUpDown
«
Reply #2 on:
October 02, 2018, 06:53:56 pm »
but why cocoa only?
Logged
Patron Cocoa Widgetset development
https://www.patreon.com/skalogryz
Alextp
Hero Member
Posts: 1178
Re: [Solved] App has parasite TUpDown
«
Reply #3 on:
October 02, 2018, 08:19:55 pm »
app had code:
Code: Pascal
[Select]
[+]
[-]
try
C
.
Caption
:
=
'WpPJjy'
;
//for label autosize
C
.
Parent
:
=
Application
.
MainForm
;
//else height incorrect
Result
:
=
C
.
Height
;
finally
FreeAndNil
(
C
)
;
end
;
here FreeAndNil don't work on Cocoa: control is left on mainform...
Logged
CudaText editor
-
ATSynEdit
-
More from me
skalogryz
Global Moderator
Hero Member
Posts: 2551
Re: [Solved] App has parasite TUpDown
«
Reply #4 on:
October 02, 2018, 09:28:51 pm »
I see, Cocoa TSpinEdit leaks up/down arrows.
Logged
Patron Cocoa Widgetset development
https://www.patreon.com/skalogryz
skalogryz
Global Moderator
Hero Member
Posts: 2551
Re: [Solved] App has parasite TUpDown
«
Reply #5 on:
October 03, 2018, 04:48:30 am »
r59235
Logged
Patron Cocoa Widgetset development
https://www.patreon.com/skalogryz
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
[Solved] App has parasite TUpDown
TinyPortal
© 2005-2018