Does my hair look green as Grass well , moi adoree c++ and this is me first question.
Ok i have one C++ builder 5
i use 1 Empty form
i use 1 RichEdit
i use 1 SpeedButton
Ok here is the problem
let's say this box beneath here is the RichEdit1 on my empty form. ( Still following ??? )
--------------------------------------------------------------------------------
RichEdit1
if i press the A button and hold it in on my keyboard you logically get this. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aa
---------------------------------------------------------------------------------
The ScrollBar will follow the the letters downwards.
____________
| SpeedButton1 | ok imagine this is a SpeedButton.
-------------------
On this SpeedButton1 i use a event called [ OnMouseMove ] So if i hold my mouse over it it will cause an event, and that is this following code
//---------------------------------------------------------------------------
void __fastcall TForm1::SpeedButton1MouseMove(TObject *Sender,
TShiftState Shift, int X, int Y)
{
RichEdit1->Text=RichEdit1->Text+("a");
}
//---------------------------------------------------------------------------
Then if i move my mouse over the SpeedButton it wil Generate the
letter "a" on my RichEdit1 with ONE Difference
here's the same RichEdit Box you saw before again. Using the OnMouseMove Event to produce numberous times the letter "a"
-----------------------------------------------------------------------------
RichEdit1
Moving mouse over SpeedButton1 Generates the letter "a"
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaa
-----------------------------------------------------------------------------
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa
And then you will see that the RichEdit Dives under the txt so i cannot see anymore what the OnMouseMove event is generating, while if i press in the letter "a" on my keyboard RichEdit follows the text in the way i want.
Does anyone understand what i mean by this???
Thank you sincerly for any reply http://www.contrabandent.com/pez1/cwm/cwm3d/3dcool.gif