(Autohotkey)关于 GUI 垂直进度条不是垂直(上下)移动而是水平移动的问题,就像在水平进度条上一样

(Autohotkey) Problem concerning GUI vertical progress bar not moving vertically(up and down) but horizontally as it does at horizontal Progresbar

正如标题所说,遇到了一件意想不到的事情,很奇怪。

我正在编写下面的代码以在屏幕上制作许多进度条。重要的是我希望它从上到下移动,反之亦然。但即使这些看起来像垂直条,它也不是垂直移动的。它从左到右进行。我想让它从底部移动到顶部。

希望有人知道答案。谢谢

;Gui, Add, Button,x-20 y-20 gButton +default
Gui -Caption +LastFound +AlwaysOnTop +ToolWindow
Gui, Margin, 0, 0
Gui, Font,s17 바탕 cBlack


Loop,114
{
    AIndex:=A_Index-1
    X:=Mod(AIndex,30)*40+20
    Y:=(Floor(AIndex/30))*130+30
    Gui,Add,Progress,x%X% y%y% h100 w25 cBlue vMyProgress_%A_Index%,50
    GuiControl,,MyProgress horizontal
}
Mask := "42f442"

Gui,Color, %Mask%
WinSet, TransColor, %Mask%
Gui,-dpiscale 
Gui,Show, x0 y0
return

你需要指定它是一个vertical进度条,像这样

Gui,Add,Progress,x%X% y%y% h100 w25   Vertical   cBlue vMyProgress_%A_Index%,50

More about progress options