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
VMWare ESXI training material?
Restoring Windows Server 2008 System state backup on different machine
OWA no longer working after Exchange 2010 rollup 4
Yum v. 3.2.22 throws segmentation fault no matter which command i issue to it on centos 5.4.
Folders from Windows Updates are created in USB Discs
Auto login Windows 7
Is there a DSMOD query to change the domain part (only) of an email address in AD?
Unable to access OWA
Cisco 1310g Wireless Bridge, Fastethernet Hardware Status Down
Windows 2003 DC, want to install DNS but setup fails on missing file(s). (dnsperf.h)