Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 549

Getting Started with LiveCode - Complete Beginners • DataGrid operation causes freeze of screen

$
0
0
Hi all,
I'm using the following code

CODE:

dispatch "ResetList" to group "DataGrid 3" of cd "manage products"   put the dgprops["columns"] of grp "datagrid 3" into tColumns         repeat for each line tColumn in tColumns      set the dgColumnIsVisible[tColumn] of grp "datagrid 3" to false   end repeat
to hide all the columns (in order to then list the required columns).
The columns are hidden, but the screen freezes - there is a cursor, still movable,
but clicking on anything does not work, similarly, keyboard shortcuts do not work.

To recover, I have used ctrl-alt-del.

Is there something I could add to the code to stop this happening ?

Statistics: Posted by CAsba — Wed Jul 24, 2024 11:12 am



Viewing all articles
Browse latest Browse all 549

Trending Articles