Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper > Re: shift+down
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 3841 of 3904
Post > Topic >>

Re: shift+down

by dlzc <dlzc1@[EMAIL PROTECTED] > Feb 14, 2008 at 02:31 PM

Hello target:

On Feb 14, 11:44=A0am, target <rmtar...@[EMAIL PROTECTED]
> wrote:
> Hi friends: I need to select a group of records that
> are shown inside a browse...how can I active the key
> shift+arrow down in order to get those records in one
> step....thanks in advance

Seems like you could include a function in the UDF for your browse:
If last key pressed is shift+down (and not EOF)
   add the current record number to the select array, and
   highlight the current record, and
   return to browse with instructions to move down one record.
If last key pressed is shift+up and the array is not empty
   delete the current record number from the select array, and
   unhighlight the current record, and
   return to browse with instructions to move up one record.
If next key pending is not shift+down, shift+up and is not an action
key
   empty the select array, and
   unhighlight all records / repaint the screen, whatever.

I am not sure how you would highlight the selected records... maybe a
separate display field?

David A. Smith




 6 Posts in Topic:
shift+down
target <rmtarget@[EMAI  2008-02-14 10:44:42 
Re: shift+down
dlzc <dlzc1@[EMAIL PRO  2008-02-14 14:31:14 
Re: shift+down
diego <diegobph@[EMAIL  2008-02-14 22:08:24 
Re: shift+down
sebas22 <nospam@[EMAIL  2008-02-15 06:49:45 
Re: shift+down
"Stephen Quinn"  2008-02-15 07:06:21 
Re: shift+down
"Marek Horodyski&quo  2008-02-15 09:46:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 5:47:49 CDT 2008.