Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - How Highlight/Focus row on keyboard typing?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How Highlight/Focus row on keyboard typing?

 Post Reply Post Reply
Author
Message
Makarand View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 February 2007
Location: India
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote Makarand Quote  Post ReplyReply Direct Link To This Post Topic: How Highlight/Focus row on keyboard typing?
    Posted: 31 May 2011 at 2:30am
Hello CJ Team,

I am using virtual report where I have number or records which I want to highlight or focus the row on keyboard typing?

Example :
-- When I type the "W" then it should focus on column record start from "W" char.
-- When I type "What" it should focus on row start from "What".

-Mak
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Posted: 01 June 2011 at 1:50pm
Since you are running in virtual mode, report control has no knowledge of backend data. Think you'll need to implement this yourself (it's fairly straightforward - just intercept WM_CHAR  to build a keystroke buffer and search for the characters in your application storage, then find and selecting the appropriate report control index).
Back to Top
Makarand View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 February 2007
Location: India
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote Makarand Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2011 at 1:58am
Ok, Thanks for the reply

-Mak
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.