I'm trying to use the new HTMLViewer component added to custom dialogs in the latest 14.1.01 version of Macro Scheduler.
Code: Select all
Dialog>Dialog1
object Dialog1: TForm
Left = 640
Top = 97
HelpContext = 5000
BorderIcons = [biSystemMenu]
Caption = 'CustomDialog'
ClientHeight = 223
ClientWidth = 484
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = True
ShowHint = True
OnTaskBar = False
PixelsPerInch = 96
TextHeight = 13
object MSHTMLViewer1: tMSHTMLViewer
Left = 115
Top = 39
Width = 302
TabOrder = 8
BorderStyle = htFocused
DefFontName = 'Times New Roman'
DefPreFontName = 'Courier New'
HistoryMaxCount = 0
NoSelect = False
PrintMarginBottom = 2.000000000000000000
PrintMarginLeft = 2.000000000000000000
PrintMarginRight = 2.000000000000000000
PrintMarginTop = 2.000000000000000000
PrintScale = 1.000000000000000000
end
end
EndDialog>Dialog1
LabelToVar>HTML1,myHTML
/*
HTML1:
<H1>Hello World</H1><p>This is a paragraph</p>
<a href="http://www.mjtnet.com">www.mjtnet.com</a>
*/
SetDialogProperty>Dialog1,MSHTMLViewer1,HTML,myHTML
Show>Dialog1
Wait>10
Is there another parameter I have to set to make this work?