473,396 Members | 2,034 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.

List Box horizantal bar

QT
Dear Sirs,

I am using following codes for listbox; When Vertical scrool bar is working,
horizontal scroll bar is not working.

What should I do?

'ListBox1

'

Me.ListBox1.HorizontalScrollbar = True

Me.ListBox1.Location = New System.Drawing.Point(16, 24)

Me.ListBox1.Name = "ListBox1"

Me.ListBox1.ScrollAlwaysVisible = True

Me.ListBox1.Size = New System.Draw
Nov 20 '05 #1
3 1410
Cor
Hi Sir,

Where did you put your code?

If I put beneath code in the load form event it is working fine

I hope this helps?

Cor
I am using following codes for listbox; When Vertical scrool bar is working, horizontal scroll bar is not working.
Me.ListBox1.HorizontalScrollbar = True
Me.ListBox1.Location = New System.Drawing.Point(16, 24)
Me.ListBox1.Name = "ListBox1"
Me.ListBox1.ScrollAlwaysVisible = True

Nov 20 '05 #2
hi,

the horizontal bar only will be enabled if there are items with a length that
requires the horizontal scrolling.
Try to add this item to your ListBox1:
ListBox1.Items.Add("Supercalifragilisticoespialido so")

The horizontal scrollbar should be enabled.

--
Nos vemos.
Guillermo
--------------
P.S.
Si te parece últil mi sitio:
http://www.elguille.info/lonuevo/lo_nuevo0312.htm#dic30
--------------
Microsoft VB MVP desde 1997
Te invito a mi sitio dedicado al VB y más...
http://www.elguille.info/
http://www.mundoprogramacion.com/
(puede que el correo usado sea anti-spam)
"QT" <we*****@yahoo.com> wrote in message
news:eY**************@TK2MSFTNGP11.phx.gbl...
Dear Sirs,

I am using following codes for listbox; When Vertical scrool bar is working,
horizontal scroll bar is not working.

What should I do?

'ListBox1

'

Me.ListBox1.HorizontalScrollbar = True

Me.ListBox1.Location = New System.Drawing.Point(16, 24)

Me.ListBox1.Name = "ListBox1"

Me.ListBox1.ScrollAlwaysVisible = True

Me.ListBox1.Size = New System.Draw

Nov 20 '05 #3
* "QT" <we*****@yahoo.com> scripsit:
I am using following codes for listbox; When Vertical scrool bar is working,
horizontal scroll bar is not working.


I remember I already replied to the same question some days ago. The
scrollbar will only work if the items don't fit in the visible area of
the control (in horizontal direction).

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

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

Similar topics

6
by: massimo | last post by:
Hey, I wrote this program which should take the numbers entered and sort them out. It doesn¹t matter what order, if decreasing or increasing. I guess I'm confused in the sorting part. Anyone...
10
by: Kent | last post by:
Hi! I want to store data (of enemys in a game) as a linked list, each node will look something like the following: struct node { double x,y; // x and y position coordinates struct enemy...
24
by: Robin Cole | last post by:
I'd like a code review if anyone has the time. The code implements a basic skip list library for generic use. I use the following header for debug macros: /* public.h - Public declarations and...
4
by: JS | last post by:
I have a file called test.c. There I create a pointer to a pcb struct: struct pcb {   void *(*start_routine) (void *);   void *arg;   jmp_buf state;   int    stack; }; ...
3
by: chellappa | last post by:
hi this simple sorting , but it not running...please correect error for sorting using pointer or linked list sorting , i did value sorting in linkedlist please correct error #include<stdio.h>...
0
by: drewy2k12 | last post by:
Heres the story, I have to create a doubly linked list for class, and i have no clue on how to do it, i can barely create a single linked list. It has to have both a head and a tail pointer, and...
2
by: Matt | last post by:
Is there a way to make menu controls behaviours like browser menu like. (file,Edit,View etc) or any other software menu dropdown.. I could do that with inbuild (<items<asp:menu:itemand make the...
10
by: AZRebelCowgirl73 | last post by:
This is what I have so far: My program! import java.util.*; import java.lang.*; import java.io.*; import ch06.lists.*; public class UIandDB {
2
by: honey99 | last post by:
Hi! can anybody tell me how to remove horizantal scrollbar for <textarea> in firefox,i think firefox takes horizantal scrollbar by default.....and i want to display vertical scrollbar for <textarea>...
2
by: Doug | last post by:
Hi, I can't figure out how to create a drop-down list box. The help file says it exists. The icon in the help file matches the combobox in the toolbox. I tried using a combox box, both with and...
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:
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.