Jump to content


Photo

Text Help


  • Please log in to reply
4 replies to this topic

#1 Cloud54367

Cloud54367

    Young Padawan

  • Members
  • Pip
  • 45 posts

Posted 14 August 2005 - 01:37 PM

ok what im trying to do is use a combo box to change a labels text on a diffrent incrament depending on what combo box 1 is. I know thats cofusing so lemme say it diffrently


Combobox1=Grunge comboboix2=verenda(the font i want)

lblText font now becomes Verenda Now how could i code that withouth making a million diffrent visible states for each freaking thing. Because i want to have a whole wack of texts here and the User has to be able to change it

herews what i got so far

Private Sub Combo2_Validate(Cancel As Boolean)

If (Combo2.ListIndex = 1) Then
    If (Combo1.ListIndex = 1) Then
        lblText.Font = "3 theHard way RMX"
    End If
End If
End Sub

thx

#2 ronson

ronson

    Banned For Being Purple

  • Twodded Staff
  • PipPip
  • 480 posts
  • Gender:Male
  • Location:North Yorkshire, UK
  • Interests:Rugby, Programming, Building Computers, Networking, Web Design and...........BINGE DRINKING!!!!!!.

Posted 14 August 2005 - 02:50 PM

Can you explain this a little more? I'm confused o.O

#3 Cloud54367

Cloud54367

    Young Padawan

  • Members
  • Pip
  • 45 posts

Posted 14 August 2005 - 02:58 PM

Ok i am making a program first off the installer installs 200 pretty new fonts into there font pack Now the point is using a VB controler They have to be able to See these fonts. So using a combo box i have arranged catagories Such as grunge abstract Pixel ETC then i want when you choose Grunge the second combo box has a bunch of font names IE 3 hard way remix ETC ETC then when you choose that font the label i have made named TEXT's font becomes the font you just chose. I hope that made sens Thx

#4 Cloud54367

Cloud54367

    Young Padawan

  • Members
  • Pip
  • 45 posts

Posted 14 August 2005 - 03:15 PM

NM i fixed it Sry for dbl post

#5 ronson

ronson

    Banned For Being Purple

  • Twodded Staff
  • PipPip
  • 480 posts
  • Gender:Male
  • Location:North Yorkshire, UK
  • Interests:Rugby, Programming, Building Computers, Networking, Web Design and...........BINGE DRINKING!!!!!!.

Posted 14 August 2005 - 09:50 PM

Ok, so you've got the problem sorted out now?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users