0
A
回答
0
Tom,您必須設置Parent
,Align
和Stretch
屬性來填充圖像的自定義頁面背景。
嘗試這個代碼
var
Page : TWizardPage;
BackgroundBitmapImage: TBitmapImage;
s: string;
begin
Page := CreateCustomPage(wpWelcome, 'Custom Page', 'Test');
ExtractTemporaryFile('background.bmp');
s:=ExpandConstant('{tmp}')+'\background.bmp';
BackgroundBitmapImage := TBitmapImage.Create(Page);
BackgroundBitmapImage.Bitmap.LoadFromFile(s);
BackgroundBitmapImage.Parent := Page.Surface;
BackgroundBitmapImage.Align:=alCLient;
BackgroundBitmapImage.Stretch:=True;
end;
0
非常nousy做。 您必須在近3片
for WizardForm.MainPanel (top strip of 60px)
for WizardForm.InnerPage (Center panel around Surface)
for mainPage.Surface (Inside inner Panel)
那麼精確切割的一大工作分割你的形象....
相關問題
- 1. CSS:全尺寸背景圖片
- 2. Jquery/CSS:全尺寸背景圖片
- 3. 尺寸背景圖片?
- 4. 背景圖片尺寸
- 5. iOS背景圖片尺寸
- 6. 離子全尺寸背景
- 7. RS2008背景圖片尺寸調整
- 8. 整頁背景圖片尺寸建議
- 9. 燦背景圖片的最大尺寸
- 10. 網站背景圖片的尺寸
- 11. div中的全尺寸背景圖像?
- 12. 全尺寸背景圖像col - * - *在Bootstrap
- 13. 全尺寸頁面背景圖片忽略邊距
- 14. 背景圖像的尺寸
- 15. 圖片的最大尺寸 - 背景圖片
- 16. 適當尺寸的背景圖片/圖像NagivationBar的iOS
- 17. Inno Setup中的全屏背景圖像
- 18. 如何設置UINavigation尺寸以適合背景圖像尺寸?
- 19. 根據背景圖像尺寸div
- 20. 調整SVG背景圖像的尺寸
- 21. 屏幕尺寸的背景圖像
- 22. 得到背景圖像尺寸
- 23. css背景圖像適應尺寸
- 24. Div背景圖像的最大尺寸
- 25. 背景圖像的最大尺寸CSS
- 26. 固定尺寸背景圖像
- 27. 的Cocos2D V2 CCSprite背景圖像尺寸
- 28. IONIC2背景圖像的尺寸時
- 29. 獲取背景圖像的尺寸
- 30. 設置背景圖像尺寸IOS
感謝,但仍然有相當大的餘量尤其是表面的左側? – Tom 2010-09-10 06:26:29
有點老,但你解決這個問題嗎? – 2012-12-10 18:00:26