OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Peter2 on June 02, 2026, 05:46:05 AM

Title: SetColumnStyleList in Grid - multiline text
Post by: Peter2 on June 02, 2026, 05:46:05 AM
I have a grid where I want to use "multiline text" with "cellstyle 13".
I create the columns, set them to "13", check them with result 13, check the cell with result -1 (which says cellstyle comes from column).

Everything looks fine, but the result is still a "one - line -text". What could be wrong?

    (dcl-Grid-Clear htp/palette/Datenblatt)

    (dcl-Grid-AddColumns htp/palette/Datenblatt '(("Titel" 0 150) ("Beschreibung" 0 500) ("Steuerelement" 0 150)))
    (dcl-Control-SetColumnStyleList htp/palette/Datenblatt 13 13 13)

    (dcl-Control-GetColumnStyleList htp/palette/Datenblatt)
    (13 13 13)

    (dcl-Grid-GetCellStyle htp/palette/Datenblatt 2 2)
    -1

---