#1
|
|||
|
|||
how do I programatically add code to script tab
How Do I add code to be displayed in the script tab and not in the script editor using the object model of VBP.
Currently I'm using IStep object to create a "run Script" type step and use the 'script' property to set the code, But when I look at the .bld file in vbp i see that the code that I added is in the script editors 'step' tab. How do I make that code show up in the 'script' tab of the 'step properties' dialog. What is the difference in the code in script editors step tab and the script tab of the step properites dialog? Last edited by indika; 06-08-2006 at 02:46 PM. |
#2
|
|||
|
|||
Step.Property("Script") = Step.Property("Script") & vbCrLf & "'more code"
would add code to the Script tab of a Run Script step. The Script tab of the step properties dialog only exists for a Run Script step (its contents are stored in the step's Script property). http://www.visualbuild.com/Manual/runscript.htm The Step tab of the script editor dialog exists for any step and is used for editing a step's script event code (its contents are stored in the step's script property [note case difference]). http://www.visualbuild.com/Manual/scriptevents.htm |
#3
|
|||
|
|||
ok thanks
Thank you for the quick response.
your support rocks! |
Thread Tools | |
Display Modes | Rate This Thread |
|
|