Button and Text Box

"Transporter"

How to do it! 

Let's Get Started ----->

Part 1 - The Button

  1. Rename "page1" to "whatever you want" Hint: Save it with a name you'll remember, then you can use this as a templelate, then you only need to cut and paste to place it where you want in the future.
  2. From the "Edit" tab, select "insert an ActiveX control".
  3. Choose Microsoft Forms 2.0 CommandButton. You will see two windows appear: one with a visual picture of the command button and the other with it's properties.
  4. You can click on the left mouse button and resize the "button" if you want to or you can set the height and width in pixels using the properties box.
  5. In the properties box, select "caption". Type in the text/label you want the button to have. Click Apply.
  6. Optional: In the property box, select back color and change the color of the button.
  7. Optional:In the property box, select fore color and adjust the color of your text/label.
  8. Optional: In the property box, select "font" and choose the size and type of text you want to use.
  9. Choose ID and name your button(commandbutton1, etc) This is important and will help keep things straight when it is time to add the scripting.
  10. Click on the "x" and close both windows.The pad automatically will write the object code.

 

Part 2 - The Text Box

  1. Choose "Insert ActiveX control from the Edit command.
  2. Select "Microsoft Forms 2.0" text box
  3. Again, two windows will appear. One with the visual of the object and the other being the property box.
  4. Adjust the size of the box by either dragging the mouse or choosing the pixel height in the property box.
  5. Set the back color in the property box. This is important if you plan to change the background color when clicked on.
  6. Choose the FontColor from the property box. Also important for changing the color later, even if you want the window default, choose that colot.
  7. Enable multiline to "true".
  8. Set WordWrap to "true"
  9. In this example, change the special effect to "flat".
  10. Give the box a name - click on ID and name it (ie. textbox 1, etc.)
  11. Choose "Text" and type in what you want said in your text box.
  12. Choose your font. (At this point you can play with the font face and style to really customize your box.)
  13. Click the "x" and close the boxes. The pad does the rest. Remember to save what you have done so far.

Relax - you're half way there!

 

Part Three

Scripting- Making it all Work

  1. Select "Tools", "Options","Script", "VBscript"(You can use Javascript, however it can cause some nasty errors when a brower has java capibilities but not active X.)

  2. Position the cursor just after the

tag.

1