Search found 160 matches

by m3user
09 Jan 2020, 17:25
Forum: Ask For Help
Topic: Is it possible to align edit and button controls?
Replies: 10
Views: 404

Re: Is it possible to align edit and button controls?

I see what you mean, thanks, I'll give it a try.
Quite a complication to achieve such a basic thing... :)
by m3user
09 Jan 2020, 17:01
Forum: Ask For Help
Topic: Is it possible to align edit and button controls?
Replies: 10
Views: 404

Re: Is it possible to align edit and button controls?

The first option should be enough. How would you do it?
by m3user
09 Jan 2020, 16:47
Forum: Ask For Help
Topic: Is it possible to align edit and button controls?
Replies: 10
Views: 404

Re: Is it possible to align edit and button controls?

I see the buttons bigger - height by two pixels. The top and bottom of the controls are not exactly aligned as on 100%.
by m3user
09 Jan 2020, 16:25
Forum: Ask For Help
Topic: Is it possible to align edit and button controls?
Replies: 10
Views: 404

Re: Is it possible to align edit and button controls?

Thanks. Your code result is fine on 100% but here is what I get on a 4K 150%:

Image

Is it not possible to align this two controls to look ok on any monitor?
by m3user
09 Jan 2020, 14:36
Forum: Ask For Help
Topic: Is it possible to align edit and button controls?
Replies: 10
Views: 404

Re: Is it possible to align edit and button controls?

Thanks for replying. Unfortunately there is no difference - a button is still larger and not top aligned on 150% scaling.
by m3user
09 Jan 2020, 13:39
Forum: Ask For Help
Topic: Is it possible to align edit and button controls?
Replies: 10
Views: 404

Is it possible to align edit and button controls?

Hi, I still struggle with a very basic control alignment. I need a very standard qui - edit control with a selection button. The controls would be top aligned and same height. By default the button is of different size and not top aligned so the adjustments are needed. However, when used a different...
by m3user
03 Jan 2020, 16:16
Forum: Ask For Help
Topic: How to properly align controls on different monitors?
Replies: 5
Views: 325

Re: How to properly align controls on different monitors?

Thanks Toralf for the x+ tip, very much appreciated.

Anyone knows a right way to properly align control height on different monitors and scaling?
by m3user
03 Jan 2020, 04:56
Forum: Ask For Help
Topic: How to properly align controls on different monitors?
Replies: 5
Views: 325

How to properly align controls on different monitors?

What is the correct way to deal with control positioning/sizes to work well on all monitor resolutions? For example, the code below shows different default height of two controls on different monitors: 1080 monitor 100% scaling. Edit 25px, DropDownList 25px 4K monitor, 150 scaling: Edit 27px, DropDo...
by m3user
16 Dec 2019, 07:34
Forum: Bug Reports
Topic: Disabling/enabling menu bar item - BackgroundTrans
Replies: 3
Views: 365

Disabling/enabling menu bar item - BackgroundTrans

Enabling and disabling the main menu bar item affects the text with BackgroundTrans option - please see the example: Menu, FileMenu, Add, File1, Handler Menu, MenuBar, Add, Menu, :FileMenu Gui, Menu, MenuBar Gui, Font, s12 Gui, Add, Text, w200 BackGroundTrans, Testing... Gui, Show loop 3 { sleep 100...
by m3user
02 Dec 2019, 17:44
Forum: Ask For Help
Topic: How to change text border later?
Replies: 8
Views: 477

Re: How to change text border later?

Thanks Teadrinker. :)
by m3user
02 Dec 2019, 14:11
Forum: Ask For Help
Topic: How to change text border later?
Replies: 8
Views: 477

Re: How to change text border later?

Thank you very much!
Just one more question: I have many controls, each has unique hwnd (like Control1, Control2 etc.). I need to change just the border of the n-th control. How should I specify ahk_id for the control n (Variable)? Thanks.
by m3user
02 Dec 2019, 11:50
Forum: Ask For Help
Topic: How to change text border later?
Replies: 8
Views: 477

How to change text border later?

Is it possible to change the text control border after the control is created? The code below doesn't seem to work.

Code: Select all

gui, add, text, w100 h30 vMyText, Text
guicontrol, +border, MyText
gui, show
by m3user
03 Nov 2019, 17:09
Forum: Scripts and Functions
Topic: [Library] Fnt v3.0 - Do Stuff With Fonts
Replies: 34
Views: 15697

Re: [Library] Fnt v3.0 - Do Stuff With Fonts

Thanks jballi, very much appreciated.
by m3user
01 Nov 2019, 18:07
Forum: Scripts and Functions
Topic: [Library] Fnt v3.0 - Do Stuff With Fonts
Replies: 34
Views: 15697

Re: [Library] Fnt v3.0 - Do Stuff With Fonts

Thanks jballi, very useful function. I see the "Character set" can be selected in the Example - Get list of fonts. Is this the same as "Script" selection in the standard dialog? Do you know what is the practical purpose of this two selections?
by m3user
31 Oct 2019, 18:43
Forum: Scripts and Functions
Topic: [Library] Fnt v3.0 - Do Stuff With Fonts
Replies: 34
Views: 15697

Re: [Library] Fnt v3.0 - Do Stuff With Fonts

Wonderful library, thanks!
I just wonder if there is a way to hide only the color selection in Choose Font standard dialog? I know I can hide all effects but then underline and strikeout options are hidden too.
by m3user
30 Oct 2019, 11:37
Forum: SciTE4AutoHotkey
Topic: SciTE crashes with certain characters
Replies: 1
Views: 1513

Re: SciTE crashes with certain characters

Can anyone else confirm this?
Any solution?
by m3user
25 Oct 2019, 14:24
Forum: SciTE4AutoHotkey
Topic: SciTE crashes with certain characters
Replies: 1
Views: 1513

SciTE crashes with certain characters

SciTE crashes with some characters. For example copy the left-arrow character from below and paste it to SciTE, to one of the non-commented lines. Tested on Win10 64bit.

🞀
by m3user
23 Oct 2019, 09:26
Forum: Scripts and Functions
Topic: [Class] CustomFont - Load font from file or resource, without needed install to system.
Replies: 25
Views: 7608

Re: [Class] CustomFont - Load font from file or resource, without needed install to system.

It works, thanks! But not sure Class_CustomFont is a problem. First part of this works in Win7: SetWorkingDir %A_ScriptDir% #Include <Gdip_All> #Include <Subtitle> ; https://www.autohotkey.com/boards/viewtopic.php?f=6&t=36384 #Include <Class_CustomFont> font1 := New CustomFont("SegMDL2.ttf") gui, fo...
by m3user
18 Oct 2019, 08:12
Forum: Scripts and Functions
Topic: [Class] CustomFont - Load font from file or resource, without needed install to system.
Replies: 25
Views: 7608

Re: [Class] CustomFont - Load font from file or resource, without needed install to system.

Thanks, very kind. I tried on Win10 and it works great. :D
It still doesn't work on my Win7 machine, I'll check what might be the issue.

Go to advanced search