+Source|> Posted August 16, 2017 Share Posted August 16, 2017 انا مسوي ايديت بوكس ومسوي فيه كلام search = guiCreateEdit(15, 23, 195, 26, "== [ البــحــث / Search ] ==", false, wnd) كلمة البحث اريد لما يضغط على الايديت بوكس الكلمة تختفي عشان يكتب مكانها Link to comment
' A F . Posted August 16, 2017 Share Posted August 16, 2017 'onClientGUIFocus' guiSetText Link to comment
+Source|> Posted August 16, 2017 Author Share Posted August 16, 2017 27 minutes ago, Default said: 'onClientGUIFocus' guiSetText معرقت ممكن مثال Link to comment
' A F . Posted August 16, 2017 Share Posted August 16, 2017 حاول وتعرف , أضغط على الوظيفة وشوف المثال وبس ولو فيه اخطاء نصححها لك . Link to comment
+Source|> Posted August 16, 2017 Author Share Posted August 16, 2017 (edited) guiSetText( search, "== [ البــحــث / Search ] ==" ) addEventHandler("onClientGUIFocus", search, function () if source == search then guiSetText( search, "" ) end end ) شكرا لك ظبط ذا Edited August 16, 2017 by A7MEDENO Link to comment
' A F . Posted August 16, 2017 Share Posted August 16, 2017 العفو حيأك الله , بس خليه كذا عشان تختصر الكود addEventHandler("onClientGUIFocus", search,function () guiSetText( source , "" ) end,false) Link to comment
+Source|> Posted August 16, 2017 Author Share Posted August 16, 2017 Just now, Default said: العفو حيأك الله , بس خليه كذا عشان تختصر الكود addEventHandler("onClientGUIFocus", search,function () guiSetText( source , "" ) end,false) اوك 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