0

How to connect the option/radio button to listview control using ADODB connection?
That is,right after when you click a radio button as the letter of your choice..then it will automatically shown to the the listview control as the answer sheet..for the respective question..and numbering..? Using the VB 6.0..

Example:
1. What is the color of Ramon's red coat? <Answer Sheet>---- Listview1
a)blue b)red c)yellow d)rainbow -------> 1. a)blue
.
.
option button


I really don't have an idea how am i gonna do it! ..I don't know how to construct the code..

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by ChrisPadgham
-1

I don't think a listview control is what you want. I think it would look more like a normal question screen if you had an array of radio buttons. On your form, place one radio button, then copy and paste it, VB will ask if you want to create a control array, answer yes. then keep pasting until you have the desired number of radio buttons.

When you retrieve a record from the database populate the captions of the radio buttons.

Place some code under the click event of the control array to check if the user has selected the correct answer

This topic has been dead for over six months. 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.