Latest post of the previous page:
Сомневаюсь что должно.Code: Select all
local id = win.Uuid"45B09D0D-6AE8-416C-BB5A-F5FA7B5CC430"
local F = far.Flags
local function Progress(text,title)
local len = text:len()
local items = {
--[[01]] {F.DI_SINGLEBOX,0,0,len+2,3,0,0,0,0,title},
--[[02]] {F.DI_TEXT, 1,1,0,0,0,0,0,0,text},
}
local flags = F.FDLG_NONMODAL
return far.DialogInit(id,-1,-1,len+2,3,len,items,flags)
end
local hDlg = Progress(" ")
for i=1,5 do
--hDlg:send"DM_REDRAW"
win.Sleep(500)
hDlg:send("DM_SETTEXT",2,i)
end