Results 1 to 11 of 11

Thread: [RESOLVED] Hyperlinking text to another form

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    46

    Resolved [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?
    Last edited by ultimate165; Nov 25th, 2005 at 12:08 PM.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Hyperlinking text to another form

    To open another form you just need to use this code:
    VB Code:
    1. FormName.Show
    You can put this in the _Click event of a button or label for example.

    As for th custom font, it must be installed.

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    46

    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.

  4. #4
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    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.
    Zeegnahtuer?

  5. #5

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    46

    Re: Hyperlinking text to another form

    thank you .

    also can anyone tell me how to use a scroll bar within a text box? thanks
    Last edited by ultimate165; Nov 25th, 2005 at 01:58 PM.

  6. #6
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    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.
    Show Appreciation. Rate Posts.

  7. #7

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    46

    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

  8. #8
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Hyperlinking text to another form

    The MultiLine property of the TextBox must also be set to True otherwise the ScrollBars property is ignored.

  9. #9
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Hyperlinking text to another form

    ah yes, the multiline property also. sorry forgot about it.
    Show Appreciation. Rate Posts.

  10. #10

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    46

    Re: Hyperlinking text to another form

    ah that answers my other question aswel thanks

  11. #11
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    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*.
    Show Appreciation. Rate Posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width