Re: DataGrid Column Labels

2018-04-19 Thread Bob Sneidar via use-livecode
Ah. My problem was that my datagrids had different objects when I checked. Probably because I have been working with this project since the v6 days. BTW I replaced my datagrids which were showing non-3D column labels with fresh ones and they look fine now. I have 2 scripts that help me with

Re: DataGrid Column Labels

2018-04-19 Thread Terence Heaford via use-livecode
It’s weird but placing this in the preopenCard script sorts out the issue for now. set the dgProp[ "column labels" ] of group “myTable" to the dgProp[ "column labels" ] of group "myTable" All the best Terry > On 18 Apr 2018, at 18:43, Terence Heaford via use-livecode >

Re: DataGrid Column Labels

2018-04-18 Thread Terence Heaford via use-livecode
All my tables just say button id 1005 of stack "revDataGridLibrary" Did the copy and paste thing and it did not work. ?? Terry > On 18 Apr 2018, at 15:53, Bob Sneidar via use-livecode > wrote: > > 2. Copy what's in the message

Re: DataGrid Column Labels

2018-04-18 Thread Mike Bonner via use-livecode
Should have been diffcompare(the script of tWorking, the script of tBroken, 1) Typos galore. On Wed, Apr 18, 2018 at 9:05 AM, Mike Bonner wrote: > I'm curious as to the differences.. > Bob, what do you get if you.. > put the behavior of group "workingdatagridname" into

Re: DataGrid Column Labels

2018-04-18 Thread Mike Bonner via use-livecode
I'm curious as to the differences.. Bob, what do you get if you.. put the behavior of group "workingdatagridname" into tWorking put the behavior of group "nonworkingdatagridname" into tBroken get dicompare(the script of tWorking,tBroken,1) put it On Wed, Apr 18, 2018 at 8:53 AM, Bob Sneidar via

Re: DataGrid Column Labels

2018-04-18 Thread Bob Sneidar via use-livecode
1. Find a datagrid that does not exhibit the problem. In the message box put: put the behavior of group to Bob S > On Apr 17, 2018, at 23:36 , Terence Heaford via use-livecode > wrote: > > I’ve had a look at various behaviours but rather then make a mess of

Re: DataGrid Column Labels

2018-04-18 Thread Terence Heaford via use-livecode
I’ve had a look at various behaviours but rather then make a mess of everything can you give a blow by blow of your actions please. Thanks Terry > On 17 Apr 2018, at 15:47, Bob Sneidar via use-livecode > wrote: > > As I mentioned, I get the behavior of a

Re: DataGrid Column Labels

2018-04-17 Thread Bob Sneidar via use-livecode
As I mentioned, I get the behavior of a datagrid that IS working, then set the behavior of the datagrid that ISN'T working to that behavior. I'm not sure why but there seem to be more than one datagrid behavior object floating around. Bob S > On Apr 16, 2018, at 08:29 , Terence Heaford via

Re: DataGrid Column Labels

2018-04-16 Thread Terence Heaford via use-livecode
I see what you have done and when I create a new project with LC9 and create a Data Grid I do not have any problems. The issue I have is when I create a Data Grid within a project that has been created with an earlier version of LC. If this is relevant I do not know. For the moment I have

Re: DataGrid Column Labels

2018-04-14 Thread Terence Heaford via use-livecode
More investigation. Instead of using DGH to change the header label I did it manually by editing the groups. This worked until a reload of the project at which point the header label had disappeared again. Upon working through the header by editing the groups you eventually come to the text

Re: DataGrid Column Labels

2018-04-14 Thread Terence Heaford via use-livecode
When I look at the Data Grid Templates in the project browser I see 2 tables that refer to DG2. I suspect these are the culprits because these are associated with the two new tables I have added to the project. Where there problems are, I don’t know. Thanks Terry > On 14 Apr 2018, at

Re: DataGrid Column Labels

2018-04-14 Thread Terence Heaford via use-livecode
Thanks Will have a look at that although the column does not have a column behaviour. I have changed the properties of the header with DGH but the props listed in the Property Inspector do seem correct. If I go back into DGH and click on the green tick to accept a change of margins for the

Re: DataGrid Column Labels

2018-04-13 Thread Bob Sneidar via use-livecode
I had a similar issue. Labels would not appear. I got the dgprop ["column labels"] of the datagrid and they were all correct! That made me think there is something wrong with the behavior, but other datagrids were working fine! What I did to fix it is I got the behavior of another datagrid that