473,396 Members | 1,833 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Navigating the code

Can anyone tell me if there is a quick way to move around in the code to do
this?

1) I am in a function block and want to jump to the top of that section of
code without having to pick the mouse up, move to the scroll bar and scroll
up all the while looking very closely to make sure I don't leave the current
block.

To clarify: If I had the following code:

if ( mycode == yourcode )
{ <-- It would move me to here (1)
if ( hiscode == hercode )
{
if (theircode == thatcode )
{

}
}
} <-- if I am here (1)
Nov 22 '05 #1
3 1275
Hi,

Try Ctrl+}
This will cycle between the starting and ending blocks.

HTH,
Rakesh Rajan

"glenn" wrote:
Can anyone tell me if there is a quick way to move around in the code to do
this?

1) I am in a function block and want to jump to the top of that section of
code without having to pick the mouse up, move to the scroll bar and scroll
up all the while looking very closely to make sure I don't leave the current
block.

To clarify: If I had the following code:

if ( mycode == yourcode )
{ <-- It would move me to here (1)
if ( hiscode == hercode )
{
if (theircode == thatcode )
{

}
}
} <-- if I am here (1)

Nov 22 '05 #2
You have made my night. Thanks!!!

cybercrypt
"Rakesh Rajan" <Ra*********@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
Hi,

Try Ctrl+}
This will cycle between the starting and ending blocks.

HTH,
Rakesh Rajan

"glenn" wrote:
Can anyone tell me if there is a quick way to move around in the code to do this?

1) I am in a function block and want to jump to the top of that section of code without having to pick the mouse up, move to the scroll bar and scroll up all the while looking very closely to make sure I don't leave the current block.

To clarify: If I had the following code:

if ( mycode == yourcode )
{ <-- It would move me to here (1)
if ( hiscode == hercode )
{
if (theircode == thatcode )
{

}
}
} <-- if I am here (1)

Nov 22 '05 #3
Glad to have been of help! :)

Regards,
Rakesh Rajan

"glenn" wrote:
You have made my night. Thanks!!!

cybercrypt
"Rakesh Rajan" <Ra*********@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
Hi,

Try Ctrl+}
This will cycle between the starting and ending blocks.

HTH,
Rakesh Rajan

"glenn" wrote:
Can anyone tell me if there is a quick way to move around in the code to do this?

1) I am in a function block and want to jump to the top of that section of code without having to pick the mouse up, move to the scroll bar and scroll up all the while looking very closely to make sure I don't leave the current block.

To clarify: If I had the following code:

if ( mycode == yourcode )
{ <-- It would move me to here (1)
if ( hiscode == hercode )
{
if (theircode == thatcode )
{

}
}
} <-- if I am here (1)


Nov 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Danny J. Lesandrini | last post by:
The following code works with a standard MDB to navigate to a particluar record (with a DAO recordset, of course) but it's giving me problems in an ADP I'm working on. Dim rs As ADODB.Recordset...
2
by: Daveyman | last post by:
Hi, I'm having a problem navigating to/from a subweb using forms authentication. The setup in IIS is as follows: TestSite +----SecureDir +----ReportsSubWeb In VS.Net 2003 this has been...
5
by: Roy Lawson | last post by:
I am having no problems connecting to a DB, creating a DataAdapter, and creating a dataset...and connecting to the data. Using the builtin data objects to do all this. My only problem now is...
1
by: ABC | last post by:
Can I find out when the user is navigating to another page? or What events will be call if the page is change to another page? I want to call clear session variables when user is navigating to...
7
by: hiriumi | last post by:
Hello folks, I have a web application that has basic authentication turned on (IIS). What I would like to accomplish is detect whether user is navigating away from the site or simply going to the...
16
by: Rex | last post by:
Hi All - I have a question that I think MIGHT be of interest to a number of us developers. I am somewhat new to VIsual Studio 2005 but not new to VB. I am looking for ideas about quick and...
0
by: tanaji | last post by:
I am writing a web application. In that application I have to need reading data from server during each refresh by using sql query. Refresh time is 10 seconds. BAckend is SQL Server 2000 and frontend...
1
by: JohnMOsborn | last post by:
I am designing an Access database that will use tab controls. Normally, you place different sets of fields on each page of the tab control – like Fields1-3 on Page 1, Fields 4-6 on Page 2, etc. In...
0
by: in10se | last post by:
I have a .NET 2.0 application that uses the WebBrowser control. Because all of my pages are generated dynamically, I am catching the Navigating event, cancelling it, and performing my own operations...
0
by: Anthony Peterson | last post by:
I'm trying to find a solution for my webpage which uses a Datagrid of all editable rows for a spreadsheet sort of style. The tab key works great in navigating across this datagrid, but I would like...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.