WebControl.Close

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

WebControl.Close()

New in 2010r5

Supported for all project types and targets.

This removes the control from the page, but only if the control is part of a Control Set or is a WebContainer. Otherwise it does not do anything.

Notes

In general, if you want to add or remove controls from pages, use a WebContainer.

See Also

WebContainer class