Forum Replies Created
-
AuthorPosts
-
AlbertParticipant'Support' wrote:
Мне нужно посмотреть содержимое Dfm-файла, это возможно?
Проще было создать новый проект с двумя компонентами (чтобы исключить вляние 3rd party): TsSpeedButton и TImageList. Прикладываю скрин и архив с проектом.[attachment=6703:TsSpeedButton & TImageList (v9.0).rar]
AlbertParticipantА у меня в дизайнере компонент TsUpDown отображается нормально, при пуске проги – исчезают стрелки, при отключении скинирования в работающей проге – стрелки появляются (v9.00, 28.02.2014, dXE3, Win7x64). SkinData и раньше не было, а есть ButtonSkin.
AlbertParticipant'Support' wrote:Albert, можно посмотреть Dfm формы с этими кнопками?
Taм используется TsAlphaImageList или что-то другое?
Нет, обычный TImageList, он находится в другом модуле, как видно на скринах. В предыдущей версии 8 все нормально.[attachment=6692:5) Скомпилованный проект – все нормально.png]
AlbertParticipantОтвет нашел в файле “3rd Party.txt”:
6. TWebBrowser
The ADDWEBBROWSER key should be enabled in the sDefs.inc file before a package installing. Sources of the package are required.
TWebBrowser type should be added in sSkinManager1.ThirdParty list as 'WebBrowser'.
AlbertParticipantI have made the recommended change (ac_CheckEmptyAlpha : boolean = True) and rebuilded my project, but all stays the same… I think the main clue to that problem is: the glyph does not show itself only when TsBitBtn.Default = True…
AlbertParticipantI think it would better using TBitBtn (added in the 3rd party list and thus skinned) instead of TsBitBtn. There is some bisbehavior in TsBitBtn component… Let's compare these two controls:
1) Put them (TBitBtn (skinned) and TsBitBtn on the form
2) Set their “Kind” property to (for example) bkCancel (or bkOk, it makes no difference as a result)
3) Set their “Default” property to True
4) Run the form
5) See the difference ([attachment=6036:TBitBtn (left) and TsBitBtn (right).png]): TBitBtn, on the left, it looks more correct than TsBitBtn.
AlbertParticipant'Support' wrote:Maybe you know, this control is inherited from standard Button control?
This control have a Handle?
No, it is inherited from TWinControl -> TCustomControl and has a Handle. Its Bitmap.Transparency property is set (by me) to flFuchsia, but transparency does not work… As showed at the first attachement the area around the red circle is lightgray but should be the same color as its owner control (blue). The second attachement shows the TRzBMPButton when skinning is OFF.
-
AuthorPosts