Jump to content

لوحه مع صوره 2


Recommended Posts

سلام عليكم جربت اخلي لوحه وازرار كلها بصوره لكن ما زبط

    Image = guiCreateStaticImage( 139, 178, 554, 342, "imagename.png", false ) 
      
    Tabs = guiCreateTabPanel(2,0,545,339,false,Image) 
      
    Teabs = guiCreateTab("::قوانين الزوار::",Tabs) 
    tebs = guiCreateTab("::قوانين الادمنيه::",Tabs) 
    taebs = guiCreateTab("::شروحات السيرفر::",Tabs) 
    teabse = guiCreateTab("::ادارة السيرفر::",Tabs) 
    teabes = guiCreateTab("::منتدى السيرفر::",Tabs) 
      
      
            guiSetVisible (Image, false)   
    function OpenWin() 
        if guiGetVisible ( Image ) then 
           guiSetVisible ( Image, false ) 
           showCursor(false) 
           guiSetInputEnabled(false) 
        else 
            guiSetVisible ( Image, true ) 
            showCursor(true) 
            guiSetInputEnabled(true) 
      
        end 
    end 
    bindKey("F2", "down", OpenWin) 

Link to comment

هاده مثال من الويكي

local image1= guiCreateStaticImage ( 0.45, 0.48, 0.2, 0.5, "image1.png", true ) --هادي صورة عادية 
setTimer ( guiStaticImageLoadImage, 10000, 1, image1, "otherimage.png" ) ----اضفنا للصورة الاولى سيت تيمر 10 ثواني واضفنى الوضيفة الي تخلي الصورة تتغير 

image1 هتبقى 10 ثواني وراح تتغير بـ

otherimage.png

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...