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
3d barcodes (q-codes)
Installing PHP XP (IIS 5.1)
SSRS Filter
Exchange 2010 on Windows Server Enterprise 2008 SP2 Locking Up
SQL Statement. Copy and paste characters from cell into another in same record
Post data back to jquery
Replacing Keyboard on Toshiba Portege A600
Your message wasn't delivered because of security policies. Microsoft Exchange will not try to redeliver this message for you. Please provide the following diagnostic text to your system administrator
Exchange 2010 Send-As permissions do not stay applied
No Windows machines can print in Mixed Network - Spooler Subsystem Closes