GUI styles - how to make bold text, draw break line,no side borders? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
DanRim
Posts: 153
Joined: 20 Jul 2018, 15:16

GUI styles - how to make bold text, draw break line,no side borders?

19 Sep 2021, 14:01

Hello, AHK community,

Maybe some one have knowledge or examples on how to make Font size bold, draw break line and Center text as in example.
And how to create such small narrow box (does nothing, just decoration) number 3.

Thank you for all kind help and advices :)
Attachments
ahk gui.JPG
ahk gui.JPG (77.92 KiB) Viewed 703 times
User avatar
Hellbent
Posts: 2109
Joined: 23 Sep 2017, 13:34

Re: GUI styles - how to make bold text, draw break line,no side borders?  Topic is solved

19 Sep 2021, 14:09

1.

Code: Select all

Gui, Add, Progress, w%SomeAmount% h1 BackgroundBlack

2.

Code: Select all

Gui, Font, s12 Bold cRed
Gui, Add, Text, w500 Center  0x200 , My text  ; Center = "center x-axis" , 0x200 = "Center y-axis"
3.

Code: Select all

Gui, Add, GroupBox, w500 r2,
HTH


**Edit**
Also for 3.

Code: Select all

Gui, Add, Progress, w500 h20 Background999999 cBBBBBB, 100

DanRim
Posts: 153
Joined: 20 Jul 2018, 15:16

Re: GUI styles - how to make bold text, draw break line,no side borders?

20 Sep 2021, 15:56

@Hellbent Thank you! Always with clear and short examples! Appreciate for your time :)

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Chunjee, inseption86, mebelantikjaya, rc76 and 314 guests