Go Back  Xtreme Visual Basic Talk > General Discussion > Tech Discussions > Delete key problem...?


Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2004, 04:48 PM
MasterBodger MasterBodger is offline
Newcomer
 
Join Date: Dec 2003
Posts: 21
Red face 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.
Reply With Quote
  #2  
Old 03-14-2004, 08:06 PM
passel's Avatar
passel passel is offline
Sinecure Expert

Super Moderator
* Guru *
 
Join Date: Jun 2003
Location: Upstate New York, usa
Posts: 7,714
Default

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.
Reply With Quote
  #3  
Old 03-15-2004, 01:06 AM
MasterBodger MasterBodger is offline
Newcomer
 
Join Date: Dec 2003
Posts: 21
Default

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
Reply With Quote
  #4  
Old 03-15-2004, 08:16 AM
passel's Avatar
passel passel is offline
Sinecure Expert

Super Moderator
* Guru *
 
Join Date: Jun 2003
Location: Upstate New York, usa
Posts: 7,714
Default

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.
Reply With Quote
  #5  
Old 03-15-2004, 11:04 AM
Ales Zigon's Avatar
Ales Zigon Ales Zigon is offline
Dead dog's ghost

Forum Leader
* Expert *
 
Join Date: Feb 2001
Location: Celje, Slovenia, Europe
Posts: 2,601
Default

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...
Reply With Quote
  #6  
Old 03-15-2004, 11:43 AM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 18,887
Default

I have the same problem only when: running on XP and having a XP manifest file for the VB6.exe
Reply With Quote
  #7  
Old 03-15-2004, 11:56 AM
MasterBodger MasterBodger is offline
Newcomer
 
Join Date: Dec 2003
Posts: 21
Arrow

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete Problem mosh111 Database and Reporting 5 10-02-2003 06:19 AM
ADO Recorset Problem coco286 Database and Reporting 1 09-28-2003 09:08 PM
Problem getting access database to delete record correctly DirtySanchez Database and Reporting 1 02-14-2003 07:42 PM
Compiling Problem kcrots General 11 07-03-2002 08:27 AM
A problem for the Guru programmers cballe General 3 06-26-2002 09:55 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->