📄 unit1.cpp
字号:
//$$---- Property page CPP ---- (stPropertyPageSource)
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <atl\atlvcl.h>
#include <initguid.h>
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "CSPIN"
#pragma resource "*.dfm"
TPropertyPage1 *PropertyPage1;
//---------------------------------------------------------------------------
__fastcall TPropertyPage1::TPropertyPage1(Classes::TComponent *Component)
: TPropertyPage(Component)
{
}
//---------------------------------------------------------------------------
void __fastcall TPropertyPage1::UpdatePropertyPage(void)
{
long tmpL;
edCount->Value = OleObject.OlePropertyGet(OLETEXT("Count"));
}
//---------------------------------------------------------------------------
void __fastcall TPropertyPage1::UpdateObject(void)
{
// Update OleObjects from your controls
}
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -