[RESOLVED] Hyperlinking text to another form
i think the title explains what i need. i want to able to hyperlink some text in 1 form to open another form when clicked.
thanks
also i used a custom font in one of my exes and when i sent it to someone they didnt see the custom font. im thinking this is because they dont have the font installed...is there anyway of getting them to see the font without them installing the custom font?
Re: Hyperlinking text to another form
To open another form you just need to use this code:
You can put this in the _Click event of a button or label for example.
As for th custom font, it must be installed.
Re: Hyperlinking text to another form
i know how to get a form to show i mean is it possible to add a link to another form within a label e.g
by checking this box you agree to the terms and conditions
and when you click on the terms and conditions it opens up another form.
Re: Hyperlinking text to another form
Quote:
Originally Posted by ultimate165
i know how to get a form to show i mean is it possible to add a link to another form within a label e.g
by checking this box you agree to the terms and conditions
and when you click on the terms and conditions it opens up another form.
If its just a Label, then simply add another label and change its colour & properties etc. to resemble a hyperlink, then in the Label_Click event simply load your other form.
Re: Hyperlinking text to another form
thank you :).
also can anyone tell me how to use a scroll bar within a text box? thanks
Re: Hyperlinking text to another form
Quote:
Originally Posted by ultimate165
thank you :).
also can anyone tell me how to use a scroll bar within a text box? thanks
set the SrcollBars property of a textbox to 1-Horizontal, 2-Vertical or 3-Both. by default it is 0-None.
Re: Hyperlinking text to another form
thanks, and sorry for another question but ive added a large text box and im trying to fill it with a bunch of text "terms and conditions" but i can only seem to write one line of text and add no more. and if i continue it just goes off the text box
Re: Hyperlinking text to another form
The MultiLine property of the TextBox must also be set to True otherwise the ScrollBars property is ignored.
Re: Hyperlinking text to another form
ah yes, the multiline property also. sorry forgot about it.
Re: Hyperlinking text to another form
ah that answers my other question aswel :) thanks
Re: Hyperlinking text to another form
glad to help you.
if this has solved your queries, then please Pull the Thread Tools Menu from above the first post and click on *Mark Thread Resolved*. :wave: