Hi!
Anyone know how to display the result of a string in a dialog? I tried making a label with caption: %MyString%, but it just comes out as %MyString%
I did make sure that the Dialog comes after i named the string
Thanks in advance!
Display a string in a Dialog Label
Moderators: Dorian (MJT support), JRL
Re: Display a string in a Dialog Label
What version of Macro Scheduler? This will work with version 12 or later.
Code: Select all
Let>MyString=This is a dialog label with text displayed
Dialog>Dialog1
object Dialog1: TForm
Caption = 'Dialog Example'
ClientHeight = 200
ClientWidth = 300
object Label1: TLabel
Left = 50
Top = 50
Width = 32
Height = 13
Caption = 'Label1'
end
end
EndDialog>Dialog1
SetDialogProperty>Dialog1,Label1,Caption,MyString
Show>Dialog1,res