You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
How can I change the scrollbar width in a Delphi 1 grid running on Windows 3.11. It is easily done in 32 bit via a control panel setting.
Thanks Giles
Peter Below
unread,
Jan 7, 1998, 3:00:00 AM1/7/98
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
In article <6904ql$55...@forums.borland.com>, Giles Nutkins wrote: > How can I change the scrollbar width in a Delphi 1 grid running on Windows > 3.11. It is easily done in 32 bit via a control panel setting. >
You cannot, on Win 3.1 the scrollbar width is a fixed system value determined by the size of the arrow bitmaps.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
So there is no way you can modify this constant found by using the API call GetSystemMetrics(SM_CYHSCROLL). You are allowed to change the height of a TScrollbar control, but why not a TDBGrid which I assume is descended from TScrollbar some way.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
In article <692eba$5t...@forums.borland.com>, Giles Nutkins wrote: > You are allowed to change the height of a TScrollbar control, but why not a > TDBGrid which I assume is descended from TScrollbar some way. >
You assume wrong. The scrollbars on the borders of windows and controls are part of the non-client area of the window and have little in common internally with scrollbar controls.