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
Configuration Status error on TMG 2010 Enterprise
php page does not load after putting it on webserver (BEEF)
how to add decimal place in formula in seagate crystal report
KB973544
which technology
Active Directory DNS records issue
VB6 end of support - consequences for practice
C#, general purpose logging
find textbox and start div underneath it
Windows 7 - Windows could not be activated