![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
I wanna create my small chat aplication..
i wanted rich text box to take user intput and presses enter.. It should be able to send the message However rich text box doesnt seem to handle defaultButton as others do. Any idea how it can be acheived. ? Thanks Sohil |
| Sponsored Links |
|
|||
|
Hi,
I am having an alternate solution .Check this. <mx:Script> <![CDATA[ import flash.events.KeyboardEvent; private function RTEKeyDownHandler(event:KeyboardEvent):void { if(event.keyCode==13) { trace("Send Message"); } } ]]> </mx:Script> <mx:RichTextEditor id="myRTE" keyDown="RTEKeyDownHandler(event)"/> |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise