Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: TScrollbox on OS X



Permlink Replies: 6 - Last Post: Jun 18, 2017 5:16 PM Last Post By: Jeremy North
Jim Kueneman

Posts: 44
Registered: 10/9/99
TScrollbox on OS X
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 14, 2017 5:08 AM
When I use TScrollbox I set "ShowScrollbars" to true when I run on Windows and I create a FMX object somewhere that is not in the visible Client area the scrollbars are shown and all works well. On OS X they are not shown under the same conditions. If I set "AutoHide" to true then the scrollbars are shown at design time in OS X but when I run the application they are not shown. What am I doing wrong? Delphi 10 Seattle.

Thanks.
Jim
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: TScrollbox on OS X
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 14, 2017 12:37 PM   in response to: Jim Kueneman in response to: Jim Kueneman
Am 14.06.2017 um 14:08 schrieb Jim Kueneman:
When I use TScrollbox I set "ShowScrollbars" to true when I run on Windows and I create a FMX object somewhere that is not in the visible Client area the scrollbars are shown and all works well. On OS X they are not shown under the same conditions. If I set "AutoHide" to true then the scrollbars are shown at design time in OS X but when I run the application they are not shown. What am I doing wrong? Delphi 10 Seattle.

Thanks.
Jim

Hello,

afaik there are some system settings somewhere in OS X influencing when
a scrollbar will be shown.

Greetings

Markus
Jim Kueneman

Posts: 44
Registered: 10/9/99
Re: TScrollbox on OS X
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 14, 2017 4:32 PM   in response to: Markus Humm in response to: Markus Humm
I got it. There is problem with Firemonkey. You have to do this:

ScrollBox1.AniCalculations.AutoShowing := False;

or they won't be shown correctly.


Markus Humm wrote:
Am 14.06.2017 um 14:08 schrieb Jim Kueneman:
When I use TScrollbox I set "ShowScrollbars" to true when I run on Windows and I create a FMX object somewhere that is not in the visible Client area the scrollbars are shown and all works well. On OS X they are not shown under the same conditions. If I set "AutoHide" to true then the scrollbars are shown at design time in OS X but when I run the application they are not shown. What am I doing wrong? Delphi 10 Seattle.

Thanks.
Jim

Hello,

afaik there are some system settings somewhere in OS X influencing when
a scrollbar will be shown.

Greetings

Markus
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: TScrollbox on OS X
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 14, 2017 10:43 PM   in response to: Jim Kueneman in response to: Jim Kueneman
Am 15.06.2017 um 01:32 schrieb Jim Kueneman:
I got it. There is problem with Firemonkey. You have to do this:

ScrollBox1.AniCalculations.AutoShowing := False;

or they won't be shown correctly.


Markus Humm wrote:
Am 14.06.2017 um 14:08 schrieb Jim Kueneman:
When I use TScrollbox I set "ShowScrollbars" to true when I run on Windows and I create a FMX object somewhere that is not in the visible Client area the scrollbars are shown and all works well. On OS X they are not shown under the same conditions. If I set "AutoHide" to true then the scrollbars are shown at design time in OS X but when I run the application they are not shown. What am I doing wrong? Delphi 10 Seattle.

Thanks.
Jim

Hello,

afaik there are some system settings somewhere in OS X influencing when
a scrollbar will be shown.

Greetings

Markus

Hello,

1. please post your answers below the text you're answering to in the
future, as in these forums this is being considered standard. This is
not e-mail.

2. glad you found a solution! Now if you think this is a bug or missing
feature in FMX then please go ahead and report it in
quality.embarcadero.com and report the issue number here so we can
follow it if we like.

Greetings

Markus
Rudy Velthuis (...


Posts: 7,731
Registered: 9/22/99
Re: TScrollbox on OS X
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 16, 2017 3:51 AM   in response to: Markus Humm in response to: Markus Humm
Markus Humm wrote:

Am 15.06.2017 um 01:32 schrieb Jim Kueneman:
I got it. There is problem with Firemonkey. You have to do this:

ScrollBox1.AniCalculations.AutoShowing := False;

or they won't be shown correctly.


Markus Humm wrote:
Am 14.06.2017 um 14:08 schrieb Jim Kueneman:
When I use TScrollbox I set "ShowScrollbars" to true when I run
on Windows and I create a FMX object somewhere that is not in the
visible Client area the scrollbars are shown and all works well. On
OS X they are not shown under the same conditions. If I set
"AutoHide" to true then the scrollbars are shown at design time in OS
X but when I run the application they are not shown. What am I
doing wrong? Delphi 10 Seattle.

Thanks.
Jim

Hello,

afaik there are some system settings somewhere in OS X influencing
when >> a scrollbar will be shown.

Greetings

Markus

Hello,

1. please post your answers below the text you're answering to in the
future, as in these forums this is being considered standard. This
is not e-mail.

"Quoting in newsgroups",
http://rvelthuis.de/articles/articles-quoting.html

--
Rudy Velthuis http://www.rvelthuis.de

"No one can earn a million dollars honestly."
-- William Jennings Bryan (1860-1925)

Brian Hamilton ...

Posts: 556
Registered: 10/14/04
Re: TScrollbox on OS X
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 16, 2017 2:12 PM   in response to: Markus Humm in response to: Markus Humm
2. glad you found a solution! Now if you think this is a bug or missing
feature in FMX then please go ahead and report it in
quality.embarcadero.com and report the issue number here so we can
follow it if we like.

this is not a new problem though, has been a problem for years and has been reported before (and the solution) (although I seem to recall the solution stopped working on more recent versions of Delphi?)
one thing to note is that the scroll bar on OSX will show up when you try to scroll e.g page down? (that is easier to make occur on iOS though via swipe down, or on OSX by using two finger scroll on mouse pad?)
Jeremy North

Posts: 402
Registered: 9/20/99
Re: TScrollbox on OS X
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 18, 2017 5:16 PM   in response to: Markus Humm in response to: Markus Humm
Markus Humm wrote:

2. glad you found a solution! Now if you think this is a bug or missing
feature in FMX then please go ahead and report it in
quality.embarcadero.com and report the issue number here so we can
follow it if we like.

It is definitely a bug at least for 10.1 release. Haven't tried 10.2 but I doubt it has changed.
If the system setting for "show scroll bars" is always, they still don't display always.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02