IDE - Expand / Collapse Icons Disappear When Comment Out On Subs

Dec 22, 2009

When I comment out a particular Sub in my program the expand/collapse icon (+/-) disappears? I want to comment out a subroutine in my program & collapse it down to one line, but the +/- goes away when I do. It only happens on that one sub. When I comment out any other sub the "-" is there so I can collapse it.

View 5 Replies


ADVERTISEMENT

Expand And Collapse Listview Group?

Dec 13, 2009

I add expanders and collpase in Listview groupadil

View 2 Replies

VS 2008 - PropertyGrid Expand / Collapse Particular Category

Apr 17, 2009

I am using VB.NET 2008. I am using propertygrid and have added a few elements. I have 3-4 categories and wanted to know how can I expand/collapse a particular category thru code. I did find a code on net but it didn't work.

View 10 Replies

VS 2010 - Collapse / Expand Grouping Text

Oct 31, 2010

I was searching for a solution to collapse/expand text like you do in the VS-IDE. I want to have that in a TextBox (multiline) or in a RichTextBox.

View 2 Replies

Custom Treeview Draw Bug On Mouseover Collapse/expand Glyph?

Dec 9, 2011

I'm overiding the node draw event for a treeview in draw all mode such as the code below.

Protected Overrides Sub OnDrawNode(ByVal e As System.Windows.Forms.DrawTreeNodeEventArgs)
Try

[Code]....

Clearing the graphics object on draw before drawing node Setting background rectangle and drawing the node just like when selected

View 1 Replies

VS 2008 - Checkbox On Treeview - Collapse And Expand Treeview When Click Plus Sign (+) On Treeview

May 14, 2011

I have a problems with my application..

1. collapse and expand treeview when i click plus sign (+) on treeview, treeview didn't expand subfolder but when i click image, treeview expand it.

2. showing path that i check on treeview when i check the treeview then i'm click the button, then return path that i check

This is my code..

View 2 Replies

Collapse Treeview - Collapse My Tree Then My Last Viewed Document In The Web Browser Remains Visibe

Aug 3, 2010

When I select a node in my treeview I have no problem seeing them in my web browser.

My problem is that when I try to collapse my tree then my last viewed document in the web browser remains visibe.

How can I ensure that when I collapse my tree my web browser will also become totallt empty?

View 1 Replies

PictureBox : Expand It But Not Expand Past Buttons At The Bottom Of The Screen?

Feb 17, 2011

I have a picturebox that I am importing an image to. I need it to expand but not expand past my buttons at the bottom of the screen. When I import the image it takes up the whole screen and covers up my buttons.

View 9 Replies

.net - Windows Shell API For Status Icons Beside File Icons

Feb 13, 2011

TortoiseSVN and Dropbox both have Windows shell extensions that make file icons within Windows Explorer show a small icon beside the main one, showing the file's status - has it been synced, etc How can I make my application show icons beside files like that using the Windows API? Or is there some file attribute to do that?

View 1 Replies

Calling Private Subs In Another Private Subs?

Jun 15, 2009

I'm trying to call a private sub in another private sub. For example ;

[Code]....

View 13 Replies

VS 2010 Add Subs / Functions To Subs / Functions?

Oct 26, 2009

When you refrence a Function like this one:[code]You may want to be able to get more out of that, like this.[code]So how would I be able to add subs or functions onto a sub or function like that?

View 4 Replies

Make A Form With Icons That Have Labels Are Like Desktop Icons On Your Desktop?

Mar 20, 2010

I would like to make a image in the form representing the icon and a label below it to represent name but is there a easy way to do this.

View 2 Replies

Get Menus To Collapse?

Aug 29, 2009

The situation is that I have a menu strip on the form from which the user can select an item, which opens a sub-menu, which opens another sub-menu which contains a combo box listing some options.

Eg. File>Project>Load>combo-box control

When the item is selected in the combo box, the code executes and modifies values on the same form, but the menu system does not collapse by itself.

I have to click on the form and then the menu system collapses.

I tried setting the focus to the form, but that does not collapse the menu system.

Does anyone know how to get the menus to collapse automatically?

View 3 Replies

Collapse Code Within Method?

Oct 5, 2009

I've bee working on a project for quite some time now, and I get tired of scrolling all the way to where I am going to implement new code. I use #Region a lot, but this does not help me within methods, so what I'm wondering is, is there any way to collapse text within methods, or do I have to keep scrolling?

View 8 Replies

Collapse Groups Of Procedures?

Dec 29, 2011

I have a block of related sub routines I would like to "group" together within class to make navigating a littel easier. When I say group, I mean achieve the same functionality of being able collapse and expand a block of code as would with single procedure or class. Two alternative ways I can think to accomplish this is either use a partial class for those procedures or use namespace. I just wanted to see if VS for VB.Net had another way to be able group and collapse blocks of procedures.

View 3 Replies

How To Collapse Part Of Code In .net

Jun 9, 2011

how to collapse a part of code in vb.net?

View 4 Replies

IDE :: Collapse All Top-level Regions?

Jun 23, 2010

I know i can collapse all regions with Ctrl+M, Ctrl+O - but that also collapses all of the subs/functions/properties etc within the #Region.if it collapsed all of the sub regions too - just not the subs etc.Is there a way to collapse all top level regions only? Maybe an extension?

View 1 Replies

Collapse Both Split Container Panels?

Jan 19, 2012

is it possible to collapse both split container panels? the idea is that by collapsing both panels of one container, my textbox which is outwith the split containers can give the impression of being "maximised" in the form.

View 2 Replies

MenuStrip - Collapse With Submenus - Width

Dec 24, 2011

I have a MenuStrip on my form. I have a couple of questions:

1. If I click on a menu item that has its own submenu, the menu will not collapse. I want the whole MenuStrip to collapse when I click on any item regardless if the item has its own submenu. How can I do this?

2. Is it possible to set the width of a MenuStrip less than the forms's width and have it docked in top-left corner? I would like to have a MenuStrip and a ToolStrip side-by-side along the top of the form.

View 8 Replies

Searching Treeview-text And Collapse

Jul 1, 2011

I have searched a long time on the internet and found something, but it isn't working proper.[code]When I expand the treeview manually, it does highlight the node, but it doesn't expand automatically.

View 27 Replies

Set Table Not To Collapse When Minimize Browser

Nov 8, 2010

How to set table not to collapse when i make the size of browser smaller ! in vb.net

View 2 Replies

Treenode Duplicate When Expanded From Collapse

Jul 1, 2010

Items in the child node seem to replicate themselves everytime when expanded from a collapsed state. I think the problem is that the memory needs to be cleared before I expand.[code]...

View 1 Replies

Collapse All Blank TextBoxes And Expanders In A StackPanel?

Jan 23, 2012

I'm new to WPF and a beginner to VB.NET. I try to teach myself and I only post on forums when I've tried and searched threads and come up empty.I'm pretty sure I need to use a For Each loop, and I can do this when moving/deleting etc. files in a directory, but not for going through controls. I can do it "easily" with an If Then statement

View 2 Replies

Collapse All The Procedure Pressing The Minus Icon?

Feb 23, 2010

i am trying to collapse all the procedure (pressing the minus icon). is there away to perform collapse all?

View 3 Replies

Collapse Panel Or Group Box In A Windows Form?

Sep 29, 2011

May I know how can I collapse panel or group box in a windows form? I just want to put my datagridview in the panel or group box and collapse the panel..

View 2 Replies

IDE :: Collapse Multiple definitions For Organizational Purposes?

Jul 19, 2009

is it possible to collapse multiple definitions for organizational purposes.Here is an example, I have multiple Subs like below:

Private Sub B24B_Click ...

Private Sub B24H_Click ...

Private Sub B25M_Click ...

View 3 Replies

VS 2008 Collapse Code Tree View?

Apr 27, 2011

I know you can select and ctl m + m but is there an easier way or something in options to keep it from expanding?

This happens once in a while and it takes forever to select (highlight) all my code.

View 1 Replies

VS 2008 Expanding/Collapse Gridview Rows?

Mar 15, 2011

How can i create a GridView that will expand and collapse nested(child) rows based on serial number. +1100,+1200,+1300,+1400 when i click on +1100 sign all the rows 1101,1102,1103.....,1199 should be expanded,when i click sign "-"(minus) the group should collapse.

View 1 Replies

[2008] Code Collapse Procedure Or Function?

Jan 25, 2009

know in 2008 if you have procedures or functions. that there's a little "-" or "+" that lets you expand and collapse that procedure or function? I was wondering if anyone knew how to create a section so I could collapse it within the procedure? The only way I know it will do it between functions or procedures and things like that but not within the procedure.

[Code]...

View 6 Replies

Bizarre Project Collapse - Can't Edit Or Add Anything Without Compile Error

Apr 20, 2012

I have been developing a Visual Basic 2010 .NET GUI based control application that has been growing over the last six months into quite an albatross. Suddenly, I have reached a brick wall where I cannot even edit a text label in the GUI without the following exception at compile time (debug) :

InvalidOperation Exception was unhandled

An error occurred creating the form. See Exception.InnerException for details. The error is: Index and count must refer to a location within the string.

Parameter name: count

This is entirely code independent - it happens if I simply drag a new control onto the GUI without even any code behind it - Once it happens the project is hosed - even if I undo or remove what I did.I have reinstalled VB from scratch on a new computer, and same problem. I am using Windows 7 and this happens with VB Express, Even with a trial version of Visual Studio Ultimate. I am completely stuck.

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved