Only show GroupBox when running from IDE - SOLVED

I know this should be simple, but I just do not know what phrase / command to search for.

I have a GroupBox and have set the Visible property to ‘NO’, and I want to show the GroupBox only if the app is being run from the IDE.

What code do I add to the Window > Event Handlers > Open event to make the GroupBox1.Visible = True only if the app is running from the IDE ?

Regards

#if debugbuild

http://documentation.xojo.com/index.php/DebugBuild

In show event, use DebugBuild.

Beat me by a second :slight_smile:

http://documentation.xojo.com/index.php/DebugBuild

WOW.

Thanks Gavin, Tanner and Merv.

That was a quick response.

Much appreciated.