0

Hello

I have a problem that is as follows.

One list box with 30 perons in it and I have command(index) from a - z
when I dblclick on a name it fill all the textboxes good
but I will have it like when I dblclick on a name in the listbox
say Smith Leon then I will have the responding
letter from the command(index)

Thanks for help

3
Contributors
4
Replies
22
Views
4 Years
Discussion Span
Last Post by LeNenne
0

command(index) from A - Z
30 persons with different Lastname
I will if I press in list box
say Smith then the corresponding command(index).caption = vbred

0

There isno easy way or no way to change the forecolor of a command button. Workaround is easy. Instead of using a command button use a checkbox. This has the same properties as a command button but also a forecolor property.
What you do is set the property style to graphical. The checkbox looks like command button after and you can set the forecolor

Check1.ForeColor = vbRed
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.