如何使用Delphi XE7为手机创建渐变按钮? [英] How to create gradient button for mobile using Delphi XE7?

查看:85
本文介绍了如何使用Delphi XE7为手机创建渐变按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Delphi XE7创建Android/iOS移动应用程序,以及如何创建渐变按钮(),使用FireMonkey Mobile应用程序.还是我应该使用样式簿在按钮中应用渐变颜色?

I'm using Delphi XE7 for creating Android / iOS mobile application And how can I create the gradient button (Sample Gradient button)using FireMonkey Mobile application. Or should I need to use Style Book for applying the Gradient Colour in the Buttons?

推荐答案

您发布的教程没有错.使用Firemonkey,所有内容(在视觉上)都由原始形状和动画组成,因此,使用在那篇文章中学到的技能,您可以在gimp中创建按钮,然后在鼠标悬停和按按钮动画上创建样式.如果您还没有浏览此页面,我会通读它,

There's nothing wrong with the tutorial you posted. With Firemonkey everything (visually) is composed of primitive shapes and animations, so using the skills learned in that post, you could create your buttons in gimp, then create a style with hover over and onbutton press animations. If you haven't taken a look at this page yet I would read through it,

http://docwiki.embarcadero.com/RADStudio/XE6/en/Customizing_FireMonkey_Applications_with_Styles

这篇关于如何使用Delphi XE7为手机创建渐变按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆