Jump to content

وش المشكلة ؟


Recommended Posts

السلام عليكم لو سمحتم

انا سويت نافذة وتاب وزر وليبل

بالاكواد بدون الجوا اديتور

وظبطت كل شي ولما شغلتها من الادمنية وظغطت اف 2

ماشتغلت معي =)

ياليت تشوفو لي وش الخطء في االاكواد

local Window = guiCreateWindow ( 541,262,388,241, "login/register Panl", true ) 
  
local tabPanel = guiCreateTabPanel ( 9,21,370,211, true, Window ) 
  
local Info = guiCreateTab( "login/register", tabPanel ) 
  
guiCreateLabel(159,4,40,17,"Name :",true,tabPanel) 
  
gui-edit = guiCreateEdit( 37,22,296,39, "", true ) 
  
guiCreateLabel(161,66,35,16,",true,tabPanel) 
  
gui-edit = guiCreateEdit( 39,84,296,41, "", true ) 
  
button = guiCreateButton( 102,133,167,45, "login/register", true ) 
  
  
  
bindKey ( "F2" , "down" , function() 
 if ( guiGetVisible ( Window ) == true ) then 
 guiSetVisible ( Window ,false ) 
 showCursor (false ) 
 guiSetInputEnabled(false) 
  
 elseif ( guiGetVisible ( Window ) == false ) then 
 guiSetVisible ( Window ,true ) 
 showCursor (false ) 
 guiSetInputEnabled(true) 
  
 end 
 end 
 ) 
  
  
 
Link to comment

ججرب ذآ

Window = guiCreateWindow ( 541,262,388,241, "login/register Panl", true ) 
  
tabPanel = guiCreateTabPanel ( 9,21,370,211, true, Window ) 
  
Info = guiCreateTab( "login/register", tabPanel ) 
  
guiCreateLabel(159,4,40,17,"Name :",true,tabPanel) 
  
gui-edit = guiCreateEdit( 37,22,296,39, "", true ) 
  
guiCreateLabel(161,66,35,16,"",true,tabPanel) 
  
gui-edit = guiCreateEdit( 39,84,296,41, "", true ) 
  
button = guiCreateButton( 102,133,167,45, "login/register", true ) 
  
  
  
bindKey ( "F2" , "down" , 
    function() 
        if ( guiGetVisible ( Window ) == true ) then 
            guiSetVisible ( Window ,false ) 
            showCursor (false ) 
            guiSetInputEnabled(false) 
        elseif ( guiGetVisible ( Window ) == false ) then 
            guiSetVisible ( Window ,true ) 
            showCursor (true ) 
            guiSetInputEnabled(true) 
        end 
end 
) 

رآحح يصعب عليكـ برمجة اللوحات Gui Editor و بدون سكربت الـ

Link to comment
  • Other Languages Moderators
Window = guiCreateWindow ( 541,262,388,241, "login/register Panl", false ) 
  
tabPanel = guiCreateTabPanel ( 9,21,370,211, false, Window ) 
  
Info = guiCreateTab( "login/register", tabPanel ) 
  
guiCreateLabel(159,4,40,17,"Name :",false,tabPanel) 
  
gui-edit = guiCreateEdit( 37,22,296,39, "", false ) 
  
guiCreateLabel(161,66,35,16,"",false,tabPanel) 
  
gui-edit = guiCreateEdit( 39,84,296,41, "", false ) 
  
button = guiCreateButton( 102,133,167,45, "login/register", false ) 
  
bindKey("F2", "down", 
function() 
     guiSetVisible(Window,not guiGetVisible(Window)) 
     showCursor(guiGetVisible(Window)) 
     guiSetInputEnabled(guiGetVisible(Window)) 
end) 

Link to comment

جرب

local Window = guiCreateWindow ( 541,262,388,241, "login/register Panl", true ) 
  
local tabPanel = guiCreateTabPanel ( 9,21,370,211, true, Window ) 
  
local Info = guiCreateTab( "login/register", tabPanel ) 
  
guiCreateLabel(159,4,40,17,"Name :",true,tabPanel) 
  
guiedit1 = guiCreateEdit( 37,22,296,39, "", true ) 
  
guiCreateLabel(161,66,35,16,",true,tabPanel) 
  
guiedit2 = guiCreateEdit( 39,84,296,41, "", true ) 
  
button = guiCreateButton( 102,133,167,45, "login/register", true ) 
  
  
  
bindKey ( "F2" , "down" , function() 
if ( guiGetVisible ( Window ) == true ) then 
guiSetVisible ( Window ,false ) 
showCursor (false ) 
guiSetInputEnabled(false) 
  
elseif ( guiGetVisible ( Window ) == false ) then 
guiSetVisible ( Window ,true ) 
showCursor (false ) 
guiSetInputEnabled(true) 
  
end 
end 
) 
 

Link to comment
  • Other Languages Moderators
Window = guiCreateWindow ( 541,262,388,241, "login/register Panel", false ) 
  
tabPanel = guiCreateTabPanel (9,21,370,211, false, Window) 
  
Info = guiCreateTab( "login/register", tabPanel ) 
  
guiCreateLabel(159,4,40,17,"Name :",false,Info) 
  
gui-edit = guiCreateEdit(37,22,296,39, "", false,Info) 
  
guiCreateLabel(161,66,35,16,"",false,Info) 
  
gui-edit = guiCreateEdit(39,84,296,41, "", false,Info) 
  
button = guiCreateButton(102,133,167,45, "login/register", false,Info) 
  
bindKey("F2", "down", 
function() 
     guiSetVisible(Window,not guiGetVisible(Window)) 
     showCursor(guiGetVisible(Window)) 
     guiSetInputEnabled(guiGetVisible(Window)) 
end) 

Link to comment
Window = guiCreateWindow ( 541,262,388,241, "login/register Panel", false ) 
  
tabPanel = guiCreateTabPanel (9,21,370,211, false, Window) 
  
Info = guiCreateTab( "login/register", tabPanel ) 
  
guiCreateLabel(159,4,40,17,"Name :",false,Info) 
  
gui-edit = guiCreateEdit(37,22,296,39, "", false,Info) 
  
guiCreateLabel(161,66,35,16,"",false,Info) 
  
gui-edit = guiCreateEdit(39,84,296,41, "", false,Info) 
  
button = guiCreateButton(102,133,167,45, "login/register", false,Info) 
  
bindKey("F2", "down", 
function() 
     guiSetVisible(Window,not guiGetVisible(Window)) 
     showCursor(guiGetVisible(Window)) 
     guiSetInputEnabled(guiGetVisible(Window)) 
end) 

تابل هو حاطت

gui-edit = guiCreateEdit(37,22,296,39, "", false,Info)

في كل ال

gui-edit

" = " expected near " - "

بس غلط الشرطة هاذي تجيب ايرور

Link to comment
Gui Editor لو أنكـ من البداية مسسويه عن طريق

كآن مآططرحت هالموضوع اساساً

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

=)

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