Solved

List controls ?

Posted on 1998-07-22
2
174 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 50 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

734 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