• 15 апреля стартует «Курс «SQL-injection Master» ©» от команды The Codeby

    За 3 месяца вы пройдете путь от начальных навыков работы с SQL-запросами к базам данных до продвинутых техник. Научитесь находить уязвимости связанные с базами данных, и внедрять произвольный SQL-код в уязвимые приложения.

    На последнюю неделю приходится экзамен, где нужно будет показать свои навыки, взломав ряд уязвимых учебных сайтов, и добыть флаги. Успешно сдавшие экзамен получат сертификат.

    Запись на курс до 25 апреля. Получить промодоступ ...

Редактрование документа в новом окне

  • Автор темы SkyDream
  • Дата начала
Статус
Закрыто для дальнейших ответов.
S

SkyDream

Помогите справиться с проблемой
открываю новый документ

Код:
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace	
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument	
Call workspace.SetTargetFrame("Body")
Call workspace.ComposeDocument( "", "", "Document" )
End Sub

в форме Document есть кнопка на создание и открытие еще одного нового документа на редктирование:

Код:
.....
Call EditDoc.Save(True,True)
Call ws.EditDocument(False, EditDoc, False,,False)	
.....

После её нажати документ открыается в текущем фрейме Body.
Как сделать чтобы при нажатии на эту кнопку документ открывался в новом окне?
 
F

Fossil Code

Речь, случайно, не об этом?

Designing a form that presents a dialog box

To help users to fill out documents, create a custom dialog box that prompts for specific input. You can do this by using the @DialogBox function or LotusScript. Using @DialogBox requires two forms: one, the dialog form, has a layout region that contains fields, text, and graphics, and looks like a dialog box; the other, the host form, contains a button that uses @DialogBox to display the dialog form. The two forms contain shared fields, and when users enter field values in the dialog form, the values are shared with fields on the host form that have the same names. For example, a host form called "Memo" has a button that uses @DialogBox to bring up the dialog form called "Memo Options." Both forms have a field called "Comments." Text entered into the Comments field in the Memo Options form also appears in the Comments field in the Memo document.
 
S

SkyDream

нашел решение

Call workspace.SetTargetFrame("")
 
Статус
Закрыто для дальнейших ответов.
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!