Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-08-2006, 02:44 PM
indika indika is online now
Registered User
 
Join Date: 05-29-2006
Posts: 9
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.
Reply With Quote
  #2  
Old 06-08-2006, 08:38 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote
  #3  
Old 06-09-2006, 08:00 AM
indika indika is online now
Registered User
 
Join Date: 05-29-2006
Posts: 9
ok thanks

Thank you for the quick response.
your support rocks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 09:33 AM.


Copyright © 1999-2023 Kinook Software, Inc.