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
Gracefully shutting down VMs before ESX hosts shutdown in vSphere
SSAS 2008 MDX All Member Before Current Member
Installing public SSL for Exchange 2007 server
Post image file [Binary Data] using HttpWebRequest fails.
HP PROCURVE 2520 VLAN tagging, for VOIP
Computer doesnt power on...
simple math programming question
Ask user if they wish to overwrite existing file
Move users home folders to new storage partition
How can I check for an install new updates for Symantec Backup Exec? I have clicked on the Help drop down menu, but don't see any options for updates