Recent

Author Topic: TUpDown problems with Laz 2.0.4 - Back to 2.0.2  (Read 296 times)

wittbo

  • Jr. Member
  • **
  • Posts: 65
TUpDown problems with Laz 2.0.4 - Back to 2.0.2
« on: September 05, 2019, 06:14:17 pm »
I installed 2.0.4 some days ago.

After having done and compiling my applications (64 bit, Cocoa), I found that there were some problems with the TUpDown component:
-  the Flat property cannot be set to True (neither Object inspector nor directly at runtime)
-  color property does not seem to show any effect (may be because of the flat property s.a.)
-  Orientation property has no effect, the control is always displayed vertically

These problems came with 2.0.4, with 2.0.2 everything was ok.
« Last Edit: September 09, 2019, 11:16:40 pm by wittbo »
-wittbo-
Lazarus 2.0.4  with FPC 3.0.4a
MBAir with MacOS 10.14.5
iMac with MacOS 10.13.6

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2269
    • havefunsoft.com
Re: TUpDown problems with Laz 2.0.4
« Reply #1 on: September 06, 2019, 01:16:26 am »
very interesting! do you have screenshots of 202 vs 204?
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

wittbo

  • Jr. Member
  • **
  • Posts: 65
Re: TUpDown problems with Laz 2.0.4
« Reply #2 on: September 06, 2019, 09:34:35 am »
Here they are. Three controls, the left and right one with orientation vertical, the mid one horizontal.
color = clCream; Flat = True; the color of the underlying panel is clbtnshadow.

For 202 I used the standard carbon-based IDE, but compiled for X86_64 and Cocoa; for 204 I made a recompilation of the IDE for cocoa.
« Last Edit: September 06, 2019, 10:43:26 am by wittbo »
-wittbo-
Lazarus 2.0.4  with FPC 3.0.4a
MBAir with MacOS 10.14.5
iMac with MacOS 10.13.6

wittbo

  • Jr. Member
  • **
  • Posts: 65
Re: TUpDown problems with Laz 2.0.4
« Reply #3 on: September 09, 2019, 11:16:01 pm »
Back to 202!

After some experiments, I decided to switch back to Lazarus 2.0.2. I made a fresh install of 204, same problem as described; fresh install of 202, no problem.
Compiler: fpc    target: x86_64    widgetset: cocoa

This afternoon there was another problem with 204/cocoa: 
- take a single form
- place a panel onto this form
- set the color of the form and the panel to ($E7, $E7, $E7)
--> the color of form and panel is different (panel is darker).
-wittbo-
Lazarus 2.0.4  with FPC 3.0.4a
MBAir with MacOS 10.14.5
iMac with MacOS 10.13.6