Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set an objects backcolor using Int Value
Message
De
11/07/2006 17:33:36
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01135513
Message ID:
01135529
Vues:
10
>I am trying to set an object (dbi-tech Schedule.NET) backcolor and forecolor with values that are stored for a record in the database. The database is storing them as an Int value.
>
>Thanks for anyhelp.
>
>Kirk

Kirk,

Assuming that the color value in the database is an RGB value, use:
.BackColor = System.Drawing.Color.FromArgb(i)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform