delphi with do语句的解释书上的例子 我不太能够理解 能不能介绍几个简单的例子 加以文件说明 这个我懂,就象复杂的比如with Control as TlistBox dobegin Canvas.Framtrct(Clientect);if odSelected in State thenbegin.

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/05 14:48:29

delphi with do语句的解释书上的例子 我不太能够理解 能不能介绍几个简单的例子 加以文件说明 这个我懂,就象复杂的比如with Control as TlistBox dobegin Canvas.Framtrct(Clientect);if odSelected in State thenbegin.
delphi with do语句的解释
书上的例子 我不太能够理解 能不能介绍几个简单的例子 加以文件说明
这个我懂,就象复杂的比如with Control as TlistBox do
begin
Canvas.Framtrct(Clientect);
if odSelected in State then
begin
...
end
else
begin
...
end
end;
我就不太理解了

delphi with do语句的解释书上的例子 我不太能够理解 能不能介绍几个简单的例子 加以文件说明 这个我懂,就象复杂的比如with Control as TlistBox dobegin Canvas.Framtrct(Clientect);if odSelected in State thenbegin.
比如说btn1.caption这个属性,一个还好,我们可以慢慢写,但是如果又有btn1.hint这写.
我们就可以用
btn1.caption:='';
btn1.hint:='';
等于
with btn1 do
begin
caption:='';
hint:='';
end;
其实就是为了省略前面部分.
with Control as TlistBox do
就是把Control当成TlistBox,这个是类型转换,然后就是with do的语句了塞.

delphi with do语句的解释书上的例子 我不太能够理解 能不能介绍几个简单的例子 加以文件说明 这个我懂,就象复杂的比如with Control as TlistBox dobegin Canvas.Framtrct(Clientect);if odSelected in State thenbegin. delphi中if then else语句怎么写.举个最简单的例子 Delphi中as和is是用来干什么的?请给下具体的解释和例子.我是个初学者, Do While...Loop 和Do until...Loop 和 DO loop until 有关这类的语句给我解释下- Do While...Loop 和Do until...Loop 和 DO loop until 有关这类的语句给我解释下- 解释下列语句的含义 0到100的偶数用DELPHI急 vb相当于delphi的ShowMessageFmt()的函数是什么?比如delphi这句话:ShowMessageFmt('%x',[TTRYVERSION]);在VB中怎么表述? with black heads 语句的翻译 with的英语解释 麻烦用通俗的语句解释下 《长征 》里的重点语句怎么解释? array [Boolean] of Integerarray[boolean] of integer;delphi中这句是什么意思,请解释具体点, What do you do with the waster water用英语解释句子不是中文啊。意思它的同义句 delphi 中的无限大用哪个符号在利用case of 语句时 ,不知道用什么符号表示无限大. 2、分别用三种循环语句(while语句、do-while语句、for语句),实现求1~100的累加和 编程的英语翻译Visual Basic 、Delphi 、VC++ ( C++ Builder ),Visual Foxpro 、Oracle Developer 、Power Builder Java,Java Script PHP 、ASP 、JSP 、ISAPI 、NSAPI 、CGI 都是什么意思阿 请解释,谢谢 what did he do with it请帮我解释下这句,he do with 在vfp中,do func1 with x,(y)这条语句中,y是什么传递,是否受SET开关的控制拜托各位大神