I had set the dgProp ["columns"] to more than 900. :-) Not only did the DG fail 
to display any data, but it actually KILLED THE DG! I could no longer set the 
dgData to empty, nor could I edit the contents in the property inspector and 
delete the text. I had to delete the DG and create a new one. I have less than 
100 now so all good. 

I don't consider this a bug though. I simply exceeded the limits of LC to 
handle that many columns of data. I think it has to do with the maximum width 
of a card. The fields would have to be created whether or not they are 
displayed. If they exceed the max card width, I can see how there would be 
problems. 

Bob S


> On Nov 20, 2018, at 19:36 , dunbarxx via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi.
> 
> Never thought about this. But I made a DG, and put this into a button:
> on mouseup
>   repeat 300
>        put random(9999) & tab after temp
>   end repeat
>   set the dgText of grp 1  to temp
> end mouseup
> 
> No problem. With a horizontal scrollbar, I can zoom to each side of the DG.
> 
> But If I try to change the count to more than 300, the DG loses its hScroll,
> and it seems that many separate numbers appear overlapped in column 1.
> Further, a lot of time is spent while the DG is digesting this new property
> change.
> 
> Trevor is the one to address this, assuming anything I just did makes sense.
> 
> Craig Newman


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to