 |
|
 |
Hello Johnny, any license available?
Rached.
|
|
|
|
 |
|
 |
I cant figure out how do I create an icon (with what transparent color) in order to display it correctly on the capture strip at the top. I do not see any property of the panel that I can set (like that for a button of the toolStrip - it allows you to change the transparent color in Properties of the button insteadof changing the image itself). Am I missing something here? probably yes, since I see that your example displays the icon correctly. Aslo, the source of the demo app is missing...
|
|
|
|
 |
|
 |
There is no property to define a color to use as transparent. The trancparency must be defined in the icon itself (Most icons used in windows have a transparent background by default).
Also, most icon creation software is capable of doing this.
The reason buttons on a toolstrip provide a TrancparentColor property is because toolstrips used to work with bitmaps (wich do not support transparent backgrounds). Mostly the bitmap background would be made pink. These days we use Icons and PNG graphics in GUI's because they support transparent backgrounds and alpha blending.
Hope this explanation was usefull to you.
Kind Regards,
Johnny
|
|
|
|
 |
|
 |
Hello and thanks for the great controls. I'm trying to use custom caption with < VALUE > and some text. No matter what i do, this fails when set to custom . < PERCENTAGE > on the other hand seems to work just fine. Can you please advise? thankss.
Rached.
|
|
|
|
 |
|
 |
Hi, this bug has been pointed out to me earlier. I'm sorry I don't have the time to fix this, and put a newer version online for now.
This problem has an easy fix: in ProgressBar.cs on line 572 and 573 there are these lines of code:
String toReturn = caption.Replace( "<VALUE>" , m_int_Value.ToString() );
toReturn = caption.Replace( "<PERCENTAGE>" , float_Percentage.ToString() );
make these into:
String toReturn = caption.Replace( "<VALUE>" , m_int_Value.ToString() );
toReturn = toReturn.Replace( "<PERCENTAGE>" , float_Percentage.ToString() );
|
|
|
|
 |
|
 |
Johnny, thanks alot.. that fixed it
excuse my late reply
Rached.
|
|
|
|
 |
|
 |
I have few suggestions regarding the progress control.
1)An "effective step" (calculated based on control length & min/max values)- the effective step at which the control effectively/visibly changes(you can't draw half of a pixel, can't you?). This could be used with SQlBulkCopy class(name approximated)that has an configurable event(throw at X rows copied/inserted into an Sql table). A too often fired event decreases the speed of the operation.
2)int64 defined minimum, maximum and current value for file transfers(files can have the size in bytes>MAX_INT)
|
|
|
|
 |
|
 |
Can we use the Progressbar in web Application with Mouse events..?
Actually we can show the control and use as image or bitmap but progressing by mouse click(scroll) is not working in asp.net web application.
how can we get please suggest on this..!!
awaiting for you reply..Johnny
Thank you..
|
|
|
|
 |
|
 |
Nice UI control first of all!
Only 1 small problem when setting the value to 1. (min 0, max 10, step 1).
If I try these values:
value 0: 0 blocks correct
value 0: 0 blocks incorrect <---
value 2: 2 blocks correct
Am I missing anythings that causes for this strange behaviour?
|
|
|
|
 |
|
 |
happens when I choose DashWidth >= 20. Small deviation from there, at 30 a whole block is missing.
|
|
|
|
 |
|
 |
Nice control,
but how can I extend it with rounded panel borders?
|
|
|
|
 |
|
 |
Hi Dude.
Your progress bar, is there any way you can create a property, as switch for the way it works normally now, or a continuosly busy progress bar.
Thanks, great control
Sk8tZ
|
|
|
|
 |
|
 |
There's a (very) small bug: >VALUE< in the custom label for the progressbar isn't replaced. But that's easy to fix... And it's extremely easy to add new own placeholders (I added ... I needed it ^^).
-- modified at 9:49 Friday 31st August, 2007
|
|
|
|
 |
|
 |
private String GetCustomCaption( String caption )
{
...
String toReturn = caption.Replace( "" , m_int_Value.ToString() );
toReturn = caption.Replace( "" , float_Percentage.ToString() );
...
}
In the GetCustomCaption function the second line uses caption.Replace to set the toReturn string, effectively meaning that the line above that set toReturn with replaced is overwritten by a string with still in. To fix this simple replace the second line from caption.Replace to toReturn.Replace:
toReturn = toReturn.Replace( "" , float_Percentage.ToString() );
|
|
|
|
 |
|
 |
Hello!
It would be very nice if I can rotate the progress bar at any angle. I tried to change your code and I was able to add an 'Angle' property as single and to draw the flood rotated by that angle.
However, I wasn't able to rotate the border.
Please, might you add this feature? I guess it's very simple using the rotate GDI+ method.
Thanks a lot for your great controls!
Marco / iw2nzm
|
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Hi,
I really like your control and was using it with .net 1.1. Now I switched to 2.0 and wonder whether there is already an update for VS2005? I've seen your posting here on 23. March, did you already find some time to finish your .net 2.0 release?
|
|
|
|
 |
|
 |
LOVE the panel
a few points though
Child controls.
Dock:
i noticed that when you add a control to the panel and set its dock property to fill (on that new child ) it fills the entire panel ( including the title area ).
I would think that when a user does that he does not assume that fill includes the title area.
Location:
I also noticed that when autoscroll is set to true and indeed there are enough child controls to scroll, the paining gets all screwy while scrolling, and does not refresh when scrolling is complete.
Style:
Is there any chance for a vertical setting in the near further?
Otherwise I LOVE the way it looks and gets my high scrore
|
|
|
|
 |
|
 |
Am I supposed to be able to use these controls in a managed C++ application? I have a bunch of errors which don't let me build my application... the first few ones are:
error C3699: '^' : cannot use this indirection on type 'System::Drawing::Font'
compiler replacing '^' with '*' to continue parsing
This diagnostic occurred while importing type 'ExtendedDotNET::Controls::Progress::ProgressBar ' from assembly 'ExtendedDotNET.Controls, Version=1.0.2125.33876, Culture=neutral, PublicKeyToken=null'.
error C3699: '^' : cannot use this indirection on type 'System::ComponentModel::Container'
compiler replacing '^' with '*' to continue parsing
This diagnostic occurred while importing type 'ExtendedDotNET::Controls::Progress::ProgressBar ' from assembly 'ExtendedDotNET.Controls, Version=1.0.2125.33876, Culture=neutral, PublicKeyToken=null'.
error C2079: 'ExtendedDotNET::Controls::Progress::ProgressBar::m_EdgeColor' uses undefined class 'System::Drawing::Color'
This diagnostic occurred while importing type 'ExtendedDotNET::Controls::Progress::ProgressBar ' from assembly 'ExtendedDotNET.Controls, Version=1.0.2125.33876, Culture=neutral, PublicKeyToken=null'.
error C2664: 'void System::Windows::Forms::TableLayoutControlCollection::Add(System::Windows::Forms::Control ^,int,int)' : cannot convert parameter 1 from 'ExtendedDotNET::Controls::Progress::ProgressBar ^' to 'System::Windows::Forms::Control ^'
No user-defined-conversion operator available, or
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Please help me!
Fabrizio
|
|
|
|
 |
|
 |
It's working now, after rebuilding the sources with VS2005. For some reason, the DLL you published doesn't work with VS2005 and needs recompilation...
|
|
|
|
 |
|
 |
Hi,
Thanx for giving an explanation for your own problem, I was going to give it a look this evening but now i don't have to. I am also using VS2005 since a couple of months, so the next release of this dll will be a VS2005 publication.
I have worked hard on these controls some time ago, and i created a bunch of new ones, so the next release will be very nice I hope.
Also I want to apologise for my long absence but i have started a job this december and I havn't had a lot of time to continue working. I hope to release the next version soon.
Best regards,
Johnny
|
|
|
|
 |
|
 |
I cannot seem to figure out how to change the format of the percentage displayed inside the progress bar. It is currently showing decimal point values like, 5.4856934 instead of 5. How can I force it to display whole numbers. I am setting the value of the progress bar with a bar.value++ statement. Any suggestions????????
Thanks,
Kendal
Kendal Goodrich
|
|
|
|
 |
|
 |
Hi,
I kind of forgot to make it possible to change that issue. I just included a feature named decimals where you can alter the decimals displayed (0 for a whole number). I will update my article next week with the Extended.NET controls 0.2 including a button, a check and radio and a more advance progressbar.
Greatz,
Johnny
|
|
|
|
 |
|
 |
I just thought it would be nice if your panel control had a seperate container with in the panel itself which adjusts automatically to the caption height so I could load other controls in the panel container as oppose to the panel itself.
|
|
|
|
 |