|
-
Nov 7th, 2003, 03:25 PM
#1
Thread Starter
Lively Member
Form Layout in Release Mode
The main form in my project currenly contains a menu item labeled "TEST":
Code:
Me.ctxMnuMainNewTest.Text = "TEST"
This simply opens up our test form, which is great while in development. Now, however, as we go into production, I need to hide this label / link when in Release mode. I thought I could use the
Code:
#IF DEBUG THEN...#End If
format, but there's no such option for Release mode.
The other options are CONFIG and TRACE...do I use one of these or am I barking up the wrong tree?
OR...do I simply show what I want shown within #IF DEBUG statements ?
Thanks, Mike
-
Nov 7th, 2003, 03:52 PM
#2
From the project properties dialog you can set different commandline parameters for each build mode (release/debug). Just pass in a commandline parameter and use that instead of the #if.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|