Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

as suggested, i tried out the divil docking instead to compare to the magic docking. i do like it much better!

 

What methods do I use in code to add something to the DockControl without using Drag-n-Drop?

 

on FormMain, I have a DockHost.

on that DockHost, I have a DockPanel.

on that DockPanel, I have a DockControl.

 

The examples are great, but I need to do this from the code since the object I want to put on the DockControl is not on my ToolBar.

 

any help would be greatly appreciated.

Posted

i just ended up copying the panel from the other form and pasting it on the DockControl.

 

Now I'm confused which components to use. Now I can't even set a FloatingWidth for when the a panel is un-docked, because it says it is a read only attribute. I like the feel of divil's components better, but magic is easier to save and restore.

 

i feel so n00b.

Posted

thanks! i figure i just need a little time working with it .. after going back to magic to work on it a little more, i see how much nicer the divil controls are to work with. i like the way the docks work better too. more solid is the only way i can describe it.

 

i really appreciate the help ..and i really apperciate the controls too!

 

now it is time to go build something cool =) .. thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...