B4X FEED Programmatically change Designer script (for a ScrollView Control)

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Programmatically change Designer script (for a ScrollView Control) است. این موضوع تا کنون 59 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Programmatically change Designer script (for a ScrollView Control)
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
59
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,576
4,481
Hi All,

In my designer script I have this line which works very well for one layout:
B4X:

ScrollView1.SetTopAndBottom(lblTitle.Bottom+10dip,pnlForCPBar.Top-10dip)
But in my application, at some stage, I need the scrollview control to increase in size (height) and have its 'bottom' to the 'top-10dip' of another label control beneath it after I make the pnlForCPBar.Visible=False. I basically want to re-capture the void space.

Does anyone know how I can do this within the code? I don't really want to use the scrollview.height property as I cannot be sure if its changed height will overlap the same label control beneath it.

Thanks

 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا