[RESOLVED] 2xform + module + opacity.help?
Hallo.
Well, I need a wee' bit of help,
I've never used a module before, so im not really sure what one is, from what i gather its a 'link' that joins two forms together, Or something along those lines.
For my Assignment (which i've done now btw :P)
I've got a main for - a about form and a help file (.chm)
The About form is also like a settings form, In the about form i've got a trackbar. The trackbar controls form1 (mainform)'s opacity.
How would i link the trackbar in the about form to form1?
Would i use a module?
and if i do, how?
Thanks in advance! :)
Re: 2xform + module + opacity.help?
A module is used to store code and variables that can be shared by all forms in your project.
This doesn't sound like you would need one.
However, I'm unsure what you are trying to do.
What does "How would i like the trackbar in the about form to form1"
Do you mean "Link"?
If so, what do you mean by "Link"
What would Form1 be doing to/with the trackbar on the about form?
Re: 2xform + module + opacity.help?
Quote:
Originally Posted by Hack
A module is used to store code and variables that can be shared by all forms in your project.
This doesn't sound like you would need one.
However, I'm unsure what you are trying to do.
What does "How would i like the trackbar in the about form to form1"
Do you mean "Link"?
If so, what do you mean by "Link"
What would Form1 be doing to/with the trackbar on the about form?
Sorry, didn't proof read. Although i changed in my edit :')
Well, okay.
I want the about form's trackbar to control the main forms opacity.
If that makes sense?
Re: 2xform + module + opacity.help?
Btw, awesome response time!
Re: 2xform + module + opacity.help?
How does it perform this task on the about form?
Re: 2xform + module + opacity.help?
Quote:
Originally Posted by Hack
How does it perform this task on the about form?
How?
Well, i dont really understand the question, the trackbar in the about form controls the main forms opacity?
Sorry :blush:
Re: 2xform + module + opacity.help?
Aren't you running some kind of programming code to tell the trackbar what to do and how to do it? Because, you can call code on one form from another.
(BTW: I've no clue what you mean by TrackBar. Is this some kind of third party control?)
Re: 2xform + module + opacity.help?
ah, fook!
i forgot to mention its for vb.net and vb6 doesn't have a trackbar funtion!
Sorry
(http://www.functionx.com/vcnet/images1/trackbar2.gif)
But i want to use this concept in other apps' (vb6 that is)
Yes, thats what i dont understand, How can i control something in a form (form1) from another form(form2)
Understand now :')
btw, sorry - stupid mistake!
Re: 2xform + module + opacity.help?
:) No problem.
I'm sure these folks over here can help.
Moved
1 Attachment(s)
Re: 2xform + module + opacity.help?
Re: 2xform + module + opacity.help?
Hey, Yeah sorry - I forgot about that.
College MAKE us use vb.net, however i prefer to use vb6, never mind :).
Ah, thanks kleinma
However, im using vb.net 2003 and i cannot open it, but i did open it in wordpad and i;ve got a problem - ACTUALLY ignore that, I've got it :)
Thanks alot Kleinma, really helpful!
:thumb: :thumb: :afrog:
Re: [RESOLVED] 2xform + module + opacity.help?
yeah many things in .NET 2005 work backwards in 2003 if you copy/paste the code in...