?
Solved

List controls ?

Posted on 1998-07-22
2
Medium Priority
?
176 Views
Last Modified: 2013-11-20
I am using list control to display certain information. Based on the users choice, I construct the list control with different set of columns and items. I use only one  list control but the user has three  options. In each option the list control has different set of fields.  Iam using the ccommand DeleteColumns and DeleteAllItems before initializing the list control for every choice. I keep track of the number of columns the previous choice has created for the list ctrl and I delete the same number of columns for the new choice. After this I proceed to construct the list control for the new choice. But this procedure does not works as there aalways remains some remnants.. One or two undeleted columns do  always exist. What do I do? Please advvise.
0
Comment
Question by:meyaps
[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 Comments
 
LVL 2

Accepted Solution

by:
jstolan earned 200 total points
ID: 1319611
I suspect you may be deleting the columns in the wrong order.  For example:  If you have two columns 0 and 1 and you delete column 0 first, then delete column 1 it won't work.  Why? Because column 1 becomes column 0 once the original column 0 is deleted.

If that's not the problem, can you show us some sample code of what you're doing?
0
 

Author Comment

by:meyaps
ID: 1319612
Thank you Jstolan. It was my mistake for not knowing abt list controls. Thanks for the assistance, it worked. bye!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

719 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