找到大部分的错误了,都在Form的KeyPress事件里,我都给注释掉了,但是不知道为什么会编译错误。
CASE nKeyCode = 27 .AND. Thisform.ExitButton.Enabled
&& ESC key
Thisform.ExitButton.Click Event
CASE nKeyCode = 28 .AND. Thisform.HelpButton.Enabled
&& F1
CASE nKeyCode = -1 .AND. Thisform.UndoButton.Enabled
&& F2
Thisform.TopButton.Click Event
CASE nKeyCode = -2 .AND. Thisform.SaveButton.Enabled
&& F3
Thisform.BottomButton.Click Event
CASE nKeyCode = -3 .AND. Thisform.List1Button.Enabled
&& F4
Thisform.NewButton.Click Event
目前仍有一个编译错误
PC12.NextPageButton.Click Event
Error in line 1169: Syntax error.