بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته
الحمدلله والصلاة والسلام على رسول الله وعلى آله وصحبه أجمعين
الكود الاول
واذا كان فيه كود جيد يرفق من فضلكم
السلام عليكم ورحمة الله وبركاته
الحمدلله والصلاة والسلام على رسول الله وعلى آله وصحبه أجمعين
الكود الاول
كود PHP:
sLookFor = Input.GetText(this);
sListBoxItem = ListBox.FindItem("ListBox1", -1, LB_BYTEXT, "*" .. sLookFor .. "*");
ListBox.SelectItem("ListBox1", sListBoxItem);
كود PHP:
if e_Key== 13 then
-- gets text string from Input Object
sLookFor = Input.GetText("Input1");
if sLookFor ~= "" then
-- finds string in List Box text column
for Ttext=1,ListBox.GetCount("ListBox1")do
textFind = ListBox.GetItemText("ListBox1", Ttext);
sListBoxItem = String.Find(textFind, sLookFor, 1, false);
if (sListBoxItem ~= -1) then
-- selects item in List Box
ListBox.SelectItem("ListBox1", Ttext);
Application.ExitScript();
else
if Ttext == ListBox.GetCount("ListBox1") then
Dialog.Message("ÊäÈíå", "ÇáÅÓã ÇáÐí ÃÏÎáÊå ÎÇØÆ");
end
end
end
end
end
واذا كان فيه كود جيد يرفق من فضلكم
تعليق