How paltalk color fading works?

You can talk about VB programming here

How paltalk color fading works?

Postby locohacker » Fri Jan 27, 2006 9:12 pm


Umm, I am think about making a cool progie addon for paltalk with them flowers and stuff, the only thing i cant figure out is how this color fading work in paltalk now, any tips :)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4361
Joined: Fri Dec 31, 2004 6:59 pm

Postby locohacker » Fri Jan 27, 2006 9:35 pm

this just code i found :) i think it got the info i m lookign for :)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4361
Joined: Fri Dec 31, 2004 6:59 pm

Postby locohacker » Fri Jan 27, 2006 10:17 pm

lol and someone on vb forums hook me up withthis code :) it fades the color lol only one but its a start put everything together a wallaa :) aigh its friday let go get drunk lol

Code: Select all
Private Sub Command1_Click()
Dim R%, G%, B%, i%

    R = 255
    G = 200
    B = 255
   
    With RichTextBox1
        For i = 0 To Len(.Text)
            .SelStart = i
            .SelLength = 1
            .SelColor = RGB(R, G, B)
           
            'you'll have to play with these numbers
            'R = R - 1
            'G = G - 1
            B = B - 1
        Next i
    End With

End Sub
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4361
Joined: Fri Dec 31, 2004 6:59 pm

Postby locohacker » Sat Jan 28, 2006 10:38 am

Argggggggg piece of crap dont work, lol it fades grade without the color mod that i was using before, but i still get the darn character error on paltalk :( ah nyways check this eay way to fade some colors although dont work on paltalk :)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4361
Joined: Fri Dec 31, 2004 6:59 pm

Postby rattled_Cage » Sat Feb 04, 2006 8:12 pm

:D loco

seen some of your posts on vb today take a look at this might help you
if i didnt keep forgetting my password to here i would of posted it earlier

http://www.vbcode.com/Asp/showzip.asp?Z ... theID=2519


it adds it with rainbow colours to another rich text at the bottom
the html fader is pretty neat too
rattled_Cage
imFiles Newbie
imFiles Newbie
 
Posts: 18
Joined: Wed Nov 09, 2005 12:18 pm

Postby rattled_Cage » Sat Feb 04, 2006 8:18 pm

<font color="#ff0000">d</font><font color="#ff5500">o</font><font color="#ffaa00">e</font><font color="#feff00">s</font> <font color="#a9ff00">i</font><font color="#54ff00">t</font> <font color="#00ff00">w</font><font color="#00ff55">o</font><font color="#00ffaa">r</font><font color="#00feff">k</font> <font color="#00a9ff">i</font><font color="#0054ff">n</font> <font color="#0000ff">f</font><font color="#5500ff">o</font><font color="#aa00ff">r</font><font color="#ff00fe">u</font><font color="#ff00a9">m</font><font color="#ff0054">s</font> <font color="#ff0000">?</font>


<font color="#ff0000">i</font> <font color="#ffda00">g</font><font color="#48ff00">u</font><font color="#00ff91">e</font><font color="#0091ff">s</font><font color="#4800ff">s</font> <font color="#ff00da">s</font><font color="#ff0000">o</font>

sureley you could add the bottom rtf box to another with the colours
rattled_Cage
imFiles Newbie
imFiles Newbie
 
Posts: 18
Joined: Wed Nov 09, 2005 12:18 pm

Postby locohacker » Sun Feb 05, 2006 2:27 am

Thanks, mn i gonna see if it works cause i try one similar before and it didnt work right, and i am working in a program call funtext i getting close to make it close to the other pay programs lol :)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4361
Joined: Fri Dec 31, 2004 6:59 pm


Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests