Board index » cppbuilder » Why does SelectAll not working?
Ramy
![]() CBuilder Developer |
Why does SelectAll not working?2004-03-07 09:32:47 PM cppbuilder13 Hi all, On my form there is one Edit Box, in this edit i have is a short text, in the start of my code i have this lines - Form1->MyEdit->SelStart = 0; Form1->MyEdit->SelLength = Form1->MyEdit->Text.Length(); Form1->MyEdit->SelectAll(); Form1->MyEdit->Refresh(); I expected that after running this lines i will see the text in the Edit box selected (in Blue color like i selected it with my mouse) , but although this lines of code are executed i don't see any part of the text selected in the edit box, it's stays black text on a normal white background. The question is - why? ..... Thanks, Ramy |