Good day. The Form designer has a Grid with a columncount = -1 property.
In GRID.init I create a cursor that I display. Is it POSSIBLE at this stage to set the code programmatically in Grid.column1.header1.click()?
When I change the columncount and paste the code in Grid.column1.header1.click() everything works, BUT I have a search for records where the cursor is recreated and DEBUG happens text1.destroy(), header1.destroy().
And nothing works, because the header is different, do I understand correctly?
In GRID.init I create a cursor that I display. Is it POSSIBLE at this stage to set the code programmatically in Grid.column1.header1.click()?
When I change the columncount and paste the code in Grid.column1.header1.click() everything works, BUT I have a search for records where the cursor is recreated and DEBUG happens text1.destroy(), header1.destroy().
And nothing works, because the header is different, do I understand correctly?