Anchoring, Docking Sample Code

Code samples and article discussion

Moderators: Frank Hileman, Anne Szyjan

Post Reply
User avatar
Frank Hileman
Site Admin
Posts: 1400
Joined: Sun Jul 25, 2004 8:16 pm
Location: California
Contact:

Anchoring, Docking Sample Code

Post by Frank Hileman » Mon Sep 11, 2006 1:39 pm

An upcoming version of VG.net (4.1) will have layout features in the designer. With the existing version of VG.net you can get anchoring and docking effects by writing a bit of code in SetBoundsCore. This sample illustrates several techniques you may find useful:

Anchoring and Docking Sample for Visual Studio 2005

Anchoring and Docking Sample for Visual Studio 2003

Regards,
Last edited by Frank Hileman on Wed Apr 11, 2007 3:13 pm, edited 1 time in total.

Nisse
Posts: 4
Joined: Thu Sep 07, 2006 12:32 am
Location: Sweden

Post by Nisse » Mon Sep 11, 2006 11:56 pm

Thanks. Thats a good startingpoint I can use.

onit

Post by onit » Wed Apr 11, 2007 5:56 am

How to receive the version for VS2003?

User avatar
Frank Hileman
Site Admin
Posts: 1400
Joined: Sun Jul 25, 2004 8:16 pm
Location: California
Contact:

Post by Frank Hileman » Wed Apr 11, 2007 3:15 pm

Hello Onit,

I added a new sample, and put the link in the first message.

If you are interested in reviewing how VG.net 4.1 will implement anchoring and docking (as well as other layout enhancements), I can send you a link to a google doc containing preliminary documentation. I cannot give you a build quite yet.

Regards,

Post Reply