Skip to content

docs: fix \&H80000012 — button text, not button face - #246

Merged
KubaO merged 1 commit into
twinbasic:mainfrom
Jah-yee:fix-translatecolor-vbbuttontext
Oct 20, 2026
Merged

KubaO merged 1 commit into
twinbasic:mainfrom
Jah-yee:fix-translatecolor-vbbuttontext

Conversation

@Jah-yee

@Jah-yee Jah-yee commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Corrects the TranslateColor documentation which misidentified `&H80000012` as 'button face'. Per SystemColorConstants.md, `&H80000012` is vbButtonText (button text). Button face is `&H8000000F` (vbButtonFace).

Two changes in docs/Reference/Default/VBA/Information/TranslateColor.md:

  1. Description: button face → button text
  2. Example comment: COLOR_BTNFACE — the button face colour → COLOR_BTNTEXT — the button text colour

Fixes #245.

Corrects the TranslateColor documentation which misidentified \&H80000012
as 'button face'. Per SystemColorConstants.md, \&H80000012 is vbButtonText
(button text). Button face is \&H8000000F (vbButtonFace). Fixes twinbasic#245.
@Jah-yee Jah-yee mentioned this pull request Oct 20, 2026
@KubaO
KubaO merged commit 8747769 into twinbasic:main Oct 20, 2026
1 check passed
@KubaO

KubaO commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TranslateColor typo

2 participants