Board index » delphi » howto : for col:=1 to 100 do form1.color:=col

howto : for col:=1 to 100 do form1.color:=col

can someone help me with this

 for col:=1 to 100 do form1.color:=col

so i want to set the color with a integer

 

Re:howto : for col:=1 to 100 do form1.color:=col


On Tue, 7 Sep 1999 20:53:51 +0100, "Rene A." <eners...@worldonline.nl>
wrote:

Quote
>can someone help me with this

> for col:=1 to 100 do form1.color:=col

>so i want to set the color with a integer

See the functions ColorToIdent, IdentToColor, ColorToString, and
StringToColor.

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Steve Koterski              "Health nuts are going to feel stupid someday,
Felton, CA                  lying in hospitals dying of nothing."
                                                              -- Redd Foxx

Re:howto : for col:=1 to 100 do form1.color:=col


use a longinteger

Jeff

Steve Koterski heeft geschreven in bericht
<37da954b.27743...@news.gte.net>...

Quote
>On Tue, 7 Sep 1999 20:53:51 +0100, "Rene A." <eners...@worldonline.nl>
>wrote:

>>can someone help me with this

>> for col:=1 to 100 do form1.color:=col

>>so i want to set the color with a integer

>See the functions ColorToIdent, IdentToColor, ColorToString, and
>StringToColor.

>_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>Steve Koterski              "Health nuts are going to feel stupid someday,
>Felton, CA                  lying in hospitals dying of nothing."
>                                                              -- Redd Foxx

Other Threads