Re: Datagrid again

2025-04-04 Thread Klaus major-k via use-livecode
Hi Bob, > Am 19.03.2025 um 21:50 schrieb Bob Sneidar via use-livecode = : >=20 > Can you pluralize dgProp? obviously LC accepts singular and plural: dprop["whatever"] dprops["whatever"] > Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de ___

Datagrid again

2025-04-04 Thread jbv via use-livecode
Hi list, One more question : is there a way to hide the top row of a datagrid when no column names need to be displayed ? I tried set the dgProp["columns"] of group "DataGrid 1" to empty but it displays "col1. col2. etc" by default. Thanks you in advance. jbv _

Re: Datagrid again

2025-03-19 Thread Bob Sneidar via use-livecode
Can you pluralize dgProp?=20 Bob S > On Mar 19, 2025, at 11:50 AM, Klaus major-k via use-livecode wrote: >=20 > Hi jbv, >=20 >> Am 19.03.2025 um 19:41 schrieb jbv via use-livecode =3D > : >> =3D20 >> Hi list, >> =3D20 >> One more question : is there a way to hide the top row >> of a datagrid wh

Re: Datagrid again

2025-03-19 Thread Paul Dupuis via use-livecode
If there is no data to be displayed, we hide the Datagrid itself and show a simple bordered locked field (with large type) saying "No Data Selected" Suggested alternative. I am not sure the headers can be hidden as part of the Datagrid. You would want to consult the Datagid documentation with

Re: Datagrid again

2025-03-19 Thread Klaus major-k via use-livecode
Hi jbv, > Am 19.03.2025 um 19:41 schrieb jbv via use-livecode = : >=20 > Hi list, >=20 > One more question : is there a way to hide the top row > of a datagrid when no column names need to be displayed ? > I tried > set the dgProp["columns"] of group "DataGrid 1" to empty > but it displays "col1.

Re: DataGrid again

2014-10-08 Thread Terence Heaford
I have managed to get the data grid to resize using this script from an earlier post I made on a similar subject. This resizes the data grid on the last message , deleting the earlier ones (see script below). I wonder if the reason it was not working is because the redrawing of the data grid c

Re: DataGrid again

2014-10-08 Thread Peter Haworth
Do you have liveResizing on? If so, the resizeStack message is sent continuously as the stack is being resized and the "old" parms are the same as the "new" parms from the previous resizeStack message. Each of your put statements to the message box overwrites the previous one so what you see ther

Re: DataGrid again

2014-10-08 Thread J. Landman Gay
On 10/8/2014, 9:44 AM, Terence Heaford wrote: There is without doubt issues with the way livecode handles Mac Menus. Again along with the geometry issues noted in an earlier post this is making Livecode unusable as I cannot get consistent results. It not only applies to 6.7 but also 6.6.4. I h

Re: DataGrid again

2014-10-08 Thread Terence Heaford
Even more woes using this simple script: on resizeStack newWidth,newHeight,oldWidth,oldHeight put "newWidth = " & newWidth & "," & "newHeight = " & newHeight & "," & "oldWidth = " & oldWidth & "," & "oldHeight = " & oldHeight end resizeStack Zoom window (enlarge): newWidth = 1680,new

Re: DataGrid again

2014-10-08 Thread Terence Heaford
There is clearly something wrong with the data returned from resizeStack. For a height that should return 700 I have had returned 700 & 722. Clearly the 22 is something to do with the way LiveCode handles Mac Menus. For a height that should return 1024 I have had returned 1024 & 1002. Clearly

Re: DataGrid again

2014-10-07 Thread Mike Kerner
iphone 5s seems ok, now. I'm waiting for feedback from my 6 users. On Tue, Oct 7, 2014 at 4:13 PM, Terence Heaford wrote: > I have double checked my geometry settings and all seems well. > > I have tried 6.6.4 rc2 > > and still the controls of the window do not not expand and contract > correct

Re: DataGrid again

2014-10-07 Thread Terence Heaford
I have double checked my geometry settings and all seems well. I have tried 6.6.4 rc2 and still the controls of the window do not not expand and contract correctly. Butons are set by position and data grids are set to expand with the right and bottom of the screen. Am I the only one experienci

DataGrid again

2014-10-07 Thread Terence Heaford
MacOS Mavericks LiveCode 6.7 (RC2) I have a 6 column data grid set to enlarge automatically via. it’s geometry settings. When zooming the window and the data grid does not contain any data it enlarges/contracts as it should. When the data grid contains data it does not enlarge correctly (barel