powered by CADENAS

Manual

Manual

5.8.5. Tabellenwerte anpassen > Set bitmap / plinkcommon.cfg -> Block [BMPMAPPING_<column name>] - Key "BMPCODE<Nummer>"

With the help of the option Bitmap setzen (nur PDataMgr) you can set internal values and map them to a color.

The setting only applies for PARTdataManager.

Setting in configuration file $CADENAS_SETUP/plinkcommon.cfg:

Block [BMPMAPPING_<variable name>], key BMPCODE<NUMBER>, first value contains the displayed term, the second value contains the path to bitmap.

Example:

[BMPMAPPING_MAT_NAME]
BMPCODE0="BRASS","$CADENAS_SETUP/bitmaps/linkdbdemo/materials/brass.bmp"
BMPCODE1="COPPER","$CADENAS_SETUP/bitmaps/linkdbdemo/materials/copper.bmp"
BMPCODE2="GLAS","$CADENAS_SETUP/bitmaps/linkdbdemo/materials/glas.bmp"

Setting in user interface under PARTlinkManager -> Extras menu -> Konfigurieren dialog box -> PARTlinkManager Einstellungen tab -> Tabellenwerte anpassen -> Bitmap setzen (nur PDataMgr)

Internal Bitmap
Material name Path to bmp

Display in PARTdataManager

Pictures are displayed if enabled by clicking the button Grafiken in Tabelle anzeigen .

  • Show graphics in table" enabled

    Example: Material in the form of a picture

    Example: Material in the form of a picture

  • Show graphics in table" disabled

    Example: Material in text form

    Example: Material in text form

Display in PARTlinkManager

[Hinweis] Hinweis

Make sure that for all used materials there is a definition available.

Example:

BMPCODE0="BRASS","C:\ProgramData\cadenas\partsolutions\setup/bitmaps/linkdbdemo/materials/brass.bmp"

Furthermore please regard that the list field option in the dialog box "new ident-no." has to show the according value as well; otherwise it won't work.

The value definition happens in erpcustom.cfg -> block "USERDIALOG" -> key "Werkstoff". For details see there.

Another example (See PLDBDEMO database -> Role "LOC1")

[BMPMAPPING_LOC1]
BMPCODE0="x","$CADENAS_SETUP/bitmaps/linkdbdemo/department/usa.png"

User interface: PARTlinkManager -> Extras menu -> Konfigurieren dialog box -> PARTlinkManager Einstellungen tab -> Tabellenwerte anpassen -> Bitmap setzen (nur PDataMgr)

Internal Bitmap
x Path to bmp

Result in PARTdataManager:

If button Grafiken in Tabelle anzeigen is disabled the internal value (here "x") is displayed in the respective row.

Display of internal value

Display of internal value

If button Grafiken in Tabelle anzeigen is enabled the image is displayed in the respective row.

Display of bitmap

Display of bitmap