Whoisit

My first User Control, would value any opinions on how I've done and was it worth it .

It can be downloaded here.
Insert link still not working

http://freespace.virgin.net/viking.rover/PaintBox.zip




Re: Visual Basic Express Edition It's one small step for you, one giant leap for me.

Tall Dude

Well it has a nice look and feel, but I

don't see the specific event that is raised

when a color is selected.

Did I miss something here






Re: Visual Basic Express Edition It's one small step for you, one giant leap for me.

Spidermans_DarkSide

Whoisit wrote:
My first User Control, would value any opinions on how I've done and was it worth it .

It can be downloaded here.
Insert link still not working

http://freespace.virgin.net/viking.rover/PaintBox.zip


Hi,

All i see is a DLL file in the ZIP file.

If that's it how do you use it How about some documentation

I know very little about dll files.

Regards,

S_DS






Re: Visual Basic Express Edition It's one small step for you, one giant leap for me.

Dave299

I couldn't find that either.

I also noticed that the behaviour if you increase the font size is a bit odd. Do it in the designer and the control resizes, but when you run it the coloured blocks stay the same size. Change the font in the form load event and the blocks resize but the control doesn't.

Not bad at all for a first effort though - are you going to do that image viewer now.





Re: Visual Basic Express Edition It's one small step for you, one giant leap for me.

Pitchec0934

Pssst. Open it in VBE.




Re: Visual Basic Express Edition It's one small step for you, one giant leap for me.

Whoisit

Thanks for taking the time to look and reply.

TallDude,
Well it has a nice look and feel, but I don't see the specific event that is raised when a color is selected. Did I miss something here
This is one part of a bigger project that I'm working on it's a text editor that is not as intense as Word but better than Wordpad the Control is similar to the Auto Font when the colour is selected the text is then that of the colour picked.

Dave299,
I also noticed that the behaviour if you increase the font size is a bit odd. Do it in the designer and the control resizes, but when you run it the coloured blocks stay the same size. Change the font in the form load event and the blocks resize but the control doesn't. Not bad at all for a first effort though
So, what I have here is not a User Control at all, more like a snippet of code that can only be used for one specific purpose. From the comments, if I understand this correctly, a User Control is more like a stand alone piece of code that will work in any application for any purpose, a bit like a button or a label etc:

are you going to do that image viewer now.
The Text part of the project is now finished and the Image Viewer is Integrated in to it. I will be posting shortly on two things, with the Image Viewer, that I need help with. Thanks to this thread I can see that my thumbnail Control needs more thought.

Spidermans-Darkside,
All i see is a DLL file in the ZIP file.
A dll file is all there is,
If that's it how do you use it
Open a new project, Click on Tools > Choose Toolbox items > Browse, find the dll and click Ok. Paintbox should now be in the toolbox drag it on to the form and press F5





Re: Visual Basic Express Edition It's one small step for you, one giant leap for me.

ReneeC

Hi WhoIsit,

I think it's neat that you are doing things like this. It's traditional to include a demo program and a readme file in the zip. The readme file provides user documentation and the demo program demonstrates your control's capability.






Re: Visual Basic Express Edition It's one small step for you, one giant leap for me.

Whoisit


I think it's neat that you are doing things like this.
It's thanks to this forum and it's users.

In future, if I was going to release a Control for general use then, I will, as you suggest, include a demo and a Readme.

Cheers
Graham