Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Custom Edit hide cursor using RecreatedWnd

36 views
Skip to first unread message

HugLeo

unread,
Jun 8, 2009, 4:02:29 PM6/8/09
to hugoc...@gmail.com
I've use the following code to change the alignment of my custom tedit
component.

procedure CustomTEdit.SetAlignment(const Value: TAlignment);
begin
if FAlignment <> Value then
begin
FAlignment := Value;
RecreateWnd;
end;
end;

When I use RecreateWnd; procedure my custom tedit lost the cursor
handle (hide cursor) and also I don't able select any text in the
tedit.

any ideas?

0 new messages