BP Forums
Share your Components here - Printable Version

+- BP Forums (https://bpforums.info)
+-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55)
+--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56)
+---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8)
+----- Forum: Share your programs! (https://bpforums.info/forumdisplay.php?fid=10)
+----- Thread: Share your Components here (/showthread.php?tid=333)



Share your Components here - xolara - 03-23-2011

Ive tried to find a Custom progress bar lately but couldnt really find any so i decided to try and make my own

You can change the color of it by changing its ForeColor to any other color you want


Re: Share your Components here - brandonio21 - 03-23-2011

As you probably know, I recently made UpdateVB a component!
<!-- m --><a class="postlink" href="http://updatevb.codeplex.com">http://updatevb.codeplex.com</a><!-- m -->

P.S : Good job on the progressbar! Works greatt!


Re: Share your Components here - xolara - 03-25-2011

If anyone have a bit more experience than i in photoshop please say so becourse i could really use some other layout for the progressbar <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->


Re: Share your Components here - brandonio21 - 03-25-2011

I can try to help! What color do you need it to be? And how big?


Re: Share your Components here - yjy1110 - 03-25-2011

<!-- s:o --><img src="{SMILIES_PATH}/icon_e_surprised.gif" alt=":o" title="Surprised" /><!-- s:o --> I can help you!

Tell me what you need <!-- sWink --><img src="{SMILIES_PATH}/icon_e_wink.gif" alt="Wink" title="Wink" /><!-- sWink -->


Re: Share your Components here - xolara - 03-25-2011

it dosnt matter how big it will be able to be resized and just some very cool colors etc <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile --> but with the middle transparrent <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile --> and in .png


Re: Share your Components here - yjy1110 - 03-25-2011

Okay <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->


Re: Share your Components here - Gamester699 - 05-06-2011

there is a tutorial on youtube


Re: Share your Components here - xolara - 05-12-2011

Tutorial for what


Re: Share your Components here - Gamester699 - 11-03-2011

How to make components


Re: Share your Components here - xolara - 11-07-2011

Class files or Component Class files <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->


Re: Share your Components here - openeXpressions - 11-08-2011

Hey xolara,
Would you know how to use the QColorPicker control? There's a forum right herehttp://www.qios.eu/community/viewtopic.php?f=56&t=207, but I couldn't figure it out. That was exactly what I wanted to do as well. Thanks!


Re: Share your Components here - xolara - 11-08-2011

never really used qios much

but i'll have a look into it


Re: Share your Components here - openeXpressions - 11-08-2011

Thanks so much! <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->
That component is not a direct part of the devSuite. It's only downloadable from the page I linked directly to.


Re: Share your Components here - vbcodegeek - 11-08-2011

Hey, I am back. sorry I was and am still busy working on a big project.
So Nick, I am using the QColorPicker controls in my project. And I am not an expert but I can do some nice things with these controls.
So if you could tell me what you want to do I might be able to help you. <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->


Re: Share your Components here - openeXpressions - 11-08-2011

Thanks! I'm trying to use the QColorPicker control in my HTML editor, open eXpressions. It's here: https://sourceforge.net/projects/openexpressions/
The source code is also on the site. I'd like the color picker to output the hex value at the click of the choose color button. The source code probably explains this better. Once again, I really appreciate your offer to help.


Re: Share your Components here - vbcodegeek - 11-09-2011

Nick, getting the hex color codes is not hard at all.
Fist you will need to add:
  • QColorPalette
Optional:
  • QColorDisplay

You may move the controls around on your form, and size them. Get them where you want.

Next comes the code. All you should need to do is copy and paste this code into your project
Code:
Imports System.Drawing

Public Class ColorForm

    Private Sub ColorButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Colorbutton.Click
        Dim x As String = QColorPalette1.CurrentColor.ToRGB()
        Dim myColor As Drawing.Color = Drawing.Color.FromArgb(x)
        Dim colorString As String
        colorString = String.Format("#{0:X2}{1:X2}{2:X2}", myColor.R, myColor.G, myColor.B)
        QColorDisplay1.CurrentColor = QColorPalette1.CurrentColor
    End Sub
End Class
The string named "color string" is your hex color code.
I hopes this helps you <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->


Re: Share your Components here - openeXpressions - 11-09-2011

Thanks! I'll try that. One question though, I don't see mention of the QColorPicker anywhere.


Re: Share your Components here - openeXpressions - 11-09-2011

Thanks! It worked It just needs to be argb instead of rgb