Remove checkbox/control from userform
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
- From: "zSplash" <zNOSPAMSplash@ gci.net>
- Date: Thu, 1 Jun 2006 13:27:10 -0800
How do I remove a checkbox that was created at design time from a user form?
The Help says:
This method (the Remove Method) deletes any control that was added at
run time. However, attempting to delete a control that was added at design
time will result in an error.
(I guess I can just move it farther down on the form, past the margins of
the userform, so it'll be hidden, but can't I somehow actually remove it??
Or, conversely, must I add all the checkboxes at run-time, if I want to
easily delete them? There are 10 checkboxes involved; I may need as few as
1.)
TIA
.
Relevant Pages
- Re: Setting Default Value On Windows Form
... and checkboxes can have default values, which are assigned in the properties ... for the control. ... The data that is in there at design time can be the default ... it will just overwrite the design-time values. ... (microsoft.public.dotnet.languages.vb) - Control Arrays in VBA Project
... I have some 30 checkboxes on a user form. ... Life would be much easier if a ... control had the "Index" property as in VB. ... (microsoft.public.project.vba) - RE: Dynamic Checkbox problem when added in render method &checked=true
... control and the other is a layers control. ... thus I can create the checkboxes to turn layers on and off. ... boxes the first time through because mobjTest is nothing. ... This will end up running the load event again. ... (microsoft.public.dotnet.framework.aspnet) - Re: Change Box Color on CheckBox Control
... but I am not trying to add a third state to the control. ... box on the control become gray, but still function normally in regards ... I wrote an application that uses 30 checkboxes to set the configuration ... (microsoft.public.vb.general.discussion) - RE: Unbound Checkboxes need to trigger event
... The event doesn't happen because the checkboxes aren't ... Every control has a tag. ... Now look for the option 'Tag'. ... an Option Group can only have one thing selected in it. ... (microsoft.public.access.formscoding) |
|