Search Tools Links Login

API Listbox as Inputbox Replacement


Visual Basic 6, or VB Classic

This Code was written by Dave Andrews
and modified by Tom Pydeski
It is an api form with a listbox which can be used as an inputbox replacement where the user is presented with a list of choices in a listbox form instead of the standard inputbox.
modifications include:
made list 3d
automatically size list based on the number
of entries and the width of the longest entry
added the keystroke capability
added the option of changing the font to that of the calling form
or any of its container controls that support .textheight.
added double click capability to the list

Original Author: Tom Pydeski

Inputs

A list in an array

Returns

A list of selected items (if in multiselect mode) or a number representing the selected index

Side Effects

none (hopefully...:-)

API Declarations

quite a few...

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 106 times

Categories

Visual Basic 6

Attachments

API_Listbo874815272002.zip
Posted: 9/3/2020 3:45:00 PM
Size: 10,575 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.