 |

03-14-2004, 04:48 PM
|
|
Newcomer
|
|
Join Date: Dec 2003
Posts: 21
|
|
Delete key problem...?
|
Hi all,
Just wondering why when I press my delete key in vb6 (when an object is selected), just caption/text is the only thing which is deleted - not the object itself.
If this is uncommon, I'll reinstall but i'd rather know if it isn't uncommon and a method which is much more easy.
Thanks
MB
|
__________________
MasterBodger
Last edited by MasterBodger; 03-14-2004 at 05:06 PM.
|

03-14-2004, 08:06 PM
|
 |
Sinecure Expert
Super Moderator * Guru *
|
|
Join Date: Jun 2003
Location: Upstate New York, usa
Posts: 7,714
|
|
|
Are you sure just the control is selected (did you click on it, just before hitting delete)? The VB IDE can show the object as selected (the titlebar is active, and you have sizing squares around the object), and have the property box selected (title bar active and current property hightlighted) at the same time. So when you hit delete, it applies to the property box, not the object.
(Of course you could always just right click on the object and select delete from the popup menu as well.)
|
__________________
There Is An Island Of Opportunity In The Middle of Every Difficulty.
Miss That, Though, And You're Pretty Much Doomed.
|

03-15-2004, 01:06 AM
|
|
Newcomer
|
|
Join Date: Dec 2003
Posts: 21
|
|
Quote:
|
Originally Posted by passel
Are you sure just the control is selected (did you click on it, just before hitting delete)? The VB IDE can show the object as selected (the titlebar is active, and you have sizing squares around the object), and have the property box selected (title bar active and current property hightlighted) at the same time. So when you hit delete, it applies to the property box, not the object.
(Of course you could always just right click on the object and select delete from the popup menu as well.)
|
No, the properties window isn't active when the object isn't selected. Once an object is selected and delete is pressed - the properties window becomes active and whatever property is highlighted is deleted - not the object itself.
|
__________________
MasterBodger
|

03-15-2004, 08:16 AM
|
 |
Sinecure Expert
Super Moderator * Guru *
|
|
Join Date: Jun 2003
Location: Upstate New York, usa
Posts: 7,714
|
|
|
Well, I don't know. I don't see an option in the Options dialogs that would cause this behaviour. If I click on an control and then hit the delete key, the control is deleted.
|
__________________
There Is An Island Of Opportunity In The Middle of Every Difficulty.
Miss That, Though, And You're Pretty Much Doomed.
|

03-15-2004, 11:04 AM
|
 |
Dead dog's ghost
Forum Leader * Expert *
|
|
Join Date: Feb 2001
Location: Celje, Slovenia, Europe
Posts: 2,601
|
|
|
Funny, but it's the same thing here (not for long, just after I've installed XP SP1 - I guess). And it's quite annoying too...
|
__________________
Yes, MSDN comes with VB! Yes, you must have at least 25 post to have an avatar! No, you cant write your OS in VB! and NO, YOU CAN NOT DECOMPILE IT!
I'm sure there are things that are more important than me - I just can't thing of any...
|

03-15-2004, 11:43 AM
|
 |
Lost Soul
Super Moderator * Guru *
|
|
Join Date: May 2001
Location: Vorlon
Posts: 18,887
|
|
|
I have the same problem only when: running on XP and having a XP manifest file for the VB6.exe
|
|

03-15-2004, 11:56 AM
|
|
Newcomer
|
|
Join Date: Dec 2003
Posts: 21
|
|
Quote:
|
Originally Posted by Ales Zigon
Funny, but it's the same thing here (not for long, just after I've installed XP SP1 - I guess). And it's quite annoying too...
|
Strange thing is, i've not even installed SP1 - worked once day, not the next.
|
__________________
MasterBodger
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|