convert Color to B4ppc's color?

Discussion in 'Questions (Windows Mobile)' started by Byak@, Jul 13, 2009.

  1. Byak@

    Byak@ Active Member Licensed User

    Code:
    clr.new1(False)
    clr.createNew(
    "System.Drawing.Color"&clr.System_Drawing)
    button1.color=clr.getproperty(
    "Red")
    in IDE work fine,but when i'm compil it i have IConvertible error (next in russian)
    i think i must convert Color to Digits. yes? and how do it?
     
  2. agraham

    agraham Expert Licensed User

    Code:
    clr.new1(False)
    clr.createNew(
    "System.Drawing.Color"&clr.System_Drawing)
    clr.Value = clr.getproperty(
    "Red"' returns a Color object
    button1.color=clr.RunMethod("ToArgb"' convert Color to an Int32
     
  3. Byak@

    Byak@ Active Member Licensed User

    Thanks :-[
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice