ScuiLib imagebox

Discuss any general programming issues here

ScuiLib imagebox

Postby sashapont » Sun Aug 27, 2017 10:32 am

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?
sashapont
 
Posts: 32
Joined: Thu Aug 03, 2017 2:49 pm

Return to General programming

Who is online

Users browsing this forum: No registered users and 6 guests