How use ControlStyles

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

  1. Byak@

    Byak@ Active Member Licensed User

  2. Byak@

    Byak@ Active Member Licensed User

    I'm try RunMethod2("SetStyle","Opaque",True) but have error
     
  3. Byak@

    Byak@ Active Member Licensed User

    up...
    can anybody help me?i think it's add transparent for all controls and some new functions like 'OptimizedDoubleBuffer' and locking auto redraw!
     
  4. Aspire89

    Aspire89 Member Licensed User

    очень интересно, тоже думал о замене стиля контролов
     
  5. agraham

    agraham Expert Licensed User

    Altering these will not do much without other code changes that you can't do with Basic4ppc. It's something along the lines of
    Obj1.RunMethod3("SetStyle", "Opaque", "System.Windows.Forms.ControlStyles" & Obj1.System_Windows_Forms, True, "System.Boolean")
     
  6. Byak@

    Byak@ Active Member Licensed User

    ooo big Thanks Agraham! you my Hero =)

    Aspire89 ксожалению найти способ замены стилей контроллов я несмог.если чтото знаеш напиши в пм плиз.а это просто позволит использовать нсколько интересных плюшек
     
  7. Byak@

    Byak@ Active Member Licensed User

    emm, i have error. in russian "в экземпляре не задана ссылка на обьект"
    i'm try with "UserPaint", "opaque","userMouse"
    and i'm try with diffrent controls...
    Andrew you test it?please give me example
     
  8. agraham

    agraham Expert Licensed User

    Sorry, you can't call it with the Door library. I've checked the documentation and noticed that it is a Protected method. The Door library can only call Public methods.
     
  9. Byak@

    Byak@ Active Member Licensed User

    eeeh... :'-( thanks Andrew
     
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