# Custom Control Initialization

**URL:** <https://techcommunity.softwareag.com/t/custom-control-initialization/57258>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Application-Composer\
**Created:** [March 13, 2006, 5:29pm UTC](https://techcommunity.softwareag.com/t/custom-control-initialization/57258 "2006-03-13T17:29:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehmet\_Akyuz](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Mehmet\_Akyuz](https://techcommunity.softwareag.com/u/Mehmet_Akyuz)\
**Post date:** [March 13, 2006, 5:29pm UTC](https://techcommunity.softwareag.com/t/custom-control-initialization/57258/1 "2006-03-13T17:29:39Z")

</div>

Hi All,

I’ve created my own custom control which has an attribute “fooprop” that is actually a property of type FOOInfo. When I try to add code for this property to the adapter class via Code Assitant generated code looks as

```auto
FOOInfo m_foo;
```

where I’d like it to be as

```auto
FOOInfo m_foo = new FOOInfo();
```

Is there anyway to do this, maybe by editing the Handler class?

- Regards,  
Mehmet.

---

<div class="post-metadata">

**Author:** ![Bjoern\_Mueller](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@Bjoern\_Mueller](https://techcommunity.softwareag.com/u/Bjoern_Mueller)\
**Post date:** [March 13, 2006, 10:05pm UTC](https://techcommunity.softwareag.com/t/custom-control-initialization/57258/2 "2006-03-13T22:05:55Z")

</div>

…unfortunately: no. I understand your problem. We will add this to our product planning.

Thanks! Bjoerm

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:38pm UTC](https://techcommunity.softwareag.com/t/custom-control-initialization/57258/3 "2021-04-02T14:38:31Z")

</div>


