Talk About Network

Google


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 Visual-Objects > Re: ListView:Ke...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 14 Topic 11297 of 11703
Post > Topic >>

Re: ListView:KeyDown

by "Stephen Quinn" <stevejqNO@[EMAIL PROTECTED] > Apr 9, 2008 at 03:01 AM

Tony

Your using the wrong method.

> METHOD ListViewKeyDown(oListViewKeyEvent) CLASS TopicsWindow
>  LOCAL oLVI AS ListViewItem
>
>  SUPER:ListViewKeyDown(oListViewKeyEvent)
>
>  oLVI := oDCLV_Topics:GetSelectedItem() // Get the current Selected
The next Item won't be 'selected' until the KeyUp event as finished.

What your GetSelectedItem() is getting here is the current line that has
focus before moving the pointer
    ie 1 item behind where you think you are

-- 
CYA
Steve
 




 14 Posts in Topic:
ListView:KeyDown
tony holland <tony.hol  2008-04-08 07:00:35 
Re: ListView:KeyDown
"Geoff Schaller"  2008-04-08 22:18:10 
Re: ListView:KeyDown
"Stephen Quinn"  2008-04-09 03:01:13 
Re: ListView:KeyDown
Tony Holland <tony.hol  2008-04-09 03:06:41 
Re: ListView:KeyDown
"Geoff Schaller"  2008-04-09 10:13:04 
Re: ListView:KeyDown
Tony Holland <tony.hol  2008-04-10 02:26:56 
Re: ListView:KeyDown
"Don Bjortomt"   2008-04-10 06:18:40 
Re: ListView:KeyDown
"Geoff Schaller"  2008-04-10 22:18:02 
Re: ListView:KeyDown
"Craig Dawson"   2008-04-11 16:28:45 
Re: ListView:KeyDown
D.J.W. van Kooten <pub  2008-04-11 16:09:06 
Re: ListView:KeyDown
"Geoff Schaller"  2008-04-12 11:27:58 
Re: ListView:KeyDown
Tony Holland <tony.hol  2008-04-10 03:33:51 
Re: ListView:KeyDown
Amilcar A. Camargo <am  2008-04-12 19:36:04 
Re: ListView:KeyDown
Tony Holland <tony.hol  2008-04-13 01:44:57 

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 Oct 11 21:17:44 CDT 2008.