Gui statusba style modify

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Pilu
Posts: 84
Joined: 22 Jun 2018, 01:13

Gui statusba style modify

Post by Pilu » 07 May 2021, 09:37

Hi,

Is It possible modify the status bar text color. I can modify the style and background color, but can't the text color .

Code: Select all

#NoEnv

gui Add,Button,w100,Style 0
gui Add,Button,w100,Style 1
gui Add,Button,w100,Style 2
gui Add,Statusbar, -Theme BackgroundBlue
gui Show,w500 h200,Statusbar style test
return

GUIEscape:
GUIClose:
ExitApp

ButtonStyle0:
outputdebug % "Style=0 Return=" . SB_SetText("Just some text. Style=0",1,0)
return

ButtonStyle1:
outputdebug % "Style=1 Return=" . SB_SetText("Just some text. Style=1",1,1)
return

ButtonStyle2:
outputdebug % "Style=2 Return=" . SB_SetText("Just some text. Style=2",1,2)
return
User avatar
Smile_
Posts: 858
Joined: 03 May 2020, 00:51

Re: Gui statusba style modify

Post by Smile_ » 07 May 2021, 10:32

I don't know if there is an option with Status Bar but an alternative can be with a text control and this class by @just me.
Post Reply

Return to “Ask for Help (v1)”