<< Click to Display Table of Contents >> Simulating Buttons, Listboxes and Comboboxes |
VPE does not provide objects like Buttons, List- and Comboboxes. However, you can simulate them in the following way:
For buttons which shall also be able to receive the focus (so the user can reach them with the TAB key), like the Ok- and Cancel buttons, use checkboxes as done in the iForm demo (sources are shipped with VPE for C/C++, Visual Basic and Delphi).
For other buttons, create a Clickable Object as described in the "DLL-Reference Manual" and the "Control Manual (.NET / ActiveX / VCL)".
If you wish to display a list- or combobox, just show a dialog with a list box as the user clicked onto a button. Let the user make his selection and afterwards destroy or hide the dialog, so the user can continue to work with the document.
Since in regular you don't want to print the "buttons" (i.e. the checkboxes or Clickable Objects which function as buttons), set the property "Printable" of these objects to False. Therefore the buttons will be visible and usable in the preview, but they will not be printed.