 |
|
 |
I added a 2nd button to the control to clear the selected contents, but I can't figure out how I can change the down arrow image that appears on the ButtonEx object.
Can someone point me in the right direction?
Thanks!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Nevermind... I found it in the OnPaint method. I gave the buttons names when I created them and then was able to use this basic example until I get some icons :
protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); if (this.Name == "Select") { System.Windows.Forms.ControlPaint.DrawComboButton(e.Graphics, 0, 0, this.Width, this.Height, state); } else { this.Text = "X"; this.TextAlign = ContentAlignment.MiddleCenter; } }
Great control - thanks for posting!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
i want to compare two files for its folders &sub folders..name vice... wat i want ,two tree view controls and should compare that and last modified date too/my mail id:p.boopathiraja@gmail.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Could it handle tabbing? ie., the tree is dropped, the user selects the node, and hits tab to the next control?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Dear Gevik I am also an Armenian Developer. You dont have any e mail address in your profile. But mine is arin.magicsoft@gmail.com. I have to say that you made exactly the control which i need it in my project! Please send me an e mail you will make me happy!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Hi Gevik,
How do you create a com object of your user control that can added as an activeX object on a ms-access form ?
Thanks for your reply
Peter
By the way, I prefer the Jean-Luc crew (current technology has exceeded most toys from James Kirk
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi Gevik, I placed the control inside a GroupBox, but what is happening is treeview will not display perfectly, in the sence if the groupbox is smaller than the treeview, it will not overlap the frame, ie it will be inside the frame. What we can do to solve this probelm. Thanks in advance. Regards, Smithesh
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
Not yet!
C:\>csc *.cs Microsoft (R) Visual C# .NET Compiler error CS2001: Source file 'brains.cs' could not be found fatal error CS2008: No [brains.cs] specified
C:\>
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Thanks Gevik for the cool control.
With regards to the previous post. You can embed windows form controls on a webpage. Not sure how to though but i know its possible. The controls are downloaded once into your GAC and never really downloaded again unless the dll has been changed.
Hope this helps
Cheers Lance
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Dear All,
I have been trying to download the files for 3 days now but in vain. Apparently, the have been moved....
Could someone send them to me ?
By advance, many thanks
Didier
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
The download has been fixed!
C:\>csc *.cs Microsoft (R) Visual C# .NET Compiler error CS2001: Source file 'brains.cs' could not be found fatal error CS2008: No [brains.cs] specified
C:\>
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
The dropDownTreeView is nice but how can you make it such that it drops down out of the form it is in and be visible from other forms like other ComboBoxes are?
Appreciate any help you can provide.
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
 |
Could you pick a version of star trek and stick with it. You're all over the board there with Janeway and Sisko and everybody!
And the title says Crew. None of those guys are crew.
Otherwise nice work.
-- M I G H T Y J O E
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
A more frivolous objection I could not imagine. Go back to fondling the forehead of your Picard doll.
Besides, they *are* crew you moron. Anyone serving on a vessel is crew.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Just downloaded this and found the following problems...
1) The drop-down windows can only be resized when the very corner pixel is dragged. Actually I thought resizing wasn't working at all at first. 2) The cursor icon only changes to the drag cursor icon when moving the mouse from outside the control onto the grip handle. If you move the cursor from inside then the cursor stays the same. 3) If a scroll bar is shown then the sizing grip is hidden from view.
Suggestions 1) Don't let the width of the drop-down window be resized to less than its original size. 2) Don't let the height of the drop-down window shrink to nothing (maybe one row height as minimum?) 3) Clicking outside the drop-down window should close the drop-down 4) When resizing, if the mouse is moved rapidly, then the window fails to resize. 5) Would it be possible to let the control draw outside of its parent forms clip rectangle?
Otherwise, nice one!
Cheers Simon
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
SimmoTech wrote: 5) Would it be possible to let the control draw outside of its parent forms clip rectangle?
Yep, that makes it a bit unusable on the lower part of a form.
Rocky Moore <><
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Rocky Moore wrote: 5) Would it be possible to let the control draw outside of its parent forms clip rectangle?
Yep, that makes it a bit unusable on the lower part of a form.
Rocky Moore <><
But that is the way all other dropDowns seem to work.
a l chavez ................................ at us, very deafly, a most stares colossal hoax of clocks and calendars ee cummings
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I think for this the control should be shown in an other way . e.g. in a own dynamic window, shoudn't it ?
BE IT BE Creative BE IT-Solutions http:///BE-IT.NET
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Nice control, but it's not very consistent with Windows. For example, similar controls that have been present in Windows and other Microsoft apps (for which developers are always trying to mimick for UI-consistency purposes), a sizing grip is used instead of the red square you use. Afraid of the many lines of code needed to draw a sizing grip? Don't frett; check-out System.Windows.Forms.ControlPaint.DrawSizeGrip. In fact, there's a lot of very handy static methods in the ControlPaint class.
Also, a "+/-" Button next to the TextBox is also inconsistent. I suggest that you try to mimick the behavior and UI of the ComboBox. Again, there are several static methods in ControlPaint that could help, like DrawComboButton.
Just a couple suggestion to maintain consistency.
Reminiscent of my younger years... 10 LOAD "SCISSORS" 20 RUN
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Thank you for your pointers, I'm going to implement these right away. 
C:\>csc *.cs Microsoft (R) Visual C# .NET Compiler error CS2001: Source file 'brains.cs' could not be found fatal error CS2008: No [brains.cs] specified
C:\>
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Had the same feeling. The dropped bit looks so nice, yet the "top" is rather ugly. Looking forward to some improvements.
MyDUMeter: a .NET DUMeter clone "Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of."
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |