<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум компьютерной помощи &mdash; Измение шрифта в поле.]]></title>
		<link>https://itpmr.ru/viewtopic.php?id=771</link>
		<atom:link href="https://itpmr.ru/extern.php?action=feed&amp;tid=771&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Измение шрифта в поле.».]]></description>
		<lastBuildDate>Fri, 22 Mar 2013 09:32:35 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Измение шрифта в поле.]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123857#p123857</link>
			<description><![CDATA[<p>Почему-то не работает этот лотус скрипт:</p><p>Sub Click(Source As Button)<br />&nbsp; &nbsp; Dim session As New NotesSession<br />&nbsp; &nbsp; Dim uiworkspace As New NotesUIWorkspace&nbsp; &nbsp; <br />&nbsp; &nbsp; Dim db As NotesDatabase<br />&nbsp; &nbsp; Set db =&nbsp; session.CurrentDatabase<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; Dim UIDoc As NotesUIDocument<br />&nbsp; &nbsp; Set UIDoc = uiworkspace.CurrentDocument<br />&nbsp; &nbsp; Dim doc As NotesDocument<br />&nbsp; &nbsp; Set doc = UIDoc.Document<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; Dim body As NotesRichTextItem<br />&nbsp; &nbsp; Dim rtnavBody As NotesRichTextNavigator &#039; навигация по полю<br />&nbsp; &nbsp; Dim rtrangeTable As NotesRichTextRange <br />&nbsp; &nbsp; Dim style As NotesRichTextStyle<br />&nbsp; &nbsp; Set body = doc.GetFirstItem(&quot;СОДЕРЖАНИЕ_&quot;)<br />&nbsp; &nbsp; Set rtnavBody = body.CreateNavigator &#039; не получаем знаечние<br />&nbsp; &nbsp; Set rtrangeTable = body.CreateRange<br />&nbsp; &nbsp; Call&nbsp; &nbsp; rtrangeTable.SetBegin(rtnavBody)<br />&nbsp; &nbsp; Call rtrangeTable.SetEnd(rtnavBody)<br />&nbsp; &nbsp; REM Create style<br />&nbsp; &nbsp; Set style = session.CreateRichTextStyle<br />&nbsp; &nbsp; style.NotesFont = FONT_ROMAN<br />&nbsp; REM Set table to blue<br />&nbsp; &nbsp; Call rtrangeTable.SetStyle(style)<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; <br />&nbsp; &nbsp; Call doc.Save (True, False)&nbsp; &nbsp; <br />&nbsp; &nbsp; Call UIDoc.Close&nbsp; &nbsp; <br />&nbsp; &nbsp; Call uiworkspace.EditDocument(False, doc)<br />End Sub</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 22 Mar 2013 09:32:35 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123857#p123857</guid>
		</item>
	</channel>
</rss>
