473,395 Members | 2,192 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,395 software developers and data experts.

How to scroll to listbox together in C#?

2
Hello All,


i am making a diff program and i want to scroll to two listbox together.So please any one help me to syncronize two listbox scroll event together in C#.

Thanks.

Naveen Jatav
May 22 '07 #1
3 4861
Motoma
3,237 Expert 2GB
Hello All,


i am making a diff program and i want to scroll to two listbox together.So please any one help me to syncronize two listbox scroll event together in C#.

Thanks.

Naveen Jatav
Is this in a web form, or a windows form?
May 22 '07 #2
rampal
2
Is this in a web form, or a windows form?
Hello Friend,

I want to two scroll two listbox together on windows form.

Thanks.

Rampal
May 23 '07 #3
Motoma
3,237 Expert 2GB
Hello Friend,

I want to two scroll two listbox together on windows form.

Thanks.

Rampal

Expand|Select|Wrap|Line Numbers
  1. lbxListBox2.TopIndex = lbxListBox1.TopIndex
  2.  
May 24 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Adam Klobukowski | last post by:
Hello. /windows forms/ I'm marking listbox items as selected, and I'd like to scroll listbox to a selected entry if it is off-screen. How can I do it? -- Semper Fidelis Adam Klobukowski
7
by: GTi | last post by:
In Win32 I have a function that opens several Dialogs and put the window handle in a listbox (together with a string): HWND hWnd = CreateDialogParam(...) LB_SETITEMDATA, index, (LPARAM)hWnd); ...
1
by: Jim Ellsworth via DotNetMonster.com | last post by:
hi, I have a listbox called lstItems, and I want to add up all the items in the listbox together into one sum variable. Thanks, Jim --
6
by: Dominic Isaia | last post by:
I am trying to simulate a multicolumn listbox. I need a way to link two listboxes together so that if you scroll one listbox the other scrolls with it. Any help will be appreciated. Thanks,...
3
by: anon | last post by:
I want to obtain the appearance of frozen columns as in an excel sheet so thet the first two columns of the table remain in view at all times. Example - I have a table of products - listed by...
2
by: Hitesh | last post by:
I have a listbox and the values get selected (highlighted) from code. I can highlight the corresponding list box items, but they do not show in the listbox I have to scroll through the list box to...
7
by: Lit | last post by:
Hi, How can I capture the vertical scroll bar position for a Listbox. I have a Listbox of 100 items + when I click on it I post back remove the item selected. After returning to the client...
1
by: doll | last post by:
Hi All, Greetings. I am creating a form in which i have text box and listbox together. While entering any text values (such as a,b,c) in the textbox it should display the listbox below which...
1
Mads Klitgaard
by: Mads Klitgaard | last post by:
I have a sort of sidebar on my website, which has to scroll down together with the user so that it is always in the view. The code I'm using now is actually working fine however there is one...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.