Microsoft
Software
Hardware
Network
Question : How to know when a TMemo's control has had text selected?
I am trying to enable/disable a button & menu item based on whether or not a TMemo's text has been selected
I dont see an event that triggers when text is selected...so how can i trap for it?
Answer : How to know when a TMemo's control has had text selected?
procedure TForm1.Memo1MouseUp(Sender
: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
button1.Enabled := (Sender as TMemo).SelLength > 0;
end;
Random Solutions
Websense - Block Internet Access - Except for Updates
How do i recover missing notes in office 2007 pro. Missing from archive folders as well.
Can't access Exchange 2003 OWA from Internet
Dynamic Color
What is the best navigation software for a Macbook Pro and an iPhone?
Script to automatically delete files older than 1 month Windows NT server
Somebody is sending emials form my hotmail account
Windows Update site fails to load
Disable Shortcut Keys in axwindowsmediaplayer1 (media player)
Dynamic naming of Java objects