K
kit
Unregistered / Unconfirmed
GUEST, unregistred user!
有人能把这个DELPHI的程序,改成C++builder 的一个函数程序。
procedure TBasicForm.Enable;
var
I :integer;
begin
for I := 0 to ComponentCount - 1 do begin
if (Components is TEdit) then
TEdit(Components).Enabled := True
else if (Components is TComboBox) then
TComboBox(Components).Enabled := True
end;
procedure TBasicForm.Enable;
var
I :integer;
begin
for I := 0 to ComponentCount - 1 do begin
if (Components is TEdit) then
TEdit(Components).Enabled := True
else if (Components is TComboBox) then
TComboBox(Components).Enabled := True
end;