Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update various Windows category routines to avoid deprecated warnings #53

Open
delphidabbler opened this issue Jan 19, 2025 · 0 comments
Assignees
Labels
bug Something isn't working considering Issue is currently under consideration

Comments

@delphidabbler
Copy link
Owner

delphidabbler commented Jan 19, 2025

In Delphi 12, and possibly some earlier Delphi versions back to Delphi 10.1, compiling HScrollbarHeight and VScrollbarWidth results in a deprecated warning due to calls to StdCtrls.ssVertical etc. (from StdCtrls.TScrollStyle). Need to use values from the System.UITypes.TScrollStyle enumeration instead.

WinControlScrollbars and WindowScrollbars have similar warnings concerning deprecation of StdCtrls.TScrollStyle.

@delphidabbler delphidabbler self-assigned this Jan 19, 2025
@delphidabbler delphidabbler added bug Something isn't working considering Issue is currently under consideration labels Jan 19, 2025
@github-project-automation github-project-automation bot moved this to Considering in Code Snippets Jan 19, 2025
@delphidabbler delphidabbler changed the title Update HScrollbarHeight and VScrollbarWidth to avoid deprecated warning Update various Windows category routines to avoid deprecated warnings Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working considering Issue is currently under consideration
Projects
Status: Considering
Development

No branches or pull requests

1 participant