|
John Simmons / outlaw programmer wrote: It doesn't matter why. If he needs to, he needs to.
It does matter as to the answer I may choose to give him.
If he says that he just has two identically tree views then I would suggest that it would be best, from a users point of view, to just have one. If he says something like they are used to compare data then I would point out that problems will occur with different numbers of nodes (for example, you cant scroll to the 100th node on a TreeView that only has 50 nodes etc.)
As I am sure you are aware, there are a lot of people new to the subject of programming (not to suggest the OP is new) that use these forums. Sometimes it can be more helpful to question a persons design choices in order to illustrate better solutions for the future.
if somebody gave the example like follows with the question how do I make i3 be the sum of i2 and s1, I need to convert s1 to a number to add to i1...
int i1 = 2;
int i2 = 3;
string s1 = "" + i1;
Console.Write("i1 = " + s1);
int i3 = i1 + s1;
Would you suggest...
int i3 = i1 + int.Parse(s1);
..or would you point out how they could do it more efficiently?
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Have you set the Dock property of the treeView to DockStyle.Fill ?
|
|
|
|
|
I have set the DockStyle as DockStyle.Fill. But still I am unable to see the scroll bars even though the tree view is completly loaded. I can select the nodes which are not visible, but the scroll bars of the panels doesn't appear
Regards
Surya
|
|
|
|
|
Please don't post in two forums! Very rude, have a little patience.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Sorry Henry. I thought I posted at the wrong place so I posted again. Still no solution for this...
Regards
Surya
|
|
|
|
|
I ran into the same thing but couldn't find any suitable answer, at last figured it out on my own. Adding it here, it might help somebody else.
Scroll bars appear when child's size increases or it goes out of the bounds of parent. But when you set the Dock Property of child (in this case TreeView) to Fill, the splitter, when resized, changes the size of its child as well. hence no scroll bar will appear.
If you must set the Dock property then use AutoScrollMinSize property of parent.
|
|
|
|
|
Hi
Thank you. it really helped me. I was stucked in situation which you have faced and i found this reply. thanks again
|
|
|
|
|
I have a data in DataSet
i want to tranfer it to sql table using c#.net 2003
plz help me
|
|
|
|
|
|
Please help. I installed Component Software- RCS and added my projects and websites to it.
And bam every file has become a dump now. It is showing chinese characters in Visual Studio. It throws a message "the line endings in following file are inconsistent" and no matter what I chose it always shows corrupt files.
I had my complete project ready to be sent. This is my 1 years hard work. I dont know what has happened to me when I used this useless software
Amit Kumar Thakur.
|
|
|
|
|
You should raise this with Component Software[^] themselves. As the authors, they are much better placed to help you than we are.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
|
|
Well good luck with it then
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
I find it amazing that you installed an UNTESTED application in your environment just before you roll out your app. Why didn't you backup your projects PRIOR to installing this major changing to your development environment?? This is why you always TEST applications like this in a seperate environment from your production development system so you can find out about these little problems BEFORE inflicting this kind of damage.
I would say that if you didn't backup your stuff before making this change, you've got a LOT of work to do to clean up each and every file in each and every project you have that has been affected by this issue. Have fun...
Your only hope is to contact Component Software for help. Noone here is going to have the experience to get your code back to where it was.
|
|
|
|
|
Thanks for the reply. The help in CS-RCS is itself dipsy. I dont think there is a any other workaround, I tried almost everything. It has messed up everything. I still have a 1 month prior backup. But this is a real hard lesson. I hate Component Software for this.
Amit Kumar Thakur.
|
|
|
|
|
Yeah, but I think you're missing the point of the lesson. The lesson was the responsiblity of testing this software before putting it into production was on you. I hope you don't release your own software to your clients with the same level of testing...
|
|
|
|
|
I am developing window application, in which I am opening another winform on the click event of button.
As we know that if we open a form in windows, we can see its icon in the task bar.
But I am making An application in which I am not using MDI concept,and I dont want to see the
icons of other forms, as it happens normally. How to solve this problem. I just wanna see
only main icon in taskbar.
|
|
|
|
|
Just set the property ShowInTaskbar to false.
|
|
|
|
|
Form2 lobjNewForm = new Form2();
lobjNewForm.ShowInTaskbar = false;
lobjNewForm.Show();
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
i having a picture box control that contains a 32 bit image
i want to convert it in to 16 bit image and save it to other location
how i convert it plz help me
|
|
|
|
|
By using Google, that's how.
Here[^] is what I found by googling for convert 32bit image to 16bit
Hope that helps.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Dear Readers,
At our university we are faced with a problem in our automatic procedure that supplies a new student with a University e-Mail address. Student registration has changed over the years and we are now confronted with a large array of special characters like the character "ǿ". Our e-mail format is based on the first and lastname of the students, but e-mail addresses can only contain the most basic Alphabet. Now we have a translation table that visually changes characters like éèë to the character e, etc. So the "ǿ" would be changed to a "o". We know this is not correct (phonetically) but is the best what we could do with all kinds of nationalities we have at the university.
But my question is, is there a international standard how to deal with those special characters in e-Mail addresses?
Best regards and thanks,
Rémy Samulski (Maastricht University, The Netherlands)
|
|
|
|
|
Not as far as I know. I can't imagine turning "ǿ" into any other character but "o"
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|