delphi case 语句:
procedureTForm1.RadioGroup1Click(Sender:TObject);//对齐设置begincaseRadioGroup1.ItemIndex...
procedure TForm1.RadioGroup1Click(Sender: TObject); //对齐设置
begin
case RadioGroup1.ItemIndex of
0:Memo1.Alignment:=taLeftJustify;
1:Memo1.Alignment:=taCenter;
2:Memo1.Alignment:=taRightJustify;
end;
end.
为啥运行不能通过?是语法错误么? 展开
begin
case RadioGroup1.ItemIndex of
0:Memo1.Alignment:=taLeftJustify;
1:Memo1.Alignment:=taCenter;
2:Memo1.Alignment:=taRightJustify;
end;
end.
为啥运行不能通过?是语法错误么? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询