HomeHomeDigitalRune Sof...DigitalRune Sof...Docking Windows...Docking Windows...Set active DockableFormSet active DockableForm
Previous
 
Next
New Post
9/4/2010 12:52 PM
 
Hello,
i need to know, how i can set the active/selected DockableForm in a dockpanel. It also interests me, how i can set the maximum number of characters. Or is this anyway possible?
thanks,
FlashTek
 
New Post
9/6/2010 9:37 AM
 
Just call DockableForm.Activate() to activate/select a DockableForm.

Where do you want to set a maximum number of characters? Are you referring to the title of a DockableWindow?
 
New Post
9/6/2010 3:52 PM
 
Sorry, my last question refers to the Text Editor Control .
 
New Post
9/7/2010 9:54 AM
 
The Text Editor Control does not directly support that. There is no property to set the max number of characters. 
 
New Post
9/9/2010 4:32 PM
 
and why does it show sometimes errors if i try to paste in a text, which is longer than 50000 chars?
 
New Post
9/10/2010 9:50 AM
 
What kind of errors? Can you be more precise?

The control has troubles rendering long lines (lots of characters in a single line). This is a known problem.
 
New Post
10/18/2010 3:58 PM
 
ok..now i've got an other question: is it possilbe to set the minimum/maximum size of a DockableForm?
 
New Post
10/18/2010 4:48 PM
 
No, this is not possible. The reason is that in some situations it is impossible to enforce such size constraints.

Just imagine two DockableForms: The first requires a minimum size of 200 x 200. The second has a maximum size of 100 x 100. It would not be possible to dock these forms in the same DockPane or next to each other. It is also no longer possible to dock one of the forms in the document area (center) because forms in the center are always stretched to fill the document area.

That is the reason why DockableForms should be resizable.
 
Previous
 
Next
HomeHomeDigitalRune Sof...DigitalRune Sof...Docking Windows...Docking Windows...Set active DockableFormSet active DockableForm