|
hi
Would you please explain it..... Dont mind ..I could not Undersand your problem...
because I have been working arround tree views a lot.. so i decided to ask you the problem..
Regards
Munawar Hussain
Sr.Software Engineer
Ayfasoft Lahore Pakistan
Cell# +92-42-321-4365657
+92-42-304-4030466
|
|
|
|
|
No problem.
I have three panels. A MAIN panel and two panels with a treeview in each. I have the two TreeView panels INSIDE the MAIN panel. I use a splitter to resize the two treeview panels within the MAIN panel. The two treeviews are stacked on top of one another inside of the MAIN panel. When I resize the form, only the bottom treeview displays scrollbars. The top one does not. Why is this? I have checked all of the setting, and they are the same for both treeviews.
If you need any more information, feel free to ask.
|
|
|
|
|
Are you sure you are seeing all of both treeviews? I ask because if you don't have the z-order of the controls correct and you have one of them set to dock as fill sometimes you can find the control fills the entire screen with the other controls docked on top of it (instead of next to it). It's possible that half of one of your treeviews is being obscured by the other without you realizing it.
|
|
|
|
|
I think you are right. However, how do I fix this problem and still be able to use the splitter to resize each treeview and its corresponding panel? Thanks again.
|
|
|
|
|
I'm writting .Net dll using Hashtables.
When i debug the Dll blank lines and Commented Lines gets debugged.
When i change the Source Code it executes with the previous source code.
(i.e) New Changes are not getting reflected while debugging. It is debugging with the old code.
I tried Clean and Rebuild option but their no effect.
--------------------------------
bharath. k
-- modified at 8:40 Monday 26th September, 2005
|
|
|
|
|
Make sure your exe file matches its pdb file and that they are in the same directory.
Also make sure that your application is not in the GAC. Or else you will use the assembly from the GAC the and the new pdb, which cause the same symptom you descibed.
Good luck,
Ami Bar
|
|
|
|
|
Yeah it is working.
Thanx alot Ami Bar.
|
|
|
|
|
Hi,
I'm wondering if there is any COM object form Microsoft Office Picture manager or MS Picture Viewer that one can use? I want to be able to clik on a picture and open either one of the above mention item the same way it's possible to open Word or Excel.
Thanks for your help
|
|
|
|
|
Hi all.
I'm trying to read a stream to string but seem to be having some trouble.
string _content = "";
System.IO.MemoryStream _stream = new System.IO.MemoryStream();
SoapFormatter _Formatter = new SoapFormatter();
_Formatter.Serialize(_stream, _element); // Serialize object
_stream.Flush();
System.IO.StreamReader sr = new System.IO.StreamReader(_stream);
_content = sr.ReadToEnd();
return _content;
The _stream's buffer isn't empty at all but yet the streamreader returns an empty string.
|
|
|
|
|
That is probably because you are reading from the current position in the stream (the end) to the end of the stream. Reset the position before you read the stream.
---
b { font-weight: normal; }
|
|
|
|
|
|
Hi,
I'm having this problem of changing the back color of a multiline textbox I have which is also a read only textbox. Its back color turn grey when I set readonly = true and I just can't find anyway to change it.I'd been searching the Internet for the whole day but just can't find any solution. By the way, I'm doing a pocket pc project.
Thanks for any ideas on this
|
|
|
|
|
As far as I know, it can't be done with the standard textbox. Possibily you could derive your own TextBox control and override OnPaint?
|
|
|
|
|
That's not good...I can change the color with ASP.NET easily by changing the color in the property window, why C# have to be different, oh well, I guess I just have to sort things out now, thanks
|
|
|
|
|
I've done this a number of times.
Just change the textbox's background color in the properties window.
Darryl Borden
Principal IT Analyst
dborden@eprod.com
|
|
|
|
|
I'd tried that, but it is still grey when I deploy the project,that's why I post this question,it's really giving me a headache
|
|
|
|
|
Try these steps...
Create the textbox
Set Multiline to true
Set Word Wrap to true
Set Readonly to true (at this point it turns gray and back color is still white)
Change the back ground color to some other color (does not matter) and it should visibly change from gray to the new color.
Change it back to white.
I just performed these steps and it worked fine for me.
dpb
Darryl Borden
Principal IT Analyst
dborden@eprod.com
|
|
|
|
|
Thanks for the help, I'd tried your steps, it's not working, that is so strange, it happens just as you said, the changes to gray when set to read only and everything, only the end result is different, the back color is still grey when I run it. I really have no idea what to do now
|
|
|
|
|
You can optionally set "enabled" to false and change the background color, but then the user would not be able to select and copy text or use the scroll bars.
Darryl Borden
Principal IT Analyst
dborden@eprod.com
|
|
|
|
|
Hello,
How can I add columns, rows to the ReportDocument. Any help will be appreciated. Thank you.
|
|
|
|
|
Hi all,
I have two difficult situation while developing tree view control in winforms which are explained below.
1. The tree view control should show a rectangle over the node when i hover the mouse on that.(Just like codeproject.com left menu.while hovering mouse on that you can see the rectangle)
2. The tree node text should be appended with three dots if the width of the node text exceeds the width of the control.
3. For the above scenario, if i hover the mouse on the node,full text of the node should appear inside the rectangle.
I need a solution for any of these, I know it is very difficult to find out, but i need ideas for any of the above, Please it is very urgent
|
|
|
|
|
I'm building a Tabs control (MS TabControl style)
and I'm having a problem pressing a button of the user control(for switching tabs)
within the IDE without running the entire windows application(just like MS TabControl).
When I run the winApplication its works perfectly but it's not the effect I want.
Can someone tell me how to "Enable" the button, so that it will work from withing the IDE ?
Never put more than one leg at atime on the wall.
|
|
|
|
|
Can somebody guide me as to what "pattern" to follow for a C# Quiz Application.I was thinking of a single WinForm for the whole application as the Questions will be mostly in one standard defined in XML Format.Load the question from the XML File and save Status/State to XML File.I guess I have to come up with a couple of XML methods to handle the state/status of Quiz questions.Any suggestions ?
Thanks in Advance
|
|
|
|
|
Yes it could be a better idea to have a question with XML format. Go ahead.
|
|
|
|
|
Hi,
Does any body know how to adjust Datagrid column height by coding. (For wrap printing use).
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|