Subroutine/Label MyLabel Not Found!
Code: Select all
Label>MyLabel
Dialog>Dialog1
object Dialog1: TForm
Left = 776
Top = 138
HelpContext = 5000
BorderIcons = [biSystemMenu]
Caption = 'CustomDialog'
ClientHeight = 211
ClientWidth = 476
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 GoToMyLabel: tMSButton
Left = 192
Top = 94
Width = 81
Height = 25
Caption = 'Go to my label'
TabOrder = 0
DoBrowse = False
BrowseStyle = fbOpen
end
end
EndDialog>Dialog1
AddDialogHandler>Dialog1,GoToMyLabel,OnClick,MyLabel
Show>Dialog1,r
Goto>MyLabel
Exit
I'm trying to make a dialog button go back to an earlier part of my script, and it doesn't allow me to put a GOTO inside an SRT, so i'm not sure how to get there.
Thanks in advance!