PDA

Click to See Complete Forum and Search --> : VB - An ActiveX control which supplies a pair of Yes/No Option Buttons


MartinLiss
Feb 18th, 2003, 01:20 PM
I had occasion to write an application where a large number of Yes/No questions needed to be answered by the user. To make the coding for that project easier I wrote this little ActiveX control which is a pair of Option Buttons labeled Yes and No. I added the following four properties:

OptNoEnabled - Enable or disable the "No" choice
OptNoValue - Set the "No" value
OptYesEnabled - Enable or disable the "Yes" choice
OptYesValue - Set the "Yes" value

The code for the control is included in the zip file.