Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Inplace edit control (Read 7558 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Inplace edit control
Reply #15 - Aug 6th, 2009 at 7:10pm
Print Post  
Hi Dexter,

You could keep a reference to the edit control and set edit.Bounds = diagramView.DocToClient(node.Bounds) after changing ZoomFactor.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Dexter
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 62
Joined: Jun 25th, 2009
Re: Inplace edit control
Reply #16 - Aug 7th, 2009 at 7:02am
Print Post  
Thanks is works.

Do you know a way to obtain the bounds of a table cell. I have a table node and the inplace edit control spans only the cell not the hole node. So now if I zoom in/out and modify the bounds of the edit control according to the table node bounds all my layout is gone and this is strange. I do not know how can I obtain the bounds of the cell.
Is there a way?

Thanks in advance

Dexter
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Inplace edit control
Reply #17 - Aug 7th, 2009 at 8:53am
Print Post  
Call the TableNode.GetSpannedCellRect method.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint