<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.docs.clomosy.com/index.php?action=history&amp;feed=atom&amp;title=With_Do</id>
	<title>With Do - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.docs.clomosy.com/index.php?action=history&amp;feed=atom&amp;title=With_Do"/>
	<link rel="alternate" type="text/html" href="https://www.docs.clomosy.com/index.php?title=With_Do&amp;action=history"/>
	<updated>2026-04-20T09:03:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://www.docs.clomosy.com/index.php?title=With_Do&amp;diff=4082&amp;oldid=prev</id>
		<title>Salih: Salih moved page With&amp;Do to With Do</title>
		<link rel="alternate" type="text/html" href="https://www.docs.clomosy.com/index.php?title=With_Do&amp;diff=4082&amp;oldid=prev"/>
		<updated>2025-11-03T12:41:53Z</updated>

		<summary type="html">&lt;p&gt;Salih moved page &lt;a href=&quot;/index.php?title=With%26Do&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;With&amp;amp;Do (page does not exist)&quot; rel=&quot;nofollow&quot;&gt;With&amp;amp;Do&lt;/a&gt; to &lt;a href=&quot;/With_Do&quot; title=&quot;With Do&quot;&gt;With Do&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:41, 3 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Salih</name></author>
	</entry>
	<entry>
		<id>https://www.docs.clomosy.com/index.php?title=With_Do&amp;diff=4081&amp;oldid=prev</id>
		<title>Salih: Created page with &quot;The &lt;b&gt;with &amp; do&lt;/b&gt; statement in Clomosy is used to simplify object member access by allowing multiple property or method assignments to be made within a single context block.&lt;br&gt;  This structure is particularly useful when working with complex objects, as it eliminates the need to repeatedly specify the object name.&lt;br&gt;  &lt;div class=&quot;table-responsive&quot;&gt; {| class=&quot;wikitable&quot; style=&quot;border: 2px solid #c3d7e0&quot; ! style=&quot;background-color: #c3d7e0&quot;| Statement !!style=&quot;backgrou...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.docs.clomosy.com/index.php?title=With_Do&amp;diff=4081&amp;oldid=prev"/>
		<updated>2025-11-03T12:38:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;lt;b&amp;gt;with &amp;amp; do&amp;lt;/b&amp;gt; statement in Clomosy is used to simplify object member access by allowing multiple property or method assignments to be made within a single context block.&amp;lt;br&amp;gt;  This structure is particularly useful when working with complex objects, as it eliminates the need to repeatedly specify the object name.&amp;lt;br&amp;gt;  &amp;lt;div class=&amp;quot;table-responsive&amp;quot;&amp;gt; {| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;border: 2px solid #c3d7e0&amp;quot; ! style=&amp;quot;background-color: #c3d7e0&amp;quot;| Statement !!style=&amp;quot;backgrou...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;b&amp;gt;with &amp;amp; do&amp;lt;/b&amp;gt; statement in Clomosy is used to simplify object member access by allowing multiple property or method assignments to be made within a single context block.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This structure is particularly useful when working with complex objects, as it eliminates the need to repeatedly specify the object name.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;table-responsive&amp;quot;&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;border: 2px solid #c3d7e0&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #c3d7e0&amp;quot;| Statement !!style=&amp;quot;background-color: #c3d7e0&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|with ... do || Creates a scoped block that allows direct access to the specified object’s members without repeating its reference name. &lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
var&lt;br /&gt;
  MyForm : TclForm;&lt;br /&gt;
  ProPanelTop: TCLProPanel;&lt;br /&gt;
  TitleLabel: TCLProLabel;&lt;br /&gt;
{&lt;br /&gt;
  MyForm = TclForm.Create(Self);&lt;br /&gt;
&lt;br /&gt;
  ProPanelTop = MyForm.AddNewProPanel(MyForm, 'ProPanelTop');&lt;br /&gt;
&lt;br /&gt;
  with ProPanelTop do&lt;br /&gt;
  {&lt;br /&gt;
    Align = alMostTop;&lt;br /&gt;
    Height = 80;&lt;br /&gt;
    clProSettings.BorderColor = clAlphaColor.clHexToColor('#890410');&lt;br /&gt;
    clProSettings.RoundHeight = 10;&lt;br /&gt;
    clProSettings.RoundWidth = 10;&lt;br /&gt;
    clProSettings.BorderWidth = 2;&lt;br /&gt;
    clProSettings.IsFill = True;&lt;br /&gt;
    clProSettings.IsRound = True;&lt;br /&gt;
    SetclProSettings(clProSettings);&lt;br /&gt;
&lt;br /&gt;
    TitleLabel = MyForm.AddNewProLabel(ProPanelTop, 'TitleLabel', 'Welcome to Clomosy!');&lt;br /&gt;
    with TitleLabel do&lt;br /&gt;
    {&lt;br /&gt;
      Align = alCenter;&lt;br /&gt;
      Width = 200;&lt;br /&gt;
      clProSettings.FontSize = 16;&lt;br /&gt;
      clProSettings.TextSettings.Font.Style = [fsBold];&lt;br /&gt;
      SetclProSettings(clProSettings);&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
  MyForm.Run;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;alert alert-warning&amp;quot; role=&amp;quot;alert&amp;quot; data-bs-theme=&amp;quot;light&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Avoid using multiple nested &amp;lt;b&amp;gt;with &amp;amp; do&amp;lt;/b&amp;gt; blocks whenever possible, as they can reduce readability and complicate debugging.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#seo:|title=With &amp;amp; Do Statement in Clomosy - Clomosy Docs}}&lt;br /&gt;
{{#seo:|description=Learn how to use the with &amp;amp; do statement in Clomosy to simplify object property access and improve code readability.}}&lt;/div&gt;</summary>
		<author><name>Salih</name></author>
	</entry>
</feed>