Solved

list Box

Posted on 1998-05-29
4
164 Views
Last Modified: 2010-05-03
How to turn checkmark on in the listbox when adding items to the list box with style property setting = 1 ?
0
Comment
Question by:mathiv
  • 2
4 Comments
 

Author Comment

by:mathiv
ID: 1462043
Edited text of question
0
 

Author Comment

by:mathiv
ID: 1462044
Adjusted points to 75
0
 
LVL 1

Accepted Solution

by:
tstrob earned 70 total points
ID: 1462045
Select this item. On style 1 the item will checked then.

list1.selected(index) = true


0
 
LVL 2

Expert Comment

by:woka
ID: 1462046
This might be a bit easier:

List1.Additem "Test"
List1.Selected(List1.Newindex).Selected = True

0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question