Form PaletteContentForm
- Unit name: Dialogs.PaletteContent
- Form name: TPaletteContentForm
- Old form name: form37 (unit37, scanner app)
Synopsis
Form to show pallette content
Functionalities
- Edit to enter palette number. On Enter key, the ShowPalette action is executed.
- Button to execute ShowPalette action.
- Grid to show palette content from view INVDETAILS
- Button to execute Close action.
- Property to read/write palette number. When written, ShowPalette action is executed.
Actions
ShowPalette
- Enabled when the edit contains a palette number.
- When executed, refreshes the PaletteContent view with the new palette number.
Close
- Always enabled.
- Close the dialog with ModalResult mrOK
Tables/Views
PaletteContent
SELECT
*
FROM
INVDETAILS
WHERE
(LOCATION='R.00.00.A') AND
(COLNO=:Palette)
ORDER BY
ARTCODE ASC;
Needed Service Calls
None.
Reports
None.