About the TreeView in CF.

S

steel

Thanks for everyone who has helped me or will help me in this group.
Thanks a lot.

i am developing a app which can operated only by keyboard. (vs2003 +
ce4.2), in my app window there are several function buttons, and these
buttons can be "clicked" by Function keys at anytime. (1 function
button <-> 1 function key) , the problem is that when other control in
my app window gotfocus, the keyPressed event is operated by these
focused controls and the function button can not be "clicked". so i
let the form always be focused. And the form is the only operator of
the keyPressed event, according to the key was pressed, the form
distributes the keyPressed event to the control. at first it works
well. but when i pressed the direction key to look throwgh the
treenodes in a treeview, i can not differentiate the selected node, for
the treeview is not focused and the selectedNode's backColor is not
blue.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top