IBM Datacap, Version 8.1            

Viewing the APT custom panel

When you view the APT custom panel in Taskmaster DotEdit and in Microsoft Visual Studio, you can see how UI controls are implemented at runtime.

Before you can view the APT custom panel, you need to rebuild the solution in Microsoft Visual Studio.

To view the custom panel:

  1. Close Taskmaster DotEdit if it is running.
  2. In Microsoft Visual Studio, click Build > Rebuild Solution to rebuild DotEditPanels.dll.
  3. Open the folder C:\Datacap\DotEdit and confirm that the timestamp on DotEditPanels.dll is correct for the new version.
    Tip: If you do not see the new DLL, confirm that you specified the correct project output path (see Setting up the DotEdit development environment). If necessary, copy the DLL from the default output path (My Documents\Datacap\DotEditPanels\bin\Release).
  4. Start Taskmaster DotEdit.
    Important: Confirm that there are two batches that are ready for verification. See Creating batches for verification.
  5. In the Application field, type APT.
  6. Enter the Admin login credentials and then click Login.
  7. In the Shortcut field, choose Verify and click Start.
  8. Click OK to run the next pending batch.
    Tip: If Taskmaster DotEdit displays a table that includes a batch with a Status of hold, double-click the task row to start the Verify task.
  9. Notice the Find Details button and the hyperlinked Vendor label, and scroll to the bottom of the page to view the line item grid.
  10. (Optional) View the custom panel in Microsoft Visual Studio:
    1. In the Solution Explorer, double-click Main_Page.cs or the name that you entered when you created the custom panel.

      The Find Details button and Calculate Blank button are not shown in design view. These buttons are added automatically at runtime. (See Overview of the Find Details button.)

      The Vendor label is not hyperlinked in design view. The database lookup functionality is implemented at runtime. (See Overview of the vendor lookup hyperlink.)

    2. Scroll to the bottom of the panel to view the line item grid.

      The line item grid is a composite control that consists of multiple DCEdit controls and DCImage controls within a standard panel control. Labels are positioned at the top of each column, and standard buttons are positioned below the grid to allow the user to add new rows or delete existing rows. The grid is constructed by the DotEdit test container, which uses the information in the DCO. (See Overview of the line item grid.)



Feedback

Last updated: November 2013
dcapi563.htm

© Copyright IBM Corporation 2013.