希望大家给个例子 越详细越好 谢谢
解决方案 »
- 如何查找到特定的IE窗口,然后获得它的接口控制IE中的网页
- 请问'Error Creating Form:Ancestor for 'TfrmChild' not found'是什么错误,如何解决
- 关于程序启动的实例化问题?
- 如何动态生成汉字,要直接用代码就可以生成的
- 求助,为什么有时候变量调用Free过程之后还需要使之变成nil呢?
- 请教:在EHlib控件系列的DBGridEH中如何使各个字段多余的空格自动不占用宽度?
- 请各位谈谈delphi和UML的使用心得。
- 大侠帮忙!菜鸟问题
- 奇怪!!!!!请高手帮忙!!!!(在线)
- 程序最小化时收到请求,如何把自己最大化并提到前边。
- 帮忙编写这个标准的DLL给PowerBuilder用
- dbgrid行的计算
begin
ShowMessage('希望大家给个例子 越详细越好 谢谢');
end;
begin
ShowMessage('希望大家给个例子 越详细越好 谢谢');
Result := true;
end;
begin
Result := false; //进来最好先false
ShowMessage('希望大家给个例子 越详细越好 谢谢');
Result := true;
end;
begin
Result := false;
ShowMessage('Hello World');
Result := true;
end;
begin
ShowMessage('希望大家给个例子 越详细越好 谢谢');
Result := true;
end;
begin
Result:= False;
if Length(Text)> 0 then
begin
ShowMessage(Pchar(Text));
Result:= true;
end;
end; 调用
Text:='希望大家给个例子 越详细越好 谢谢';
test(Text);
function Test(Value: Boolean):string;
const
A='返回A';
B='返回B';
begin
if Value then Result := A
else Result := B;
end;
//例子
Caption := Test(True)