Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1963

Inconsistent behavior of ->setFocus with TEdit

$
0
0

Does anyone have any experience or helpful advice about using ->setFocus with TEdit controls? When I write simple code and use ->setFocus, the cursor appears, flashing in the desired TEdit, when I run the program. But when I try to do the same thing in my "real" work, ->setFocus doesn't have the desired effect, i.e., the TEdit box appears, but the cursor is not flashing in it. (And if I start typing, what I type does not appear in the TEdit box.) I would love to attach an example, but the project where I'm having the problem is 5,000+ lines at this point.

Are there any known "bugs" or tricks or idiosyncracies of ->setFocus that I need to know about?

River_Forest


Viewing all articles
Browse latest Browse all 1963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>