Crainiate Community

Support and discussion for users of Crainiate component software products
Welcome to Crainiate Community Sign in | Join | Help
in Search

LabelEdit example?

Last post 12-27-2007 10:09 AM by James Westgate. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-26-2007 11:47 AM

    LabelEdit example?

    Hi there,

    Can anybody post an example of how to use the LabelEdit control to have a user edit a shape label at runtime?

    Thanks a lot!

     Douwe

    • 83.83.165.121
  • 12-27-2007 10:09 AM In reply to

    Re: LabelEdit example?

    private void model1_ElementDoubleClick(object sender, System.EventArgs e) 

        if (sender is Shape) 
        { 
            Shape shape = (Shape) sender; 
         
            if (shape.Label != null) model1.StartEdit(shape.Label); 
        } 
    }

    Filed under: ,
    • 86.143.244.16
Page 1 of 1 (2 items)