Hi, all.
dcl_Grid_SetCurCell does not go to Top of the Grid.
(dcl_Grid_SetCurCell 0 1) scroll stop at the just second row and does not go to Top.
Anybody knows about this?
(Tested Win 7 / 64 bit, acad2014 , ODCL 7.0.0.12 )
Thanks.
Can you attach a very simple sample that demonstrates the problem?
Hi, Owen.
This is a sample.
On initialize Grid and ComboBox load values.
When select an item in ComboBox, SetCurCell on Grid works.
You can also test the dcl_form_hide button.
Thanks.
Good catch. This is now fixed for the next build.
I am pretty sure that the (dcl_Form_Hide) behavior is by design. Control bars are hosted inside a control bar frame, and the frame is managed by the host application. A single frame can host multiple control bars. I know that some frameworks "hide" a control bar by actually closing it, but OpenDCL does not. In this case, hiding the form is working as designed, but the host app is not closing the frame as you expect. The solution is to close the form instead of hiding it.