Thread View: cn.bbs.comp.program
1 messages
1 total messages
Started by �ϵ�
Sun, 26 Apr 1998 00:00
Delphi��̬DFM�ļ�Ӧ��(һ)
Author: �ϵ�
Date: Sun, 26 Apr 1998 00:00
Date: Sun, 26 Apr 1998 00:00
54 lines
4859 bytes
4859 bytes
������: zhjjs (hhh), ����: Visual
�� ��: Delphi��̬DFM�ļ�Ӧ��(һ)
����վ: ���е����������� (Fri Dec 13 22:33:45 1996)
����1. ��̬DFM�ļ�����
��̬DFM�ļ�������ھ�̬DFM�ļ����ԡ���ν��̬DFM�ļ���ָ��Delphi��������
����ƵĴ����ļ����������ƹ�̾��dz���ı��ƹ�̡���ˣ���̬DFM�ļ�����ָ
�ڳ������й����ɻ��ȡ��DFM�ļ���
������̬DFM�ļ��Ĵ�����ʹ�÷ֱ��������������
������ �ڳ������й���У���Create������̬��ɴ������Ȼ��̬�������
�������������DFM�ļ�
������ ��Delphi���������У�������DFM�ļ���Ȼ����DFM �ļ���ȡ���������Str
eam�����Filer����ķ�������DFM�ļ������ڴ棬���д��?����ִ��������
������Delphi�Ĵ�����Ƶij��淽����ɵ�DFM�ļ��ڳ�������һ��ʼ�涨�˲�����
�ṹ����Ϊ�ڴ�����ƹ���У������е�ÿ���������ڳ���Ķ��������ж����˲�����
�������̶ֹ��Ľṹ��Ȼ�ܷ���Ӧ�ã��������������Ϊ��ۡ�
������DelphiӦ�ó�������ʱ��Ҫ�����й���д������ƣ�Ȼ�ÿ��Ʋ�����һ����
���С����磺
procedure TForm1.Button1Click(Sender: Tobject);
var
Ctrl: TControl
begin
Ctrl := TEdit.Create(Self);
Ctrl.Top := 100;
Ctrl.Left := 100;
Ctrl.Width := 150;
Ctrl.Height := 20;
InsertControl(Ctrl);
end;
������̬������Ƶ��ŵ��ǿ������κ�ʱ�̡�����λ�ò��������������κ����͵Ŀ�
�ơ���ΪӦ�ó��������ںܶ���������ڳ��������в�֪���ģ����Զ�̬������ƾ���
�ú���Ҫ�������ںܶ�����£���Ҫ������Щ����Ԫ�أ���������ٴε��á�����Ӧ��
�������Ķ��ơ�ϵͳ״̬�ı��桢�Ի���ı���ȡ���ʱ��ɶ�̬DFM�ļ������ѡ
��
������̬������ƵIJ���֮�����ڲ������ǰ����ֱ�۵ؿ������ƵĴ�С�����λ
�õȣ�Ҳ���Ƕ�̬������ƵĹ���Ƿǿ��ӻ��ġ������Խ����ھ�̬DFM�ļ��Ŀ��ӻ�
��ơ��������ɺ�ʹ�ö�̬DFM�ļ��ĵڶ��ַ�����Ҳ������Ӧ�ó�������ǰ����Delp
hi���������У�ʹ�ÿ��ӻ���������������贰�ڻ�����ʽ����DFM�ļ����档Ȼ
����Ӧ�ó������й���У���DFM�ļ������ڴ档Delphi��Stream�����Filer�����ڶ�
ȡDFM�ļ�ʱ������DFM�ļ��������Զ�������������ӵ�е����в�����
������ʹ�ö�̬DFM�ļ�ʱ��������Ҫע�⡣
���� ÿһ����̬����Ŀ��ƻ������ڳ����е���RegisterClass����ע��
������ ����DFM�ļ��Զ�������������������InsertControl������ ���ڹرմ���
ʱҪ����RemoveControl������ȥ�ÿ��ƣ����������쳣�¼�
--
m;37m�� ��Դ:�����е����������� s1000e.whnet.edu.cn��[FROM: 202.197.4.153]m
--
[m[1;32m�� ��Դ:���ϴ�С�ٺ���Ϣ����վ bbs.nju.edu.cn��[FROM: a507yjh.nju.edu][m
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads