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:
- Close Taskmaster DotEdit if
it is running.
- In Microsoft Visual
Studio, click Build > Rebuild Solution to
rebuild DotEditPanels.dll.
- 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).
- Start Taskmaster DotEdit.
- In the Application field, type APT.
- Enter the Admin login credentials
and then click Login.
- In the Shortcut field, choose Verify and
click Start.
- 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.
- Notice the Find Details button and
the hyperlinked Vendor label, and scroll to
the bottom of the page to view the line item grid.
- (Optional) View the custom panel in Microsoft Visual Studio:
- 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.)
- 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.)