Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically created checkboxes - how to make graphical? 1

Status
Not open for further replies.

HotMadras

Programmer
Apr 20, 2001
74
GB
I've created a form which is populated with checkboxes at run time. I don't want them to be ordinary checkboxes, but rather the graphical ones that look like commandbuttons, however I can't set the .style property. For some reason I can create the object at run time, I can place it wherever I want, but I can't make it a graphical checkbox. Can anyone tell me what I can do to sort this out?

Thanks
 
The checkbox style property is read-only and can only be set at design-time. You may want to consider using the toggle button component. This component can be found by adding the "Microsoft Forms 2.0 Compenent Library" to your project.


Reidfl "Keep Your Code Tight"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top