<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
	<id>https://www.gambas-it.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Spostare_la_finestra_di_un_Message</id>
	<title>Spostare la finestra di un Message - Cronologia</title>
	<link rel="self" type="application/atom+xml" href="https://www.gambas-it.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Spostare_la_finestra_di_un_Message"/>
	<link rel="alternate" type="text/html" href="https://www.gambas-it.org/wiki/index.php?title=Spostare_la_finestra_di_un_Message&amp;action=history"/>
	<updated>2026-10-23T09:27:20Z</updated>
	<subtitle>Cronologia della pagina su questo sito</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://www.gambas-it.org/wiki/index.php?title=Spostare_la_finestra_di_un_Message&amp;diff=36601&amp;oldid=prev</id>
		<title>Vuott il 23:32, 31 mag 2024</title>
		<link rel="alternate" type="text/html" href="https://www.gambas-it.org/wiki/index.php?title=Spostare_la_finestra_di_un_Message&amp;diff=36601&amp;oldid=prev"/>
		<updated>2024-05-31T23:32:36Z</updated>

		<summary type="html">&lt;p&gt;&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;it&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Versione meno recente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versione delle 17:32, 31 mag 2024&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-l31&quot;&gt;Riga 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 31:&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;   With dw = New DesktopWindow(Desktop.ActiveWindow)&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;   With dw = New DesktopWindow(Desktop.ActiveWindow)&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;div&gt;  &amp;lt;FONT Color=gray&amp;gt;' ''Evita che il successivo Metodo &amp;quot;.Move()&amp;quot; venga applicato anche alle altre finestre:''&amp;lt;/font&amp;gt;  &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;  &amp;lt;FONT Color=gray&amp;gt;' ''Evita che il successivo Metodo &amp;quot;.Move()&amp;quot; venga applicato anche alle altre finestre:''&amp;lt;/font&amp;gt;  &lt;/div&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;     If .&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;VisibleName &lt;/del&gt;&amp;lt;&amp;gt; &amp;quot;Titolo del Message&amp;quot; Then Return&lt;/div&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;     If .&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Name &lt;/ins&gt;&amp;lt;&amp;gt; &amp;quot;Titolo del Message&amp;quot; Then Return&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;div&gt;  &amp;lt;FONT Color=gray&amp;gt;' ''Applica dunque il Metodo &amp;quot;.Move()&amp;quot; alla sola finestra del &amp;quot;Message&amp;quot;:''&amp;lt;/font&amp;gt;  &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;  &amp;lt;FONT Color=gray&amp;gt;' ''Applica dunque il Metodo &amp;quot;.Move()&amp;quot; alla sola finestra del &amp;quot;Message&amp;quot;:''&amp;lt;/font&amp;gt;  &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;div&gt;     &amp;lt;FONT Color=#B22222&amp;gt;.Move&amp;lt;/font&amp;gt;(Screen.AvailableWidth * 0.8, Screen.AvailableHeight * 0.2)&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;     &amp;lt;FONT Color=#B22222&amp;gt;.Move&amp;lt;/font&amp;gt;(Screen.AvailableWidth * 0.8, Screen.AvailableHeight * 0.2)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vuott</name></author>
	</entry>
	<entry>
		<id>https://www.gambas-it.org/wiki/index.php?title=Spostare_la_finestra_di_un_Message&amp;diff=34596&amp;oldid=prev</id>
		<title>Vuott: Creata pagina con &quot;Solitamente la finestra del ''Message'' si mostra centrata rispetto alla scrivania. &lt;BR&gt;E' possibile decidere in quale punto della Scrivania far apparire la finestra del ''Mes...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.gambas-it.org/wiki/index.php?title=Spostare_la_finestra_di_un_Message&amp;diff=34596&amp;oldid=prev"/>
		<updated>2023-07-28T15:19:04Z</updated>

		<summary type="html">&lt;p&gt;Creata pagina con &amp;quot;Solitamente la finestra del &amp;#039;&amp;#039;Message&amp;#039;&amp;#039; si mostra centrata rispetto alla scrivania. &amp;lt;BR&amp;gt;E&amp;#039; possibile decidere in quale punto della Scrivania far apparire la finestra del &amp;#039;&amp;#039;Mes...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nuova pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Solitamente la finestra del ''Message'' si mostra centrata rispetto alla scrivania.&lt;br /&gt;
&amp;lt;BR&amp;gt;E' possibile decidere in quale punto della Scrivania far apparire la finestra del ''Message'', impostando le sue coordinate.&lt;br /&gt;
&amp;lt;BR&amp;gt;Per fare ciò, bisognerà individuare il numero identificativo della sua finestra attraverso la Proprietà &amp;quot;.ActiveWindow&amp;quot; della Classe statica ''Desktop'', e successivamente utilizzare il Metodo &amp;quot;.Move()&amp;quot; della Classe &amp;quot;DesktopWindow&amp;quot;.&lt;br /&gt;
&amp;lt;BR&amp;gt;A tal fine è necessario che il ''Message'' abbia un titolo della propria finestra (e ciò si imposterà con la Proprietà &amp;quot;.Title&amp;quot;), e che siano attivati anche i Componenti &amp;quot;gb.desktop&amp;quot; e &amp;quot;gb.desktop.x11&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Mostriamo un esempio pratico:&lt;br /&gt;
 Private Timer1 As Timer&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Public Sub Button1_Click()&lt;br /&gt;
 &lt;br /&gt;
  With Timer1 = New Timer As &amp;quot;Timer1&amp;quot;&lt;br /&gt;
    .Delay = 100&lt;br /&gt;
    .Start&lt;br /&gt;
  End With&lt;br /&gt;
 &lt;br /&gt;
  With Message&lt;br /&gt;
    &amp;lt;FONT Color=#B22222&amp;gt;.Title&amp;lt;/font&amp;gt; = &amp;quot;Titolo del Message&amp;quot;&lt;br /&gt;
    .Info(&amp;quot;Testo qualsiasi&amp;quot;)&lt;br /&gt;
  End With&lt;br /&gt;
 &lt;br /&gt;
 End&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Public Sub Timer1_Timer()&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;FONT Color=gray&amp;gt;' ''Il &amp;quot;Timer&amp;quot; consente di verificare l'attuale finestra &amp;quot;attiva&amp;quot; e posta al di sopra delle altre.''&lt;br /&gt;
 ' ''Quando sarà stato aperto il &amp;quot;Message&amp;quot;, il Metodo &amp;quot;Desktop.ActiveWindow&amp;quot; ne individuerà la finestra e quindi il suo ID:''&amp;lt;/font&amp;gt;&lt;br /&gt;
  Dim dw As DesktopWindow&lt;br /&gt;
 &lt;br /&gt;
  With dw = New DesktopWindow(Desktop.ActiveWindow)&lt;br /&gt;
 &amp;lt;FONT Color=gray&amp;gt;' ''Evita che il successivo Metodo &amp;quot;.Move()&amp;quot; venga applicato anche alle altre finestre:''&amp;lt;/font&amp;gt; &lt;br /&gt;
    If .VisibleName &amp;lt;&amp;gt; &amp;quot;Titolo del Message&amp;quot; Then Return&lt;br /&gt;
 &amp;lt;FONT Color=gray&amp;gt;' ''Applica dunque il Metodo &amp;quot;.Move()&amp;quot; alla sola finestra del &amp;quot;Message&amp;quot;:''&amp;lt;/font&amp;gt; &lt;br /&gt;
    &amp;lt;FONT Color=#B22222&amp;gt;.Move&amp;lt;/font&amp;gt;(Screen.AvailableWidth * 0.8, Screen.AvailableHeight * 0.2)&lt;br /&gt;
    Timer1.Stop&lt;br /&gt;
  End With&lt;br /&gt;
 &lt;br /&gt;
 End&lt;/div&gt;</summary>
		<author><name>Vuott</name></author>
	</entry>
</feed>