OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Jim Short on November 21, 2008, 12:55:45 PM

Title: Grid will not edit Beta 5.0.1.3
Post by: Jim Short on November 21, 2008, 12:55:45 PM
I have a grid on a tabbed control on a docked form.
Not able to edit values.
(dcl_Control_GetEnabled Onset_Outline_InfoGrid) returns true.

Jim
Title: Re: Grid will not edit Beta 5.0.1.3
Post by: BazzaCAD on November 21, 2008, 01:11:34 PM
What are you trying to edit?
I just ran the Grid sample & was able to edit it fine....
Title: Re: Grid will not edit Beta 5.0.1.3
Post by: Jim Short on November 21, 2008, 02:20:01 PM
Trying to edit value column.
Title: Re: Grid will not edit Beta 5.0.1.3
Post by: Jim Short on November 21, 2008, 02:31:50 PM
I loaded the samples and see that the grid and listview fields do not allow the user to edit them directly.
Does this then require that one put up a edit box in response to a click event
where one can type a value to be placed in the grid programmatically.

Jim
Title: Re: Grid will not edit Beta 5.0.1.3
Post by: Jim Short on November 21, 2008, 02:54:15 PM
Got it now.
dcl_Control_SetColumnStyleList
In OnInitialize event works

Jim
Title: Re: Grid will not edit Beta 5.0.1.3
Post by: BazzaCAD on November 21, 2008, 03:04:19 PM
Or you can set the columns style to "6-Strings" so you don't have to do it at run-time...
Title: Re: Grid will not edit Beta 5.0.1.3
Post by: Jim Short on November 22, 2008, 01:21:23 PM
That's just to easy!
Thanks.
Jim