Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Standard Controls/TEdit    [ Add a report in this area ]  
Report #:  82094   Status: Open
Edit Cursor and Text Selection Highlight Invisible
Project:  Delphi Build #:  7600
Version:    14.0 Submitted By:   Dan Allen
Report Type:  Issue Date Reported:  2/12/2010 7:50:16 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    64 Bit Internal Tracking #:   275007
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
TEditOnEnter Event do TEdit.Alignment:=taLeftJustify

TEditOnExit Event do TEdit.Alignment:=taRightJustify

-----------------

When user enters TEdit, the edit cursor and selected text highlight are both invisible.

If user Alt-Tabs out of the app and then comes back, the cursor and selection highlight are both visible.
Steps to Reproduce:
Start a new Win32 VCL App.

Drop 2x Edit Boxes onto the form.

For either Edit Box:
Put TEdit.Alignment:=taLeftJustify in the OnEnter event
Put TEdit.Alignment:=taRightJustfy in the OnExit event.

Run the program
TAB into the justified Edit Box
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01