رفتن به مطلب

mrm

کاربر عادی
  • تعداد ارسال ها

    6
  • تاریخ عضویت

  • آخرین بازدید

درباره mrm

  • تاریخ تولد ۳ اسفند ۱۳۷۹

مشخصات پروفایل

  • محل زندگی
    tehran
  • محل تولد
    tehran
  • علاقه مندی ها
    programming

دستاورد های mrm

تازه کار

تازه کار (2/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

نشان‌های اخیر

0

اعتبار در سایت

  1. اون که میگید دوبار لود کردم یدونش کامنته اما مشکلم اینه که در اخر باید از دیتابیس متن رو بیاره و تو LAYOUT نمایش بده اما اینکار صورت نمیگیره و SCROLL VIEW خالی نمایش میده امیدوارم درست رسونده باشم
  2. #Region Activity Attributes #FullScreen: False #IncludeTitle: True #End Region Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. End Sub Sub Globals 'These global variables will be redeclared each time the activity is created. 'These variables can only be accessed from this module. Private scrollview1 As ScrollView Dim fara As Farakhani Dim ts As TextSetting Dim SQL1 As SQL Dim cursor1 As Cursor Dim lbl As Label End Sub Sub Activity_Create(FirstTime As Boolean) 'Do not forget to load the layout file created with the visual designer For example: 'Activity.LoadLayout("Layout1") Activity.LoadLayout("chist") lbl.Initialize("") fara.FarakhaniMatn("database.db",SQL1,cursor1,"SELECT * FROM pre where id=","1",lbl,"text") ts.Initialize scrollview1.Panel.AddView(lbl,100,100,90%x,90%y) ts.LongText(lbl,lbl.text,50,scrollview1,30) End Sub Sub Activity_Resume End Sub Sub Activity_Pause (UserClosed As Boolean) End Sub
  3. میشه بگید مشکل مال من کجاست؟ خالی نشون میده ضمنا دیتابیس رو هم چک کردم اسمش با اسمای داخل کدم یکسانه و اشتباه تایپی نداره #Region Activity Attributes #FullScreen: False #IncludeTitle: True #End Region Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. End Sub Sub Globals 'These global variables will be redeclared each time the activity is created. 'These variables can only be accessed from this module. Private scrollview1 As ScrollView Dim fara As Farakhani Dim ts As TextSetting Dim SQL1 As SQL Dim cursor1 As Cursor Dim lbl As Label End Sub Sub Activity_Create(FirstTime As Boolean) 'Do not forget to load the layout file created with the visual designer For example: 'Activity.LoadLayout("Layout1") Activity.LoadLayout("chist") lbl.Initialize("") fara.FarakhaniMatn("database.db",SQL1,cursor1,"SELECT * FROM pre where id=","1",lbl,"text") ts.Initialize scrollview1.Panel.AddView(lbl,100,100,90%x,90%y) ts.LongText(lbl,"lbl.text",50,scrollview1,30) End Sub Sub Activity_Resume End Sub Sub Activity_Pause (UserClosed As Boolean) End Sub
×
×
  • اضافه کردن...