Data grid inside a tab control problems

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
chris9610
Posts: 79
Joined: Fri Mar 20, 2009 4:38 pm

Data grid inside a tab control problems

Post by chris9610 » Tue Sep 01, 2009 4:07 am

I have not been able to get a data grid to work inside a Tab Panel. Has any one tried this?

Inside the same stack outside of the Tab Panel the grid works fine, but not inside the Tab Panel.

Is this a restriction on the use of the data grid?
Developing with Windows XP & Revolution 4.5

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue Sep 01, 2009 9:03 am

Dear chris9610,

What kind of problems do you see?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

chris9610
Posts: 79
Joined: Fri Mar 20, 2009 4:38 pm

Post by chris9610 » Tue Sep 01, 2009 1:12 pm

I can add content in the object inspector but it does not populate and columns can be named in the inspector with no results in the grid.

I was trying to use the data grid in a Tab Panel but as soon as the grid is moved into the Tab Panel Group it stops working.

I tried first by placing the data grid in the Tab Panel then tried setting the properties, No Go.

I then tried creating the data grid in the stack outside of the Tab Panel and I was able set properties and add data. Then I dragged the grid into the Tab Panel and the data grid stopped working until I moved it back out of the Tab Panel.

So there seem to be undocumented restrictions on the use of data grids.
Developing with Windows XP & Revolution 4.5

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue Sep 01, 2009 1:18 pm

Hi chris9610,

That sounds like a bug to me. You might want to report it.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1005
Joined: Sat Apr 08, 2006 3:06 pm
Contact:

Post by trevordevore » Wed Sep 02, 2009 7:47 am

There aren't any inherent restrictions on using a Data Grid within another group. Is it possible for you to post an example stack somewhere that shows the problem?
Trevor DeVore
ScreenSteps - https://www.screensteps.com

LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder

Post Reply