B4X FEED B4XFloatTextField cannot change fields parameters when field is used in custom view class

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

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: B4XFloatTextField cannot change fields parameters when field is used in custom view class است. این موضوع تا کنون 98 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع B4XFloatTextField cannot change fields parameters when field is used in custom view class
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
98
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,576
4,480
Hi,

I am making a revised B4XFloatTextField called tfeCustom. I have done the following:

  1. Created a layout (tfeCVLayout.bal) with a B4XFloatTextField called tfe and a toolbar of images for clear, back, forward, format title (proper, lowercase, uppercase, camel and SQLite SQL format
  2. Load the layout in my tfe class
  3. Created a test activity (Layout.Bal) that includes and instance of my new tfe class
  4. Modify parameters of the toolbar and tfe based on user input in the designer for Layout.Bal
The toolbar parameters get updated, but the tfe parameters (Hint Text, Hint Colors etc) do not update on the screen although even though they are being changed when you examine them in the debugger they are not getting

I tried;
B4X:

mBase.Invalidate
but it doesn't fix the problem.

Here is the code:

tfe Class Initialization and Parameter code:

کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید


 

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