<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; OOo Basic: скрытие/отображение панелей инструментов]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=1400&amp;type=atom" />
	<updated>2008-04-25T14:12:30Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=1400</id>
		<entry>
			<title type="html"><![CDATA[OOo Basic: скрытие/отображение панелей инструментов]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=10635#p10635" />
			<content type="html"><![CDATA[<p>Пример скрывает или отображает панель инструментов &quot;Стандартная&quot; (переключатель).<br /></p><div class="codebox"><pre><code>oFrame = ThisComponent.CurrentController.Frame
cURL = &quot;private:resource/toolbar/standardbar&quot;
If oFrame.LayoutManager.IsElementVisible(cURL) Then
    oFrame.LayoutManager.hideElement(cURL)
Else
    oFrame.LayoutManager.showElement(cURL)
EndIf</code></pre></div><p>Названия панелей инструментов (в данном случае &quot;standardbar&quot;) можно посмотреть, например, в файле<br /></p><div class="quotebox"><blockquote><p>C:\Program Files\OpenOffice.org 2.3\share\registry\res\ru\org\openoffice\Office\UI\WriterWindowState.xcu</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[The gray Cardinal]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=2</uri>
			</author>
			<updated>2008-04-25T14:12:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=10635#p10635</id>
		</entry>
</feed>
