Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting A Color Property
Message
De
17/03/2003 15:04:27
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00766679
Message ID:
00766686
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>I am trying to set the background and text colors of a bar within an activex control (dbi-tech schedule.ocx). In foxpro, I just olecontrol1.barBackColor(nRow,nBar,12345678).
>
>In the windows form in .net I'm trying:
>
>Me.AxctSchedule1.set_BarBackColor(lnRow, nBar, iBarBackColor)
>but I get the following error:
>
>Value of Type Integer cannot be converted to System.UInt32
>
>In the intellisense it shows for the third parameter: Param0 as System.UInt32
>
>Can anybody help me here?
>
>Thanks
>Kirk


Try this, I think.

Me.AxctSchedule1.set_BarBackColor(lnRow, nBar, System.Convert.ToUInt32(iBarBackColor))


Dan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform