求助!急求!
delphi吧
全部回复
仅看楼主
level 12
000sawe 楼主
明天就要交了,可这是怎么回事?求大神帮忙!
2014年10月28日 11点10分 1
level 9
你应该上源代码,这样谁知道你写什么
——那么问题来了!
2014年10月28日 11点10分 2
level 12
000sawe 楼主
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
Button3: TButton;
Button4: TButton;
Button5: TButton;
procedure Button1Click(Sender: TObject);
procedure Button3Click(Sender: TObject);
procedure Button4Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
uses Unit2, Unit3, Unit4, Unit5;
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
Form2.ShowModal;
end;
procedure TForm1.Button3Click(Sender: TObject);
begin
Unit3.Form3.ShowModal;
end;
procedure TForm1.Button4Click(Sender: TObject);
begin
Unit4.Form4.ShowModal;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
Unit5.Form5.ShowModal;
end;
end.
2014年10月28日 11点10分 3
level 12
000sawe 楼主
2014年10月28日 11点10分 8
源代码上来了,你能告诉我是怎么一回事吗?
2014年10月28日 11点10分
level 12
000sawe 楼主
有人么
2014年10月28日 11点10分 9
level 6
字串怎么变成*号了?
2014年10月28日 12点10分 10
level 2
下断点调吧
2014年10月28日 13点10分 11
什么意思
2014年10月29日 09点10分
level 3
就是你设个断点,定位错误位置啊,起码告诉我们哪里报错啊
2014年10月29日 12点10分 12
level 10
楼主这回不及格了吧。
2014年10月30日 01点10分 13
level 7
字符串的符号用错了吧

正确的
应该是:
Str1 := *Hello*;
2014年10月30日 08点10分 14
度娘吧英文单引号改成星号了。。。。。。字符串没错
2014年10月30日 09点10分
level 12
000sawe 楼主
2014年10月30日 09点10分 15
level 11
for a:=1 to 20 do
TEdit(FindComponent(*Edit* + IntToStr(a))).Enabled :=false;
for a:=1 to 80 do
你能加个b不。。。 看着头大。。
2014年11月06日 13点11分 16
level 11
还有e[+10] 这个。。。 提示说了 + 号不是 整数 。
2014年11月06日 13点11分 17
level 11
+ 不是 integer
2014年11月08日 12点11分 18
level 1
太乱了
你查一下 + 所在的位置,估计是在 整型转 其它类型的地方吧
2014年11月08日 15点11分 19
level 6
啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦
2014年11月08日 17点11分 20
level 9
LZ这种代码风格……变量一律用abcd,起名一律顺序数排列,看到这种代码我都自动忽略,一律当做没看到!
2014年11月10日 13点11分 21
level 11
你是不是把edit里的'+'当数字strtoint了
2014年11月15日 12点11分 24
1