User Control Properties
Posted on 2004-04-13
I am having a problem with a user control. In my application I create a user control that inherits from a listview control. I basically turn a listview control into an appointments list with a few columns. Sort of like a template. Everything works fine to a certain point. I can add the control to my forms and everything displays okay. When I try to override certain properties such as the column widths, every time I compile they return back to the default width. I tried setting the property in the user control to public instead of private and it still does not work. I am trying to do this at design time. Are there any suggestions out there????? Another thing is that in this user control I list time slots (8:00, 8:20, 8:40, 9:00, etc.) all the way to 5:00. For some reason I can leave the form to work on another form and when I come back to it, I have two sets of items back to back. Running 8-5 and another set right after that. All of this happens at design time. Any suggestions???????????????????? Please Help.........