OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: cadplayer on April 01, 2014, 03:55:38 AM

Title: Install grid-Object in form ?!
Post by: cadplayer on April 01, 2014, 03:55:38 AM
Hello!

I have create a grid in a form and I would like type in some notes in the "grid-table" but I can´t click or doubleclick something else in the table. Do I missunderstand something or what can I do.
I want set and get cell-values.
Title: Re: Install grid-Object in form ?!
Post by: marcoheuer on April 01, 2014, 04:12:44 AM
hello cadplayer,
you must change the style of columns in the property dialog

best regards
marco
Title: Re: Install grid-Object in form ?!
Post by: cadplayer on April 01, 2014, 04:41:42 AM
I didn´'t found what you exactly mean?!
Must I initialisize with this method?
Code (autolisp) Select

(command "_OPENDCL")
  (setvar "CMDECHO" cmdecho)

  (dcl_Project_Load "h:\\Dropbox\\2014\\dcl\\DimTool.odcl")

  (dcl_Form_Show DimTool_DimForm)

  (defun c:DimTool_DimForm_OnInitialize (/)
  (setq a (dcl_Control_GetColumnStyleList DimTool_DimForm_Grid1))
  )


nil?!
what do I wrong?
Title: Re: Install grid-Object in form ?!
Post by: marcoheuer on April 01, 2014, 06:18:20 AM
right click on grid object -> properties
in the "control property wizard" dialog you have a tab "columns". here you can select the style of column.