GRID ItemStyle 15 (DATE) Problem

Started by garcigj, October 09, 2008, 11:19:36 AM

Previous topic - Next topic

garcigj

Initilize:

(dcl_Grid_Clear (vl-doc-ref 'EspaciosTiempos_EPInsert_Grid1))
    (dcl_Grid_AddColumns (vl-doc-ref 'EspaciosTiempos_EPInsert_Grid1)
         (list  (list  "Fechas:" 0 100)
           (list  "Proyecto" 0 100)
           (list  "Diagrama" 0 100)))
    (setq listIndex
      (list (dcl_Grid_AddString (vl-doc-ref 'EspaciosTiempos_EPInsert_Grid1)
         (strcat    "Inicio de Obra" "," FECHAI "," FECHAIEP) ",")
            (dcl_Grid_AddString (vl-doc-ref 'EspaciosTiempos_EPInsert_Grid1)
         (strcat    "Final de Obra" ","  FECHAF "," FECHAFEP) ",") 
      ))
    (mapcar (function (lambda (idx)
     (dcl_Grid_SetItemStyle (vl-doc-ref 'EspaciosTiempos_EPInsert_Grid1) idx 1 15)
     (dcl_Grid_SetItemStyle (vl-doc-ref 'EspaciosTiempos_EPInsert_Grid1) idx 2 0)
    )) listIndex)

Use:
If you activate the calendar and we use the keyboard changes the values in the Item, but if you activate the calendar we use the mouse and the item loses focus and does not change its value ..

Visual example:
José Luis García Galán
Hispacad.com - Expertos en CAD 
Madrid (Spain)

Fred Tomke

Hello, garcigj, am I right that you're using OpenDCL 4.21? In this case this is a bug. That does not occur in OpenDCL 5 anymore.

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

garcigj

Hello Fred,

I'm using version 5.0.0.25 ENU and continues to misfire ..

José
José Luis García Galán
Hispacad.com - Expertos en CAD 
Madrid (Spain)

owenwengerd

I was able to reproduce this in Windows XP (it works correctly in Vista). This is now fixed for Beta 1.
Owen Wengerd (Outside The Box) / ManuSoft

garcigj

José Luis García Galán
Hispacad.com - Expertos en CAD 
Madrid (Spain)