Solved

list Box

Posted on 1998-05-29
4
167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
using Access 8 85
Adding to a VBA? 6 85
Spell Check in VB6 13 138
Recommendation vb6 to vb.net or others 14 211
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

696 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