New topic: RaiseEvent MouseDown
<http://forums.realsoftware.com/viewtopic.php?t=44822> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message torrid Post subject: RaiseEvent MouseDownPosted: Tue Jul 24, 2012 12:49 pm Joined: Sat Jun 04, 2011 8:29 am Posts: 328 If I subclass a TextField, and add MouseDown Event Handler.... do I have to use the same parameters in that definition as regular MouseDown? which is: Function MouseDown(X as Integer, Y As Integer) As Boolean If I just add event definition MouseDown it defaults to no parameters. If I don't need the X,Y then leave it like that? i.e. only add those if my window instance needs access to it? Also regular MouseDown has Return True I changed that to: RaiseEvent MouseDown Do I then leave off the Return True??? _________________ Currently using: Windows XP Pro SP3 Real Studio 2011 Release 4.3 Enterprise and Mac OS 10.7.3 Real Studio 2011 Release 4.3 Enterprise (finally also compiled on Mac) Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
