Jump to content

طريقة اخفاء النافذة


Recommended Posts

wnd = guiCreateWindow(1,1,799,599,"",false) 
guiSetAlpha(wnd,0) 
GUIEditor_Image[1] = guiCreateStaticImage(10,25,780,438,"images/tarkep.png",false,wnd) 
GUIEditor_Button[1] = guiCreateButton(248,564,94,26,"login",false,wnd) 
GUIEditor_Button[2] = guiCreateButton(420,565,94,24,"register",false,wnd) 
GUIEditor_Checkbox[1] = guiCreateCheckBox(438,525,25,38,"",false,false,wnd) 
guiCheckBoxSetSelected(GUIEditor_Checkbox[1],true) 
GUIEditor_Label[1] = guiCreateLabel(463,532,142,19,"حفظ كلمة المرور",false,wnd) 
GUIEditor_Edit[1] = guiCreateEdit(306,468,169,23,"",false,wnd) 
GUIEditor_Edit[2] = guiCreateEdit(306,501,169,23,"",false,wnd) 
GUIEditor_Label[2] = guiCreateLabel(243,469,110,21,"username",false,wnd) 
GUIEditor_Label[3] = guiCreateLabel(243,502,110,21,"password",false,wnd) 

Link to comment
wnd = guiCreateWindow(1,1,799,599,"",false) 
guiSetAlpha(wnd,0) 
GUIEditor_Image[1] = guiCreateStaticImage(10,25,780,438,"images/tarkep.png",false,wnd) 
GUIEditor_Button[1] = guiCreateButton(248,564,94,26,"login",false,wnd) 
GUIEditor_Button[2] = guiCreateButton(420,565,94,24,"register",false,wnd) 
GUIEditor_Checkbox[1] = guiCreateCheckBox(438,525,25,38,"",false,false,wnd) 
guiCheckBoxSetSelected(GUIEditor_Checkbox[1],true) 
GUIEditor_Label[1] = guiCreateLabel(463,532,142,19,"حفظ كلمة المرور",false,wnd) 
GUIEditor_Edit[1] = guiCreateEdit(306,468,169,23,"",false,wnd) 
GUIEditor_Edit[2] = guiCreateEdit(306,501,169,23,"",false,wnd) 
GUIEditor_Label[2] = guiCreateLabel(243,469,110,21,"username",false,wnd) 
GUIEditor_Label[3] = guiCreateLabel(243,502,110,21,"password",false,wnd) 

استخدمت ?

bindKey 

Link to comment
wnd = guiCreateWindow(1,1,799,599,"",false) 
guiSetAlpha(wnd,0) 
GUIEditor_Image[1] = guiCreateStaticImage(10,25,780,438,"images/tarkep.png",false,wnd) 
GUIEditor_Button[1] = guiCreateButton(248,564,94,26,"login",false,wnd) 
GUIEditor_Button[2] = guiCreateButton(420,565,94,24,"register",false,wnd) 
GUIEditor_Checkbox[1] = guiCreateCheckBox(438,525,25,38,"",false,false,wnd) 
guiCheckBoxSetSelected(GUIEditor_Checkbox[1],true) 
GUIEditor_Label[1] = guiCreateLabel(463,532,142,19,"حفظ كلمة المرور",false,wnd) 
GUIEditor_Edit[1] = guiCreateEdit(306,468,169,23,"",false,wnd) 
GUIEditor_Edit[2] = guiCreateEdit(306,501,169,23,"",false,wnd) 
GUIEditor_Label[2] = guiCreateLabel(243,469,110,21,"username",false,wnd) 
GUIEditor_Label[3] = guiCreateLabel(243,502,110,21,"password",false,wnd) 

استخدمت ?

bindKey 

لا ما اضفت لها امر فتح بس شفتها من guieditor

ما يطلع شي

Link to comment
wnd = guiCreateWindow(1,1,799,599,"",false) 
guiSetAlpha(wnd,0) 
GUIEditor_Image[1] = guiCreateStaticImage(10,25,780,438,"images/tarkep.png",false,wnd) 
GUIEditor_Button[1] = guiCreateButton(248,564,94,26,"login",false,wnd) 
GUIEditor_Button[2] = guiCreateButton(420,565,94,24,"register",false,wnd) 
GUIEditor_Checkbox[1] = guiCreateCheckBox(438,525,25,38,"",false,false,wnd) 
guiCheckBoxSetSelected(GUIEditor_Checkbox[1],true) 
GUIEditor_Label[1] = guiCreateLabel(463,532,142,19,"حفظ كلمة المرور",false,wnd) 
GUIEditor_Edit[1] = guiCreateEdit(306,468,169,23,"",false,wnd) 
GUIEditor_Edit[2] = guiCreateEdit(306,501,169,23,"",false,wnd) 
GUIEditor_Label[2] = guiCreateLabel(243,469,110,21,"username",false,wnd) 
GUIEditor_Label[3] = guiCreateLabel(243,502,110,21,"password",false,wnd) 

استخدمت ?

bindKey 

لا ما اضفت لها امر فتح بس شفتها من guieditor

ما يطلع شي

جرب ب bindKey

وشوف وش يصير معاك ؟

Link to comment
    wnd = guiCreateWindow(1,1,799,599,"",false) 
    guiSetAlpha(wnd,1) 
    GUIEditor_Image[1] = guiCreateStaticImage(10,25,780,438,"images/tarkep.png",false,wnd) 
    GUIEditor_Button[1] = guiCreateButton(248,564,94,26,"login",false,wnd) 
    GUIEditor_Button[2] = guiCreateButton(420,565,94,24,"register",false,wnd) 
    GUIEditor_Checkbox[1] = guiCreateCheckBox(438,525,25,38,"",false,false,wnd) 
    guiCheckBoxSetSelected(GUIEditor_Checkbox[1],true) 
    GUIEditor_Label[1] = guiCreateLabel(463,532,142,19,"حفظ كلمة المرور",false,wnd) 
    GUIEditor_Edit[1] = guiCreateEdit(306,468,169,23,"",false,wnd) 
    GUIEditor_Edit[2] = guiCreateEdit(306,501,169,23,"",false,wnd) 
    GUIEditor_Label[2] = guiCreateLabel(243,469,110,21,"username",false,wnd) 
    GUIEditor_Label[3] = guiCreateLabel(243,502,110,21,"password",false,wnd) 

جرب هذا

اذا ما اشتغلت اللوحه

اطرح الميتا

Link to comment

جرب ذا

 wnd = guiCreateWindow(1,1,799,599,"",false) 
guiSetVisible(GUIEditor_Window[1],true) 
    GUIEditor_Image[1] = guiCreateStaticImage(10,25,780,438,"images/tarkep.png",false,wnd) 
    GUIEditor_Button[1] = guiCreateButton(248,564,94,26,"login",false,wnd) 
    GUIEditor_Button[2] = guiCreateButton(420,565,94,24,"register",false,wnd) 
    GUIEditor_Checkbox[1] = guiCreateCheckBox(438,525,25,38,"",false,false,wnd) 
    guiCheckBoxSetSelected(GUIEditor_Checkbox[1],true) 
    GUIEditor_Label[1] = guiCreateLabel(463,532,142,19,"حفظ كلمة المرور",false,wnd) 
    GUIEditor_Edit[1] = guiCreateEdit(306,468,169,23,"",false,wnd) 
    GUIEditor_Edit[2] = guiCreateEdit(306,501,169,23,"",false,wnd) 
    GUIEditor_Label[2] = guiCreateLabel(243,469,110,21,"username",false,wnd) 
    GUIEditor_Label[3] = guiCreateLabel(243,502,110,21,"password",false,wnd) 

Link to comment

سبب اختفاء عناصر النافذه ان العناصر حقتها تختف معها يا حلو

يعني انت الحين تبي تسوي ازر ار تسجيل وتسجيل الدخول

وما تبين اللوحه ليه سويت اللوحه؟؟ وليه ما خليت الأزرار بدون لوحه؟

:D

Link to comment
:lol: لية معقدين ام ابو جد اهل عم خال السالفة؟

كل السالفة ومافيها صورة سوداء بـ مقاس الشاشة كاملة وعليها صورة وباقي الاشياء الايديت ..الخ :lol:

#

يعني احط صورة فوقها صورة ؟

وذولي الي فوق خرابيط ومدري ايش وجرب ذا ذذ

Link to comment

بدل اسم صور كذا جاهز على صوره

ss = guiCreateStaticImage(1,1,799,599,"images/صوره.png",false) 
guiSetVisible(ss,true) 
    GUIEditor_Image[1] = guiCreateStaticImage(10,25,780,438,"images/tarkep.png",false,ss) 
    GUIEditor_Button[1] = guiCreateButton(248,564,94,26,"login",false,ss) 
    GUIEditor_Button[2] = guiCreateButton(420,565,94,24,"register",false,ss) 
    GUIEditor_Checkbox[1] = guiCreateCheckBox(438,525,25,38,"",false,false,ss) 
    guiCheckBoxSetSelected(GUIEditor_Checkbox[1],true) 
    GUIEditor_Label[1] = guiCreateLabel(463,532,142,19,"حفظ كلمة المرور",false,ss) 
    GUIEditor_Edit[1] = guiCreateEdit(306,468,169,23,"",false,ss) 
    GUIEditor_Edit[2] = guiCreateEdit(306,501,169,23,"",false,ss) 
    GUIEditor_Label[2] = guiCreateLabel(243,469,110,21,"username",false,ss) 
    GUIEditor_Label[3] = guiCreateLabel(243,502,110,21,"password",false,ss) 

Link to comment

اذا قصدك اول ماتدخل تطلع لك الوحة

ss = guiCreateStaticImage(1,1,799,599,"images/صوره.png",false) 
guiSetVisible(ss,false) 
    GUIEditor_Image[1] = guiCreateStaticImage(10,25,780,438,"images/tarkep.png",false,ss) 
    GUIEditor_Button[1] = guiCreateButton(248,564,94,26,"login",false,ss) 
    GUIEditor_Button[2] = guiCreateButton(420,565,94,24,"register",false,ss) 
    GUIEditor_Checkbox[1] = guiCreateCheckBox(438,525,25,38,"",false,false,ss) 
    guiCheckBoxSetSelected(GUIEditor_Checkbox[1],true) 
    GUIEditor_Label[1] = guiCreateLabel(463,532,142,19,"حفظ كلمة المرور",false,ss) 
    GUIEditor_Edit[1] = guiCreateEdit(306,468,169,23,"",false,ss) 
    GUIEditor_Edit[2] = guiCreateEdit(306,501,169,23,"",false,ss) 
    GUIEditor_Label[2] = guiCreateLabel(243,469,110,21,"username",false,ss) 
    GUIEditor_Label[3] = guiCreateLabel(243,502,110,21,"password",false,ss) 
  
addEventHandler("onClientResourceStart", root, 
function() 
guiSetVisible(ss, true) 
showCursor(true) 
end) 
  

Link to comment
اذا قصدك اول ماتدخل تطلع لك الوحة
ss = guiCreateStaticImage(1,1,799,599,"images/صوره.png",false) 
guiSetVisible(ss,false) 
    GUIEditor_Image[1] = guiCreateStaticImage(10,25,780,438,"images/tarkep.png",false,ss) 
    GUIEditor_Button[1] = guiCreateButton(248,564,94,26,"login",false,ss) 
    GUIEditor_Button[2] = guiCreateButton(420,565,94,24,"register",false,ss) 
    GUIEditor_Checkbox[1] = guiCreateCheckBox(438,525,25,38,"",false,false,ss) 
    guiCheckBoxSetSelected(GUIEditor_Checkbox[1],true) 
    GUIEditor_Label[1] = guiCreateLabel(463,532,142,19,"حفظ كلمة المرور",false,ss) 
    GUIEditor_Edit[1] = guiCreateEdit(306,468,169,23,"",false,ss) 
    GUIEditor_Edit[2] = guiCreateEdit(306,501,169,23,"",false,ss) 
    GUIEditor_Label[2] = guiCreateLabel(243,469,110,21,"username",false,ss) 
    GUIEditor_Label[3] = guiCreateLabel(243,502,110,21,"password",false,ss) 
  
addEventHandler("onClientResourceStart", root, 
function() 
guiSetVisible(ss, true) 
showCursor(true) 
end) 
  

كودك كامل مختصره بي

guiSetVisible(ss,true)

و هوا تلقائي لو ما ضاف الكودين بتضهر اول ما تدخل بس مدري ما ضهرت عنده

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...