B4X FEED B4X Combo Box - And Standard Spinner Color change flaky

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

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: B4X Combo Box - And Standard Spinner Color change flaky است. این موضوع تا کنون 82 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع B4X Combo Box - And Standard Spinner Color change flaky
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
82
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,576
4,481
Hi,

I wish to change a B4XComboBox text color from black to red to indicate to the user that the field has been changed by the user.

I do this by responding to the _SelectedIndexChanged event, However if I change the field once the changed is picked up by the listener and the _SelectedIndexChanged is called, however the color doesn't change. If I make another change to the combo selection the change calls the _SelectedIndexChanged and the color DOES change.

I thought maybe it had something to do with asynch events, but putting in sleep(0)'s didn't fix the problem.

I have attached simple example that exhibits this behaviour for both the B4X Combo and standard.

I guess the B4X box is a wrapper around the standard spinner so I think the problem is with the spinner

Main Program:

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


 

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