ScuiLib imagebox

Discuss any general programming issues here
Post Reply
sashapont
Posts: 152
Joined: Thu Aug 03, 2017 2:49 pm

ScuiLib imagebox

Post by sashapont »

Is it possible to add image box to other window?
I write like this

Code: Select all

scui.FWin_New("AboutWindow", nil, "About", { Close = False }, { 
scui.NewObject( #IFOCLASS_BUTTON, "CloseWindow",
{ x=75, y=235 }, {x=60,y=20},nil, 
{ Values = { "OK" }, Lines = 1 },
{ OnPushed = CloseWindow3 }, nil, nil, 1),

scui.NewObject( #IFOCLASS_IMAGE, "Image_1",
{ x = 10, y = 6 },{ x = 95, y = 75 }, nil,
{ image = "Kitty.jpg", resize = #IMAGERESIZE_NONE}, nil, nil, 1 ), 
But it show glitches, what I am doing wrong?
Post Reply