TilerUnit.cpp
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:1k
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #pragma hdrstop
- #include "TilerUnit.h"
- //---------------------------------------------------------------------------
- #pragma package(smart_init)
- #pragma link "fcImager"
- #pragma link "fcLabel"
- #pragma link "fcOutlookList"
- #pragma link "fcButton"
- #pragma link "fcButtonGroup"
- #pragma link "fcClearPanel"
- #pragma link "fcImgBtn"
- #pragma link "fcOutlookBar"
- #pragma link "fcShapeBtn"
- #pragma resource "*.dfm"
- TTilerDemoForm *TilerDemoForm;
- //---------------------------------------------------------------------------
- __fastcall TTilerDemoForm::TTilerDemoForm(TComponent* Owner)
- : TForm(Owner)
- {
- }
- //---------------------------------------------------------------------------
- void __fastcall TTilerDemoForm::fcControlBar1OutlookList1ItemChange(
- TfcCustomOutlookList *OutlookList, TfcOutlookListItem *Item)
- {
- if (OutlookList->Selected == NULL) return;
- Graphics::TBitmap* ABitmap = new Graphics::TBitmap;
- ImageList1->GetBitmap(OutlookList->Selected->Index, ABitmap);
- fcImager1->Picture->Assign(ABitmap);
- ABitmap->Free();
- }
- //---------------------------------------------------------------------------