How do I navigate 10 x 10 cells in a DataGrid Using Buttons?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

How do I navigate 10 x 10 cells in a DataGrid Using Buttons?

Post by BarrySumpter » Mon Aug 22, 2011 12:28 am

Hi all,

Can't seem to find a way to nagigate a DataGrid with Buttons.
I've got a say 10 x 10 Cells.
I'd like to naigate the dataGrid with button kinda like below:
the - are for positioning the text in this post only.
Try to picture the button positions without the ---

----- up
Left ------ Right ------ Edit
---- Down

Does anyone know how to postition the cell selection using button to navigate?

Thanks in advance
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: How do I navigate 10 x 10 cells in a DataGrid Using Buttons?

Post by BarrySumpter » Mon Aug 22, 2011 3:31 am

Code: Select all

 
--   dgHilitedIndexes
   --dgHilitedIndex
   --- get the dgHilitedIndexes
   --- set the dgHilitedIndexes of group "DataGrid" to pIndex
   --- Returns a comma delimited list of the indexes that are currently selected.
   
   --dgHilitedLines
   --dgHilitedLine
   --- get the dgHilitedLines
   --- set the dgHilitedLines of group "DataGrid" to pLine
   --- Returns a comma delimited list of the line numbers that are currently selected.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: How do I navigate 10 x 10 cells in a DataGrid Using Buttons?

Post by BarrySumpter » Mon Aug 22, 2011 7:54 am

change of technique -

How Do I Override the Default Behavior For Rendering Data to a Cell?
http://lessons.runrev.com/spaces/lesson ... to-a-Cell-

Has anyone got this to work?
Consistantly?

Specificly the Example for Coloring Cells.

I had one working.
Saved it.
Now it doesn't work.
Now I can't get a new one to work either.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

Post Reply