download
order  

Line of Code Builder

 
Groups Procs ProcLine ? Add Comment Explicit arguments Each argument on a new line Call Function as Sub Insert Cancel Help Vars InfoProc

Coding using Line of code builder consists of selecting the appropriate procedure and moving thru the open (variable or argument) positions using tab. At each insertion point a pop-up lets you select an appropriate action: insert an existing or new variable or insert an expression. Lines of code builder supports both built-in and your custom code fragments. It adds the ability to activate VB language help on a selected built-in procedure which is useful if you are not certain which procedure should be used. Also you can set a checkbox so that the procedure's arguments are added explicit (e.g. Interval:="d").

Change default behavior in Settings dialog.

Start this dialog from Toolbar or using Alt-CL (Code-vb - Line of code)

In the left list box also modules appear which you added to your \library folder (see Creating your own code library)

Controls:


Groups

(First list box) Shows which libraries or modules the procedure is derived from.

Procedures

(Second list box) Shows which procedures are available in the selected group

Procedure Line

(textbox showing the line for the selected procedure)

?

Starts Visual Basic help on the selected procedure.

Add Comment

Adds a line of comment to explain what the procedure does. Not available in this version

Explicit arguments

If this is checked

Each argument on a new line

Determines if all arguments in a procedure are placed on the same line ...

MySub Arg1, Arg2, ...
... or each on a new line
 
MySub Arg1, _
                Arg2, _
                 ...

Call Function as Sub

(Applies only to functions) Replaces normal behavior

ret = MyFunction()
by
MyFunction

Insert

Inserts the line of code at the cursor position and closes the dialog.

Cancel

Closes the dialog without insertingt the line of code .

Help

Starts this Help topic