none
Lineshape problems when selected RRS feed

  • Question

  • Hey I need a little help w/ my line shape and shape container. I've looked everywhere on the internet and can't seem to come up with an answer.

    Part A of the problem:

    In my form I create a shape container container and add some lines to it (at runtime). However when I click on a line it gets selected and I don't want it to. Clicking another line will move the selection but I can't get rid of the selection. Any way to prevent this selection from happening.


    Part B of the problem (may be a non issue if A is solved)
    My design is located in a panel w/ scroll bars. Once one of the lines get selected the scroll bars reset to the top and left . I can then move the scroll bars back to wherever I want them but clicking anywhere in the form or minimizing/restoring the form also resets the scroll bars.


    Problem B is related to Problem A but I can't figure out how to solve either!

    Suggestions??

    -Jesse




    Monday, September 8, 2008 1:24 AM

Answers

  • Hello, 
     
          I think Windows Forms General forum will be more fit for your question.   You will get more help from the experts on WinForm development there.

          Thanks,

    Best Regards,
    Lingzhi
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/csharpide/thread/8e9ed0d7-11ff-402a-8489-9b5f05eeb706 http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    Thursday, September 11, 2008 6:59 AM
    Moderator

All replies

  • Hello, 
     
          I think Windows Forms General forum will be more fit for your question.   You will get more help from the experts on WinForm development there.

          Thanks,

    Best Regards,
    Lingzhi
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/csharpide/thread/8e9ed0d7-11ff-402a-8489-9b5f05eeb706 http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    Thursday, September 11, 2008 6:59 AM
    Moderator
  • Did you found any solution on this? I have the same problem(Part B).
    Thursday, January 30, 2014 8:58 AM
  • As mentioned by Michael, you should ask in the Windows Forms General forum

    Also, responding to a thread that's over 5 years old will rarely provide any answer....

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    Thursday, January 30, 2014 6:55 PM
    Moderator