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
Setting Up Coldfusion Builder to Use A Remote Server
Sharepoint 2010 guides
CentOS 5.3: search keyword in array of logs: how?
Simulate clicking into a textbox
Pull report from Active Directory
How do i do PXE Boot using windows 2008 server and Deployment Workbench
10 GB database storage with SQL 2008 R2
Special Query in Oracle 10 sqlplus
jucheck.exe in Windows 7 with Active Directory
Sysprepping Windows 7 PCs