在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
New Bitmap Links Editorhttp://docwiki.appmethod.com/appmethod/1.17/topics/en/What's_New A new editor allows graphic edition for TBitmapLink properties on styled-objects, directly inside the IDE. TBitmapLink properties can be edited now in an easy and visual way using the BitmapLinks Editor. For more information, see BitmapLinks Editor and Tutorial: Using the BitmapLinks Editor.
Create Custom Button Styles For Firemonkey In #Delphi 10 Seattle On Android And IOS http://www.fmxexpress.com/create-custom-button-styles-for-firemonkey-in-delphi-10-seattle-on-android-and-ios/ Developer Sarina DuPont from Embarcadero has a tutorial up on how to create a custom button using styles for Firemonkey in Delphi 10 Seattle. Styles in Firemonkey are bitmap based and this tutorial shows how to load a custom button image and set it up on a button. You can use these custom styles in your apps on Android, IOS, OSX, and Windows. You access the style editor by right clicking on the object and selecting Edit Custom Style. The style editor supports having different images for the different resolutions of the different devices. For buttons it uses a 9 grid to handle the button resizing dynamically. The image is segmented into 9 pieces with one piece in each corner, one piece on each side, and one piece in the middle. The button states (up, down, etc.) are handled in a BitmapLinks editor. In the case of a button it has NormalLink, HotLink, PressedLink, and FocusedLink. This basically means that each “link” is a specific image for the state of the button during that kind of event. You should be able to following this tutorial for Appmethod and C++Builder as well. Don’t have time to create your own styles? Check out the free premium styles.
http://docwiki.embarcadero.com/RADStudio/Berlin/en/Tutorial:_Using_the_BitmapLinks_Editor This tutorial explains how to edit the TBitmapLink properties of a TButton component using the BitmapLinks Editor. Let us consider a one-button multi-device application. The button has different background colors for each of the possible link types listed in the following table:
Customizing BitmapLink Properties for a ButtonThis section illustrates how to customize the button background. Perform the following steps:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论