اینو بزار تو استارت آپ :
اینو بزار تو on preload :کد:-- Create a table from the text file tblFacts = TextFile.ReadToTable("AutoPlay\\Docs\\Document.txt"); -- Set the paragraph to disply a line of text from the table if tblFacts~=nil and tblFacts[1]~="" then LineFact = 1; EndLine = #tblFacts end
اینو بزار تو on timer :کد:if LineFact == 0 then LineFact = EndLine; Paragraph.SetText("Paragraph1", tblFacts[LineFact]); LineFact = 0; else Paragraph.SetText("Paragraph1", tblFacts[LineFact]); Page.StartTimer(2000); end
به اسم اشیاء دقت کن که عوض شدکد:-- First make it go to the next line of text LineFact = LineFact + 1; -- then we update the paragraph to display the new line of text Paragraph.SetText("Paragraph1", tblFacts[LineFact]); -- When we have displayed the last line of text we want to start over if LineFact == EndLine then LineFact = 0; end
---------------------------------------------------
این بابت اون قولی که داده بودم
آقا محسن خواهشا دیگه بصورت کلی و پروژه ای نپرس . خوب خودت رو پروژه کار نمیکنی ، اما ...
اول آموزش ها رو نگاه کن
بعد خودت رو پروژه کار کن و اگه یه جایی توی الگوریتم کدی مشکل داشتی ، بگو مثلا این تیکه ی فلان کد و این چند خط کد (که میزاری) چجوری هه؟ البته بعد از دیدن آموزش
نه اینکه کل کد و یا پروژه رو بگی چجوری هه .
نه تنها تو ، بلکه هر کس بصورت کلی یا پروژه ای بپرسه ، دیگه جواب نمیدم چون وقتی برای آدم نمیمونه و ...
Bookmarks