For my project I am using this component
The advsmoothlistbox is very interessting and nice for what I need to do.
But I am having some trouble to reach what I want to do. Well, let me explain
so you can understand and help me.
This project is for students
I have a small text and 10 questions. My task is a routine for each question that has 4 options where only one will be chosen, only one is the suitable answer.
On a form I have a scrollbox where I create in run time 10 advsmoothlistbox, each advsmoothlistbox has a header where is the question and 4 itens where of them is the correct. The component has this option for header and itens.
The student will choose one item and click on, when it is done that, the component turn on the item selected.
After having all itens of each advsmoothlistbox selected, I want to correct the selection.
If the student selected the correct alternative, the item must be in blue color to show him that its answer was right.
If the answer is not right, the correct answer must be displayed in blue color and its answer must be in red color.
My difficult is being how to manipulate the color, so I need an example to do that. I think that all the code must be in onItemDraw. But you can tell me if there is the suitable place to do.
Well, a small example with the component advsmoothlistbox that you can download it to try is very welcome, so this way I can see how to reach the goal and inplamentate my code.