Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: TListbox how to check if Scrollbar is visible and Scrollbar Width - Berlin


This question is answered.


Permlink Replies: 2 - Last Post: Aug 8, 2016 12:18 PM Last Post By: Markus Humm
Md. Shariful Al...

Posts: 70
Registered: 9/9/01
TListbox how to check if Scrollbar is visible and Scrollbar Width - Berlin  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 8, 2016 12:31 AM
How can I check if Scrollbar is Visible in TListbox and how to get Scrollbar width?
Linden ROTH

Posts: 467
Registered: 11/3/11
Re: TListbox how to check if Scrollbar is visible and Scrollbar Width - Berlin
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 8, 2016 12:47 AM   in response to: Md. Shariful Al... in response to: Md. Shariful Al...
Md. Shariful Alam Khan wrote:
How can I check if Scrollbar is Visible in TListbox and how to get Scrollbar width?

for a quick and dirty look at width vs clientwidth
--
Linden
"Mango" was Cool but "Wasabi" was Hotter but remember it's all in the "source"
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: TListbox how to check if Scrollbar is visible and Scrollbar Width - Berlin  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 8, 2016 12:18 PM   in response to: Md. Shariful Al... in response to: Md. Shariful Al...
Am 08.08.2016 um 09:31 schrieb Md. Shariful Alam Khan:
How can I check if Scrollbar is Visible in TListbox and how to get Scrollbar width?

The Listbox afaik has some ItemHeight or DefaultHeight or so and if you
multiply this with the number of items in it and the compare it to the
height of the Listbox itsself you might get somewhere...

Greetings

Markus
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02