Adham Posted June 13, 2016 Share Posted June 13, 2016 سلام عليكم انا عامل 3 ايديت و 1 كومب بوكس عاوز اليكتب في ال3 ايديت و يحدد في الكومب بوكس لازم يحدد في الحاجات المطلوبه دي يجي الحجات دي في القريد لست ال row يعني يكتب في ال3 ايديت ويحدد في الكومب بوكس ويجي في القريد لست في ال row Link to comment
Mr.CoR Posted June 13, 2016 Share Posted June 13, 2016 كم مره صرت منزل طلبات عن الكومبو بوكس ؟ يمكن هذا ال ١٢٧٢ ووضح لان مو مفهوم الي كاتبه Link to comment
Adham Posted June 13, 2016 Author Share Posted June 13, 2016 انا عرفت اعمل اذا كتب في ال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
N3xT Posted June 13, 2016 Share Posted June 13, 2016 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now