| While coding we spend quite some time on typing in the trivial code for control structures like if..then..else..endif and for..each..in..next. In part this is because of the indenting and the moving down and back involved. Code-VB makes adding control structures much more efficient. It is started thru the menu. | ![]() |
Most entries here result in a structure like for
example if..then..elseif..endif
|
|
A special case is adding GoTo. It is
started thru Alt-CG. The dialog opens. Here you can decide if you want to
create a new label or use one already present in the procedure. Assume we want
to add a new label SaveFile. After OK it adds
Now move the cursor to where you want this section to be inserted. The label is still in the clipboard. Use Ctrl-V to insert the label: SaveFile: |
![]() |
Special support exists for Select:
|
|
| Exit Procedure: does the typing for you, e.g. Exit Property |