Anchor Property error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • TW Scannell

    Anchor Property error

    Hello,
    When I try to change the Anchor property of a textbox, from "Top, Left" to
    all four sides I get an "Invalid Property Value" Error. The details state
    "Cannot widen from target type to primative Type".

    Thanks in advance.
    TW Scannell


  • Armin Zingler

    #2
    Re: Anchor Property error

    "TW Scannell" <twscannell@hot mail.com> schrieb[color=blue]
    > Hello,
    > When I try to change the Anchor property of a textbox, from "Top,
    > Left" to all four sides I get an "Invalid Property Value" Error. The
    > details state "Cannot widen from target type to primative Type".
    >[/color]

    I can not reproduce this problem (VB 2003, Framework 1.1, WinXP Prof)


    --
    Armin




    Comment

    • TW Scannell

      #3
      Re: Anchor Property error

      Hmm. I am using VB.Net 2003 Standard edition, on Win 2000 Server

      Probably another problem with the Standard edition. What a POS

      Thanks


      "TW Scannell" <twscannell@hot mail.com> wrote in message
      news:uiXMeEzvDH A.3220@tk2msftn gp13.phx.gbl...[color=blue]
      > Hello,
      > When I try to change the Anchor property of a textbox, from "Top, Left" to
      > all four sides I get an "Invalid Property Value" Error. The details state
      > "Cannot widen from target type to primative Type".
      >
      > Thanks in advance.
      > TW Scannell
      >
      >[/color]


      Comment

      • Mike Bulava

        #4
        Re: Anchor Property error

        It might be that you have the Multiline Property set to false, when set to
        false a textbox's hieght can't be adjusted.

        I haven't tried it thought just thought I'dd throw it out as a suggestion.


        "TW Scannell" <twscannell@hot mail.com> wrote in message
        news:uiXMeEzvDH A.3220@tk2msftn gp13.phx.gbl...[color=blue]
        > Hello,
        > When I try to change the Anchor property of a textbox, from "Top, Left" to
        > all four sides I get an "Invalid Property Value" Error. The details state
        > "Cannot widen from target type to primative Type".
        >
        > Thanks in advance.
        > TW Scannell
        >
        >[/color]


        Comment

        • TW Scannell

          #5
          Re: Anchor Property error

          I tried the same thing with the full/earlier version and got the same error.
          It is on a different machine. It is the MN Dev Environment 2002 version
          7.0.9466

          Maybe it's a Win2000 server thing.


          "TW Scannell" <twscannell@hot mail.com> wrote in message
          news:uiXMeEzvDH A.3220@tk2msftn gp13.phx.gbl...[color=blue]
          > Hello,
          > When I try to change the Anchor property of a textbox, from "Top, Left" to
          > all four sides I get an "Invalid Property Value" Error. The details state
          > "Cannot widen from target type to primative Type".
          >
          > Thanks in advance.
          > TW Scannell
          >
          >[/color]


          Comment

          Working...