Jump to content

طلب


Recommended Posts

سلام عليكم انا عامل 3 ايديت و 1 كومب بوكس

عاوز اليكتب في ال3 ايديت

و يحدد في الكومب بوكس

لازم يحدد في الحاجات المطلوبه دي

يجي الحجات دي في القريد لست

ال row

يعني يكتب في ال3 ايديت

ويحدد في الكومب بوكس

ويجي في القريد لست

في ال row

Link to comment

انا عرفت اعمل

اذا كتب في ال3 ايديت

يروح للقريد لست

انا ابي اعمل الكومب بوكس

معاهم

الهوا حدوو

يجي في اللست

addEventHandler("onClientGUIClick",root, 
    function () 
        if ( source == GUIEditor.button[2] ) then 
            guiSetVisible(GUIEditor.window[1],false) 
            showCursor(false) 
            guiSetInputEnabled(false) 
            
        elseif ( source == GUIEditor.button[1]) then 
            if ( guiGetText ( editname ) and guiGetText ( GUIEditor.edit[2] ) and guiGetText ( GUIEditor.edit[1] ) ~= '' ) then 
               local row = guiGridListAddRow ( GRID) 
               guiGridListSetItemText (GRID,row,1,guiGetText(editname),false,false) 
               guiGridListSetItemText (GRID,row,2,guiGetText(GUIEditor.edit[2]),false,false) 
               guiGridListSetItemText (GRID,row,3,guiGetText(GUIEditor.edit[1]),false,false) 
            end 
        end 
    end 
) 
  

Link to comment
addEventHandler("onClientGUIClick",root, 
    function () 
        local text = guiGetText ( GUIEditor.edit[1] ) 
        if ( source == GUIEditor.button[1]) then 
            guiComboBoxAddItem(GUIEditor.combobox[1], text) 
        end 
    end 
) 

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