Crainiate Community

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

Search

Page 1 of 2 (20 items) 1 2 Next >
  • Bug in port rendering?

    When I disable the DrawBorder property in a port, it still renders the border. I'm sure that it is the border that is rendered because if I change the BorderWidth or BorderColor, I can see the change, so I think the property is being ignored. If I assign a CustomPen with a transparent SolidBrush, I sometimes get the desired behaviour but ...
    Posted to ERM Diagram 4.x (Forum) by Mathy on 06-02-2009
  • Re: Rendering while drawing?

    I found the problem. I forgot to override the Clone() method so the drawing was done on Connector objects instead of my class. 
    Posted to ERM Diagram 4.x (Forum) by Mathy on 06-05-2008
  • Re: Rendering while drawing?

    I thought so too, but the method is never called. 
    Posted to ERM Diagram 4.x (Forum) by Mathy on 06-05-2008
  • Rendering while drawing?

    I have inherited from Connector and am doing some custom rendering on it. However, the Render method does not seem to be called when you are busy drawing the connector on the model (unless it isn't virtual?). Where is this drawing done?
    Posted to ERM Diagram 4.x (Forum) by Mathy on 06-04-2008
  • Re: Only allow connections between ports?

     I solved it like this:         protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e)         {             if (Runtime.InteractiveMode != InteractiveMode.AddConnector || ...
    Posted to ERM Diagram 4.x (Forum) by Mathy on 05-29-2008
  • Re: Only allow connections between ports?

     But this does not stop you from drawing undocked lines on the model, which is what I want to avoid.
    Posted to ERM Diagram 4.x (Forum) by Mathy on 05-29-2008
  • Re: Custom rendering on ports

     I solved it by setting alignment to Outset, I missed that property when looking for a solution.
    Posted to ERM Diagram 4.x (Forum) by Mathy on 05-29-2008
  • Only allow connections between ports?

    Is this possible? I would like something like click on port, drag to other port, finished! So clicking + dragging anywhere else is not possible.
    Posted to ERM Diagram 4.x (Forum) by Mathy on 05-28-2008
  • Custom rendering on ports

    Hi, I am doing some custom rendering in a class inherited from Port. I can't figure out however how I can shift the area of the port a bit so that the center is not on the border of the shape. I fiddled with Offset and InternalRectangle already but that doesn't give the wanted results. Any tips? thx, Mathy  
    Posted to ERM Diagram 4.x (Forum) by Mathy on 05-28-2008
  • Re: Use controls in shapes

    At the moment I would like to put a combo-box on a shape. I already tried with letting the combo-box render in the diagram bitmap when it is redrawn, but this doesn't run very smoothly. Besides that there is quite some code needed to handle mouse-events etc properly. If it was something simple like a toggle-button it would be fairly easy to ...
    Posted to ERM Diagram 4.x (Forum) by Mathy on 05-15-2008
Page 1 of 2 (20 items) 1 2 Next >