|
-
October 6th, 1999, 09:07 AM
#1
Unloading controls in combo-click event
Does anyone know why it's impossible to unload controls (an array of labels and textboxes) in the combo box click event and why it does work in a list-click? Combo style is set to 1, which is basically a textbox with a listbox below, but i'm not allowed to unload my labels in that event while it works perfectly in the list-click event. Anyone has a smart answer? Or is this just M$ logical thinking and shouldn't I think too much about it :-)
Crazy D @ Work :-)
-
October 6th, 1999, 09:27 AM
#2
Re: Unloading controls in combo-click event
this is even documented:
"In some situations you are not allowed to unload a form or a control on a form.
...
There is an Unload statement in the Change, Click, or DropDown events of a ComboBox.
Remove the Unload statement from the event"
just hit HELP when the error pops up (error 365).
Thus, it's by design :-)
-
October 6th, 1999, 09:33 AM
#3
Re: Unloading controls in combo-click event
*S* I know the F1 key :-)
But what kind of loser has designed that...
Ah well, the listbox works fine :-)
(but still it's stupid... *S*)
Crazy D @ Work :-)
-
October 6th, 1999, 09:37 AM
#4
Re: Unloading controls in combo-click event
Everything will be better in VB 7!
"I feel much better, now that I've given up hope" (Ashley Brilliant)
:-)
-
October 6th, 1999, 09:41 AM
#5
Re: Unloading controls in combo-click event
I may say you're a dreamer, but you are not the only one.
Maybe some day VB will be bugless... and let the world program happily...
*L*
ah well maybe I'm just not so optimistic, but somehow, I think that M$ adds lots of functionality to VB7.. forgetting they have still a huge buglist for 6... hehe oh no, it's not a bug, it'a not working, but that's by design...
Crazy D @ Work :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|