AboFaisal Posted May 5, 2013 Author Posted May 5, 2013 كيف يجي الكلام تحته.؟ مثل الشات الخاص .. edit : كيف يجي الكلام تحته.؟ مثل الشات الخاص .. يعني يجي تحت الكلمه اللي أول مره كتبتها
iMr.Dawix~# Posted May 5, 2013 Posted May 5, 2013 كيف يجي الكلام تحته.؟ يقصد انه ما يغير الكلام يجي الكلام تحت يعني شات
AboFaisal Posted May 5, 2013 Author Posted May 5, 2013 كيف يجي الكلام تحته.؟ يقصد انه ما يغير الكلام يجي الكلام تحت يعني شات GUIEditor.memo[1] = guiCreateMemo(9, 24, 364, 189, "", false, GUIEditor.window[1]) GUIEditor.edit[1] = guiCreateEdit(16, 217, 296, 23, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(317, 217, 56, 23, "Send", false, GUIEditor.window[1]) آسهل عليكم
3NAD Posted May 5, 2013 Posted May 5, 2013 local text = guiGetText ( edit ) guiSetText ( memo, text )
Tete omar Posted May 5, 2013 Posted May 5, 2013 Give me an example addEventHandler("onClientGUIClick", btn, function() local text = guiGetText(gui_edit) guiSetText(gui_memo, text) end, false )
AboFaisal Posted May 5, 2013 Author Posted May 5, 2013 Give me an example addEventHandler("onClientGUIClick", btn, function() local text = guiGetText(gui_edit) guiSetText(gui_memo, text) end, false ) Explain code
AboFaisal Posted May 5, 2013 Author Posted May 5, 2013 addEventHandler("onClientGUIClick", btn, function() local text = guiGetText(gui_edit) guiSetText(gui_memo, text) end, false ) addEventHandler("onClientGUIClick", btn, function() local text = guiGetText(GUIEditor.edit[1]) guiSetText(GUIEditor.memo[1], text) end, false ) مزبوط ؟
فاّرس Posted May 5, 2013 Posted May 5, 2013 (edited) addEventHandler("onClientGUIClick", btn, function() local text = guiGetText(gui_edit) guiSetText(gui_memo, text) end, false ) addEventHandler("onClientGUIClick", btn, function() local text = guiGetText(GUIEditor.edit[1]) guiSetText(GUIEditor.memo[1], text) end, false ) مزبوط ؟ ايه مزبوط, addEventHandler("onClientGUIClick", btn, -- اذا ضغط على زر btn function() -- وظيفة local text = guiGetText(gui_edit) -- نجيب الاديت guiSetText(gui_memo, text) -- نربط الميمو بالاديت end, false -- اغلاق ) -- اغلاق Edited May 5, 2013 by Guest
AboFaisal Posted May 5, 2013 Author Posted May 5, 2013 addEventHandler("onClientGUIClick", btn, -- اذا ضغط على زر btn function() -- وظيفة local text = guiGetText(gui_edit) -- نجيب الاديت guiSetText(gui_memo, text) -- نربط الميمو بالاديت end, false -- اغلاق ) -- اغلاق مازبط ..
فاّرس Posted May 5, 2013 Posted May 5, 2013 addEventHandler("onClientGUIClick", btn, -- اذا ضغط على زر btn function() -- وظيفة local text = guiGetText(gui_edit) -- نجيب الاديت guiSetText(gui_memo, text) -- نربط الميمو بالاديت end, false -- اغلاق ) -- اغلاق مازبط .. addEventHandler("onClientGUIClick",root, function () if source == btn then local text = guiGetText(Edit) guiSetText(Memo,text) end end,false)
AboFaisal Posted May 5, 2013 Author Posted May 5, 2013 addEventHandler("onClientGUIClick",root, function () if source == btn then local text = guiGetText(Edit) guiSetText(Memo,text) end end,false) نفس الشي مازبط !
yazan Posted May 5, 2013 Posted May 5, 2013 تفضل المود جاهز http://arabsh.com/files/0d31444e6dfb/sendall-zip.html
PaiN^ Posted May 5, 2013 Posted May 5, 2013 guiCreateButton guiCreateEdit guiCreateMemo 'onClientGUIClick' guiGetText guiSetText حاول وبنساعدك
AboFaisal Posted May 5, 2013 Author Posted May 5, 2013 وش تبي بالضبط؟ الكود مايشتغل .. انا ابي إذا كتبت في Edit وضغطت على زر يجي الكلام في memo وإذا كتبت مره ثانيه تجي تحت الكلمه اللي كتبتها أول مره
yazan Posted May 5, 2013 Posted May 5, 2013 تفضل المود جاهز http://arabsh.com/files/0d31444e6dfb/sendall-zip.html اخوي طلبك المود جاهز
AboFaisal Posted May 5, 2013 Author Posted May 5, 2013 تفضل المود جاهز http://arabsh.com/files/0d31444e6dfb/sendall-zip.html مو نفس اللي أبيه
AboFaisal Posted May 5, 2013 Author Posted May 5, 2013 guiCreateButton guiCreateEdit guiCreateMemo 'onClientGUIClick' guiGetText guiSetText حاول وبنساعدك addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[1] then local text = guiGetText(GUIEditor.edit[1]) guiSetText(GUIEditor.memo[1],text) end end,false)
3NAD Posted May 5, 2013 Posted May 5, 2013 addEventHandler ( "onClientGUIClick", GUIEditor.button[1], function ( ) local text = guiGetText ( GUIEditor.edit[1] ) if text ~= "" then guiSetText ( GUIEditor.memo[1], text ) end end , false )
AboFaisal Posted May 5, 2013 Author Posted May 5, 2013 addEventHandler ( "onClientGUIClick", GUIEditor.button[1], function ( ) local text = guiGetText ( GUIEditor.edit[1] ) if text ~= "" then guiSetText ( GUIEditor.memo[1], text ) end end , false ) عناد مايشتغل ..
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