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
ADVERTISEMENT
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
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
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
Jun 9, 2011
how to collapse a part of code in vb.net?
View 4 Replies
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
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
Dec 13, 2009
I add expanders and collpase in Listview groupadil
View 2 Replies
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
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
Nov 8, 2010
How to set table not to collapse when i make the size of browser smaller ! in vb.net
View 2 Replies
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
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
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
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
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
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
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
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
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
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
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
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
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
Apr 25, 2009
I'm throwing errors when I call this function before running my calculations:
Function CalcValidation() As Boolean
' Didn't want to leave something out, so I needed a validation to ensure that a selection
' had been made for each component.
[code]....
View 1 Replies
May 10, 2009
I'm trying to learn how to use procedures?
Public Function mgboc(ByVal mboc1 As String, ByVal mboc2 As String) As String
Return mboc1, mboc2
End Function
But it doesnt work. I want it to "return" the parameters, but it won't even compile.
View 2 Replies
Jan 12, 2010
Why we use CLR procedures. Is there any significance of CLR Procedures or any example where CLR Procedure is the only solution?
View 4 Replies
Jan 9, 2010
I have a contextmenustrip. I want to create many groups items in that contextmenu. I mean Line which separate each groups. I can do that in Dotnetbar. but with contextmenu in win form I cant.
View 2 Replies
Apr 15, 2012
I have a string of hexadecimal numbers that is generated by the program which I created.
B 53 D0 A1 58 3 DA AF E2 15 9E E 68 F0 65
Given by:
HexText = HexText & " " 'the space makes the characters separated into groups
I want the single characters "B" and "E" would both have 0's before them so that the text is all in groups of twos. How can this be done?
0B 53 D0 A1 58 3 DA AF E2 15 9E 0E 68 F0 65
instead of:
B 53 D0 A1 58 3 DA AF E2 15 9E E 68 F0 65
I was thinking I might be able to do a for Loop and go through the text and if it's a single character add a 0 before but don't understand the exact syntax behind it:
For i = 1 to Len(HexText.Text)
'If a character in a group of two of the string is not equal to a hexadecimal number, make that character equal to 0.
Next
View 4 Replies
Mar 16, 2012
I would like to get the first N groups elements with Linq of a ObservableCollection, an example trying to get the first 2 groups:
Data example:
GROUP1 item1
GROUP1 item2
GROUP1 item3
GROUP2 item1
[code]....
View 5 Replies