>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement