در این ساعت از سایت می پردازیم به کار با کتابخانه TextSetting
✨ نکات مهم:
• کد آماده و تستشده (1 قطعهکد)
• فایل ضمیمه (سورس/نمونه) همراه پست
🚀 نحوه استفاده:
فایل سورس را دانلود و در B4A باز کنید؛ مسیرها و تنظیمات را مطابق توضیحات بالا اعمال کنید و خروجی APK بگیرید.
📥 فایلهای ضمیمه:
• لینک rar (s3.picofile.com): http://s3.picofile.com/file/8285803192/TextHight.rar.html
| دستهبندی | سورس کد اندروید |
| تاریخ انتشار | ۲۷ شهریور ۱۴۰۵ - ۰۲:۳۸ |
| تعداد بازدید | ۳ |
| تعداد فروش | ۰ |
| فرمت تحویل | فایل دانلودی (بعد از پرداخت آنی فعال میشود) |
| پشتیبانی | تیکت پشتیبانی در پنل کاربری |
ویژگیهای کلیدی
- سورس کد آماده B4A
- کاملاً رایگان
- کد تستشده با توضیح فارسی
- فایل ضمیمه همراه مطلب
هنوز نظری ثبت نشده است. اولین نفر باشید!
برای ثبت نظر وارد شوید. (ثبت نظر پس از خرید فعال میشود)
#Region Project Attributes
#ApplicationLabel: B4A Example
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
#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 t As TextSetting
Dim l As Label
Dim F As Int
Private Button1 As Button
Private Label1 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("1")
t.Initialize
'l.Initialize("l")
ScrollView1.Panel.LoadLayout("2")
'l.Text="111111111111112222222222222222223333333333333333333333333323333444444445555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555"
Label1.Text="111111111111112222222222222222223333333333333333333333333323333444444445555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555"
'ScrollView1.Panel.AddView(l,0+10dip,0,100%x-200dip,100%y)
Label1.TextSize=20
F=20
Start
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub Start
t.LongText(Label1,Label1.Text,F,ScrollView1,1.5)
' l.Color=Colors.Transparent
ScrollView1.Color=Colors.Transparent
' l.TextColor=Colors.Green
End Sub
Sub Button1_Click
F=F+5
Start
End Sub