Properties that self close in code

L

Lloyd Sheen

I have a weird problem (or just something I don't like) in VS 2008. I have
properties that are collapsed with a blue border around them. If I hover
over them the code will expand or if I click into them it will expand (along
with outlining graphics). As soon as I click outside the property it
collapses again with the blue border.

Any ideas what this is and how I can get rid of it.

Thanks
Lloyd Sheen
 
C

Chris Dunaway

I have a weird problem (or just something I don't like) in VS 2008. I have
properties that are collapsed with a blue border around them. If I hover
over them the code will expand or if I click into them it will expand (along
with outlining graphics). As soon as I click outside the property it
collapses again with the blue border.

Any ideas what this is and how I can get rid of it.

Thanks
Lloyd Sheen

Without seeing it, it sounds as if your code is surrounded by a
Region ... End Region block. Can you confirm this?

Chris
 
L

Lloyd Sheen

Chris Dunaway said:
Without seeing it, it sounds as if your code is surrounded by a
Region ... End Region block. Can you confirm this?

Chris

Nope. That would be too simple. I have googled and seached docs but I can
see no mention of anything like this. I don't get it in my own programs. I
was getting it in some of the samples that came with VS 2008.

Thanks
LS
 
B

Bill McCarthy

This is an automatic feature of Refactor! for VB 2008. Unfortunately I'm
not aware of any way of turning it off.
 
L

Lloyd Sheen

Bill McCarthy said:
This is an automatic feature of Refactor! for VB 2008. Unfortunately I'm
not aware of any way of turning it off.

Thanks, just turned it off and away it went.

Thanks
LS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top