@Ragnax said:
That would leave any control still present in the tab order, just not reachable with the mouse. This kind of solution is really the most bottom of the barrel, imho.It was the method used in VB3. Are you sure it won't work?
@Ragnax said:
That would leave any control still present in the tab order, just not reachable with the mouse. This kind of solution is really the most bottom of the barrel, imho.It was the method used in VB3. Are you sure it won't work?
@talaxor said:
I can't guarantee this, but one approach I would try would be to create a groupbox for each 'screen' and put the needed controls in it. Set all of the Left positions of the groupboxes to -20000 except for the one selected by the buttons. That should hide all but the one you want and let you have any button design you want.Hi all. I don't really post much here, so I know I'm prolly gonna bungle this but here goes. I have a program I'm writing in c# that I want to display different "screens" when buttons in a left hand navigation type area are clicked. (Think something similar to frameset navigation on web pages, or more like the UI to SpyBot) What's a good non-wtf way to do this? The only thing close to what I want would be to abuse the tab control, and I don't really want to use it because I don't want tabs along the top, I want buttons close to the left hand side. (BTW, this is being built using VS 2008, and is not a WPF application). I've done coding for years, but mostly console, services, or simple winforms applications, so I'm a little lost on the right way to do this. Thanks in advance for your suggestions.
@Colin said:
A lot of it will depend on how large the sheets are, whether they are sorted, etc.A general solution that might fit your needs it to build up an index using a Collection or a Scripting.Dictionary, mapping the key value to the row number or offset. (You may need to add a reference to the Microsoft Scripting Something) Then just iterate over the keys() in one list and see if they exist in the other list
Why use a Scripting Dictionary? Seems odd to me. My first approach would be to just record an Excel macro doing one row update manually, then add looping and testing code around it to fully automate the process over the required range....