# Parameters are not compatible with this function Name Issue

**URL:** <https://forum.xojo.com/t/parameters-are-not-compatible-with-this-function-name-issue/8493>\
**Category:** Web\
**Created:** [June 5, 2013, 7:11am UTC](https://forum.xojo.com/t/parameters-are-not-compatible-with-this-function-name-issue/8493 "2013-06-05T07:11:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francisco\_Lobo1](https://forum.xojo.com/user_avatar/forum.xojo.com/francisco_lobo1/32/3929_2.png) [@Francisco\_Lobo1](https://forum.xojo.com/u/Francisco_Lobo1)\
**Post date:** [June 5, 2013, 7:11am UTC](https://forum.xojo.com/t/parameters-are-not-compatible-with-this-function-name-issue/8493/1 "2013-06-05T07:11:29Z")

</div>

When I add a custom class who’s parent is HTTPSecureSocket to a WebDialog or WebContainer (Not on WebPages), I Get this error:

“.Name Layout (Property Name) - Parameters are not compatible with this function Name”

If I added it as a property it works. And if I add it to the webpage it works.

Any idea if this is expected of a bug?

---

<div class="post-metadata">

**Author:** ![Frederick\_Roller](https://forum.xojo.com/user_avatar/forum.xojo.com/frederick_roller/32/479_2.png) [@Frederick\_Roller](https://forum.xojo.com/u/Frederick_Roller)\
**Post date:** [June 5, 2013, 2:00pm UTC](https://forum.xojo.com/t/parameters-are-not-compatible-with-this-function-name-issue/8493/2 "2013-06-05T14:00:06Z")

</div>

It sounds like one since I’ve not read about any restriction in WebDialogs or WebContainers. A report and example project via Feedback should get it the attention it deserves, which is a fix or addition to the documentation.

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [June 5, 2013, 5:55pm UTC](https://forum.xojo.com/t/parameters-are-not-compatible-with-this-function-name-issue/8493/3 "2013-06-05T17:55:40Z")

</div>

Any class or object that is not a subclass of WebControl will give you these errors.

---

<div class="post-metadata">

**Author:** ![Frederick\_Roller](https://forum.xojo.com/user_avatar/forum.xojo.com/frederick_roller/32/479_2.png) [@Frederick\_Roller](https://forum.xojo.com/u/Frederick_Roller)\
**Post date:** [June 5, 2013, 6:01pm UTC](https://forum.xojo.com/t/parameters-are-not-compatible-with-this-function-name-issue/8493/4 "2013-06-05T18:01:41Z")

</div>

> [@11204:@Greg Olone](#):
>
> Any class or object that is not a subclass of WebControl will give you these errors.

Is that documented?

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [June 5, 2013, 6:07pm UTC](https://forum.xojo.com/t/parameters-are-not-compatible-with-this-function-name-issue/8493/5 "2013-06-05T18:07:34Z")

</div>

it’s a bug, so no.

---

<div class="post-metadata">

**Author:** ![Paul\_Lefebvre](https://forum.xojo.com/user_avatar/forum.xojo.com/paul_lefebvre/32/3152_2.png) [@Paul\_Lefebvre](https://forum.xojo.com/u/Paul_Lefebvre)\
**Post date:** [June 5, 2013, 6:07pm UTC](https://forum.xojo.com/t/parameters-are-not-compatible-with-this-function-name-issue/8493/6 "2013-06-05T18:07:58Z")

</div>

> [@11215:@Frederick Roller](#):
>
> Is that documented?

Not that I could tell. I’ve added this restriction to the Notes for both WebDialog and WebContainer in the online wiki.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 4:41pm UTC](https://forum.xojo.com/t/parameters-are-not-compatible-with-this-function-name-issue/8493/7 "2020-10-29T16:41:48Z")

</div>


