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 ?


#if debugbuild

In show event, use DebugBuild.

Beat me by a second :slight_smile:


Thanks Gavin, Tanner and Merv.

That was a quick response.

Much appreciated.