The name of this post says it all if you are experienced in working with VB. In my current project I have to work with a few of these and have been having some difficulties. My goal is to simulate as best as I can a normal combo box but have it in my grid view. So .SelectedIndexChanged and similar events can be handled. Somehow the people at Microsoft decide that they would no add any library events to this object, and then create something call DataGridViewComboboxEditingControl that you can't even use because you can't change the editing control on a library object. So basically, I am having a terrible time deciding which approach I should take this problem. On one hand, I can use DataGridViewCell events and reasonably simulate what I want to occur but not perfectly. Or, I can create my own object and create my own event handler for this object and get the precision I desire. The conundrum is which one will be the most cost effective. Creating a new object type of this magnitude would take more time than is alloted for my current task. Tomorrow will be Friday, and I always seem to find the best answers late in the day. So, I hope that by this time Friday this problem will be a distant memory. Sorry for not posting any code this evening. I may write something tomorrow, and most likely in Java. I am not saying the Java is better or specifically easier than C++, but I like knowing that whoever tries to run my program will be successful. C++ is just to damn picky! Over the weekend, I plan to spend time with my best friend and girlfriend Diedra. However, their will be more posts and more code as usual.
Thank You,
Matthew Cook
Thursday, June 18, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment