2020-08-12 05:26 AM
Hello Community, @Community member @Martin KJELDSEN
I have used STM32F746G-DISCO kit.
My Purpose is to implement the Alert Screen.(See Image 1)
Also i have create the custom container.(See Image 2)
I have received the data from modbus.
As, i received the Alert bit i need to display on the Alert Page.
Case:
Suppose i have received the 10 error.
I display it on device but when Alert number is reduced to 10 to 5.
Then i need to remove the 5 items from the display.
Can you please guide me how to remove previous error?
Regards,
Nikunj Patel
Solved! Go to Solution.
2020-08-13 05:46 AM
Hi @Alexandre RENOUX
Thanks for reply.
Actually, I used ListLayout with Scrollable Menu Widget.
In my Alert screen, Maximum 7 list element are stored.
When list element is increase more then 7, then scrollable menu is automatically enable.
In my Application, i need to add or remove the element dynamically on received request. (Like Alert Number).
So, My problem was that i am not able to remove the list element when when Number of list element is 7 (Maximum 7 list element display on screen).
Now, thanks to god, I am able to resolve the issue.
Actually, I am forgot to implement (Scrollablemenu.invalidate();).
Regards,
Nikunj Patel
2020-08-13 02:03 AM
Hello,
I don't really understand your problem. Don't you use already the remove() API of the ListLayout ?
Could specify more what you are struggling with ?
/Alexandre
2020-08-13 05:46 AM
Hi @Alexandre RENOUX
Thanks for reply.
Actually, I used ListLayout with Scrollable Menu Widget.
In my Alert screen, Maximum 7 list element are stored.
When list element is increase more then 7, then scrollable menu is automatically enable.
In my Application, i need to add or remove the element dynamically on received request. (Like Alert Number).
So, My problem was that i am not able to remove the list element when when Number of list element is 7 (Maximum 7 list element display on screen).
Now, thanks to god, I am able to resolve the issue.
Actually, I am forgot to implement (Scrollablemenu.invalidate();).
Regards,
Nikunj Patel