<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.visual-prolog.com/index.php?action=history&amp;feed=atom&amp;title=Anchor_Layout_Manager</id>
	<title>Anchor Layout Manager - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.visual-prolog.com/index.php?action=history&amp;feed=atom&amp;title=Anchor_Layout_Manager"/>
	<link rel="alternate" type="text/html" href="https://wiki.visual-prolog.com/index.php?title=Anchor_Layout_Manager&amp;action=history"/>
	<updated>2026-05-24T10:08:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.visual-prolog.com/index.php?title=Anchor_Layout_Manager&amp;diff=4222&amp;oldid=prev</id>
		<title>Thomas Linder Puls: category</title>
		<link rel="alternate" type="text/html" href="https://wiki.visual-prolog.com/index.php?title=Anchor_Layout_Manager&amp;diff=4222&amp;oldid=prev"/>
		<updated>2016-03-04T09:43:55Z</updated>

		<summary type="html">&lt;p&gt;category&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:43, 4 March 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Tutorials]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:GUI]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:GUI]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas Linder Puls</name></author>
	</entry>
	<entry>
		<id>https://wiki.visual-prolog.com/index.php?title=Anchor_Layout_Manager&amp;diff=895&amp;oldid=prev</id>
		<title>Thomas Linder Puls: c</title>
		<link rel="alternate" type="text/html" href="https://wiki.visual-prolog.com/index.php?title=Anchor_Layout_Manager&amp;diff=895&amp;oldid=prev"/>
		<updated>2008-01-19T21:49:08Z</updated>

		<summary type="html">&lt;p&gt;c&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:49, 19 January 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l26&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tutorials]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tutorials]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:GUI]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas Linder Puls</name></author>
	</entry>
	<entry>
		<id>https://wiki.visual-prolog.com/index.php?title=Anchor_Layout_Manager&amp;diff=222&amp;oldid=prev</id>
		<title>Thomas Linder Puls: Move from WEB</title>
		<link rel="alternate" type="text/html" href="https://wiki.visual-prolog.com/index.php?title=Anchor_Layout_Manager&amp;diff=222&amp;oldid=prev"/>
		<updated>2007-08-26T21:22:12Z</updated>

		<summary type="html">&lt;p&gt;Move from WEB&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;When a dialog or a form is resized, the layout of controls should (most likely) be changed. A layout manager is a piece of software that handles the change of layout automatically. Visual Prolog can handle layout using anchors. An anchor fixes the distance of a side of a control to a surrounding container. The control can be anchored on zero to four sides.&lt;br /&gt;
&lt;br /&gt;
==What is Anchor==&lt;br /&gt;
&lt;br /&gt;
Let us imagine that we have a resizable container (a dialog, a form or a control container), and we want to keep a control near the right edge. So we can set:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;vip&amp;gt;Control:setAnchors([control::right]),&amp;lt;/vip&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the control will be moved on container resize to be near to the right edge.&lt;br /&gt;
&lt;br /&gt;
==Anchors in Details==&lt;br /&gt;
&lt;br /&gt;
Please look at the following table, which explains anchors in details. We will imply AnchorList is set as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;vip&amp;gt;Control:setAnchors(AnchorList),&amp;lt;/vip&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;AnchorList&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;Explanation&amp;#039;&amp;#039;&amp;#039; [control::right] The control will be moved on container resize to be near to the &amp;#039;&amp;#039;&amp;#039;right&amp;#039;&amp;#039;&amp;#039; edge. [control::bottom] The control will be moved on container resize to be near to the &amp;#039;&amp;#039;&amp;#039;bottom&amp;#039;&amp;#039;&amp;#039; edge. [control::left, control::right] The control will be &amp;#039;&amp;#039;&amp;#039;resized&amp;#039;&amp;#039;&amp;#039; on container resize to keep the margins to the &amp;#039;&amp;#039;&amp;#039;left&amp;#039;&amp;#039;&amp;#039; and&amp;#039;&amp;#039;&amp;#039; right&amp;#039;&amp;#039;&amp;#039; container&amp;#039;s edges. [control::top, control::bottom] The control will be &amp;#039;&amp;#039;&amp;#039;resized&amp;#039;&amp;#039;&amp;#039; on container resize to keep the margins to the &amp;#039;&amp;#039;&amp;#039;top&amp;#039;&amp;#039;&amp;#039; and&amp;#039;&amp;#039;&amp;#039; bottom&amp;#039;&amp;#039;&amp;#039; container&amp;#039;s edges. [] The control will be &amp;#039;&amp;#039;&amp;#039;moved&amp;#039;&amp;#039;&amp;#039; on container resize to keep its place in the container proportionally. I.e. if control was in the middle of the container, then it will be moved to stay in the middle. [control::left, control::top] The control will &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; be moved on container resize.Each PFC GUI control has the setting&lt;br /&gt;
&lt;br /&gt;
&amp;lt;vip&amp;gt;Control:setAnchors([control::left, control::top]),&amp;lt;/vip&amp;gt;&lt;br /&gt;
&lt;br /&gt;
by default. That is, by default PFC GUI controls are not moved/resized.&lt;br /&gt;
&lt;br /&gt;
The IDE Dialog Editor shows anchors for the selected control.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Thomas Linder Puls</name></author>
	</entry>
</feed>