2016十月24
REDM设计器教程9-复制,粘贴控件
在前面的教程中,我们使用多图拼接的方式生成了png:close皮肤,并给button加上了皮肤属性
生成资源MyRes+本节mini图片资源下载—>
考虑到预览时拖动不了,所以我们先给gif控件加个拖动属性(bdrag)
1.复制,粘贴控件
考虑到部分控件的属性相同,一个个重新建立较为麻烦,所以增加此便捷功能
在Mov模式下不可使用,前两层没有复制菜单,原因:不能把主窗口拷贝了
这里我们来利用复制个最小化button吧,注意:先解锁!!!!!
复制状态的XML节点,会把name,id,pos三项属性忽略掉,pos统一使用x,y,@size,@size这种格式
我们在这里把mini按钮的坐标设置为(-60,0,@30,@27),类似于close按钮,
接着,我们增加一个mini按钮的皮肤png:mini,并设置它
–>
1.增加png:mini图片,类似于png:close
2.增加mini标识的皮肤,类似于close标识的皮肤,使用三态图
3.把新复制的这个按钮的skin改成png:mini
2.设置名字,id
名字,id均用于标识控件(二者用一个就好了),需要注意的是,设计器并未判断名字的唯一性
这里我们设置close按扭的名字为closebtn,mini按钮的名字为minibtn
下一节教程:REDM基础教程5-使用DM库、DM库入口
文章作者:hgy413
本文地址:https://hgy413.com/3581.html
版权所有 © 转载时必须以链接形式注明作者和原始出处!
I’m excited to uncover this page. I want to to thank
you for your time for this wonderful read!! I definitely really
liked every part of it and i also have you book marked to see new information in your website.
An intriguing discussion is worth comment. I think that you need to
publish more about this topic, it might not be a taboo subject but generally people don’t discuss these issues.
To the next! Cheers!!
Thank you for the auspicious writeup. It in fact was a amusement account it.
Look advanced to far added agreeable from you!
By the way, how can we communicate?
Terrific article! This is the type of information that
are supposed to be shared around the internet.
Disgrace on the seek engines for not positioning this post upper!
Come on over and consult with my site . Thanks =)
You really make it seem really easy along with your presentation however I find this matter
to be really one thing which I believe I would never understand.
It sort of feels too complex and extremely wide for
me. I’m having a look forward for your next post, I will attempt to get the grasp of it!
Hi! Quick question that’s totally off topic. Do you know how to make
your site mobile friendly? My site looks weird
when browsing from my apple iphone. I’m trying to find a template or plugin that might be able to fix this problem.
If you have any suggestions, please share. With thanks!
WOW just what I was searching for. Came here by searching for Health Benefits of Coconut Oil
Wonderful blog! I found it while searching on Yahoo News.
Do you have any suggestions on how to get listed in Yahoo News?
I’ve been trying for a while but I never seem to get there!
Appreciate it
Good day! This is kind of off topic but I need some advice from an established blog.
Is it difficult to set up your own blog? I’m not very techincal but I
can figure things out pretty fast. I’m thinking about setting up my own but I’m not sure where to begin.
Do you have any ideas or suggestions? With thanks
Descargar facebook
I always used to read post in news papers but now as I am a user of internet thus from now I am using net for content, thanks
to web. Descargar facebook
fantastic points altogether, you simply won a new reader. What
might you suggest about your publish that you simply made some days
ago? Any certain?
I am extremely impressed with your writing skills and also with the
layout on your weblog. Is this a paid theme or did you modify it yourself?
Anyway keep up the nice quality writing, it is rare to see
a great blog like this one nowadays.
Thank you for the good writeup. It in fact was a amusement account
it. Look advanced to more added agreeable from you! By the way, how can we communicate?
Great beat ! I would like to apprentice even as you amend your website,
how can i subscribe for a weblog website? The account helped me a acceptable deal.
I were a little bit acquainted of this your broadcast provided brilliant clear idea
This post is worth everyone’s attention. Where can I find out more?
Hey! I know this is kind of off-topic however I needed to ask.
Does building a well-established website like yours
take a lot of work? I am completely new to writing
a blog however I do write in my diary daily. I’d like to start a blog so I can easily share my experience and views online.
Please let me know if you have any recommendations or tips for new aspiring blog owners.
Thankyou!
sling tv coupons and promo codes for november 2018
Hello! I’ve been reading your web site for a while now and finally got the bravery to
go ahead and give you a shout out from Austin Texas! Just wanted to say keep up the good work!
Sling tv coupons and promo codes for november 2018
Hello There. I found your blog using msn. This is a very well written article.
I’ll be sure to bookmark it and return to read more of your
useful information. Thanks for the post. I’ll
certainly return.
It’s really a nice and helpful piece of info. I’m happy that you simply shared this useful
info with us. Please keep us informed like this. Thanks for
sharing.
You really make it appear so easy together with your presentation however I to find this matter
to be really one thing which I believe I’d never understand.
It sort of feels too complicated and very huge for me.
I’m looking ahead to your next post, I will attempt to get the
grasp of it!
I could not resist commenting. Perfectly written!
I for all time emailed this webpage post page to all my
associates, because if like to read it next my friends will too.
Great goods from you, man. I have take note
your stuff previous to and you’re simply too magnificent.
I really like what you’ve received here, really like what you’re stating and the way in which during which you are saying it.
You make it enjoyable and you still take care of to keep it sensible.
I can’t wait to learn far more from you. This
is really a tremendous site.
What’s up, all is going sound here and ofcourse
every one is sharing information, that’s actually excellent, keep up writing.