?
Solved

move in datadrid using ENTER key

Posted on 2005-03-23
9
Medium Priority
?
175 Views
Last Modified: 2012-05-05
Hello,

I need to move by a datagrid using ENTER key instead of TAB key. I just want that when I'm editing a row, pressing enter I go to the next row in next column. Anyone knows how can I do it?

Thanks
0
Comment
Question by:jbadia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 13620999
to use the enter key your dataGrid must be editable. then you'll go from one row to the next.

blu.
0
 

Author Comment

by:jbadia
ID: 13626332
yes, I have my datagrid editable = true, but when I press enter, i don't go to the next column as I want
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 13650272
what is it doing when you press enter now?

what version of flash are you using?
as i see it here, pressing tab takes you to the next column - same row.
pressing enter, takes you to the next row, within the same column - so you want to swap the functionality around?


0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:jbadia
ID: 13651382
Im' using MX 2004. If I press Enter, I go to next row, and Tab to next column. I want that when pressing enter, move to next column, like when I press tab
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 13651559
then what you're trying to do is change the actual functionality of the component.

create a duplicate of your component and its class files, and edit it there.

blu.
0
 

Author Comment

by:jbadia
ID: 13651952
how can I edit My class files? Where are them?
0
 
LVL 39

Accepted Solution

by:
blue-genie earned 500 total points
ID: 13651982
it's quite a hectic procedure.

if you look inside your program files folder

your path should look something like:
C:\Program Files\Macromedia\Flash MX 2004\en\Configuration\ComponentFLA

there's a standard components fla in there, what you should do is make a copy it.

then you'll find your datagrid classes somewhere in

C:\Program Files\Macromedia\Flash MX 2004\en\First Run\Classes\mx\controls

you should make a new component so as to not f**k up the original, so make a copy of the class as well, and change your pointers accordingly.

if i get a chance I"ll have a look at it, but as far as I know, its not an easy task.

You'll need to be pretty clued up on OOP and AS2.

blu.
0
 

Author Comment

by:jbadia
ID: 13652905
ok, thanks, i think I'll desist!
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 13652968
good choice :-)

0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question