<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=Command_Window</id>
	<title>Command Window - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=Command_Window"/>
	<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=Command_Window&amp;action=history"/>
	<updated>2026-11-21T10:24:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://wiki.dabo.leafe.com/index.php?title=Command_Window&amp;diff=4068&amp;oldid=prev</id>
		<title>Ed: Created page with &quot;The Command Window is a concept taken directly from the VisualFoxPro application. It allows you to interact with a live, running application to either debug problems, or t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=Command_Window&amp;diff=4068&amp;oldid=prev"/>
		<updated>2020-05-11T18:31:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The Command Window is a concept taken directly from the &lt;a href=&quot;/index.php?title=VisualFoxPro&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;VisualFoxPro (page does not exist)&quot;&gt;VisualFoxPro&lt;/a&gt; application. It allows you to interact with a live, running application to either debug problems, or t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The Command Window is a concept taken directly from the [[VisualFoxPro]] application. It allows you to interact with a live, running application to either debug problems, or to experiment with various changes. It allows you to execute commands and view the results of those commands. You can also scroll up to a previously executed command line and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; in order to place that command on the current line, where you can either edit it and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to execute it.&lt;br /&gt;
&lt;br /&gt;
By convention, the Command Window is created in the context of the active form. What this means is that the variable &amp;lt;code&amp;gt;self&amp;lt;/code&amp;gt; is assigned to reference that window, allowing convenient access to the properties and methods of that form. There is also a neat trick for grabbing references to other objects in your app. To do this, make the Command Window active, and then place the mouse pointer over the object you are interested in (don&amp;#039;t click on it, though!). Then type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
ref = dabo.ui.getMouseObject()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the variable &amp;lt;code&amp;gt;ref&amp;lt;/code&amp;gt; now contains a reference to the object under the mouse pointer. You can then interact directly with that object by executing commands such as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
ref.Caption = &amp;quot;St. Jimmy&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the Caption of the object will immediately update to reflect that change.&lt;/div&gt;</summary>
		<author><name>Ed</name></author>
	</entry>
</feed>