# 如何自定义一个控件的实现

**URL:** <https://tech-community.robotics.abb.com/t/topic/15125>\
**Category:** AppStudio\
**Created:** [August 29, 2026, 3:48pm UTC](https://tech-community.robotics.abb.com/t/topic/15125 "2026-08-29T15:48:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MING\_LI](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@MING\_LI](https://tech-community.robotics.abb.com/u/MING_LI)\
**Post date:** [August 29, 2026, 3:48pm UTC](https://tech-community.robotics.abb.com/t/topic/15125/1 "2026-08-29T15:48:22Z")

</div>

How to customise the implementation of a control

---

<div class="post-metadata">

**Author:** ![MING\_LI](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@MING\_LI](https://tech-community.robotics.abb.com/u/MING_LI)\
**Post date:** [August 30, 2026, 3:59am UTC](https://tech-community.robotics.abb.com/t/topic/15125/2 "2026-08-30T03:59:04Z")

</div>

How do you customize the implementation of a basic control? For example, suppose you are designing a basic button control with a circular appearance.  
How can you implement your preferred style? [13162631132@163.COM](mailto:13162631132@163.COM)

---

<div class="post-metadata">

**Author:** ![MING\_LI](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@MING\_LI](https://tech-community.robotics.abb.com/u/MING_LI)\
**Post date:** [August 30, 2026, 4:06am UTC](https://tech-community.robotics.abb.com/t/topic/15125/3 "2026-08-30T04:06:11Z")

</div>

![image](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/f/fb0a674a28edbea9af2812e24bb0b3bb0f0633c9.png)

---

<div class="post-metadata">

**Author:** ![yitong](https://avatars.discourse-cdn.com/v4/letter/y/3da27b/32.png) [@yitong](https://tech-community.robotics.abb.com/u/yitong)\
**Post date:** [October 10, 2026, 3:24am UTC](https://tech-community.robotics.abb.com/t/topic/15125/4 "2026-10-10T03:24:42Z")

</div>

You can create a class for User Function to inherit from Basic class(current is v1.4.0, api doc: [Overview | AppStudio API Documentation](https://abbissp01sastaasblb0749.blob.core.windows.net/appstudioproduct/allApiDocs/1.4.0/apiDocs/tcomponents/index/index.html).)

* * *

For example:

Step 1: Create a class named CircularButton

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/f/fa5144b0d3b67759260eec30d4ed174742f611a5.png)

Step 2: Simply use this class within a certain function.(Shall be startwith `UserFunction.`)

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/6/6f757fdeb4d1ff754a572be24a315f13f35383a7.png)
