New topic: Removing Focus from Combobox
<http://forums.realsoftware.com/viewtopic.php?t=38693> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message JimPitchford Post subject: Removing Focus from ComboboxPosted: Tue Apr 19, 2011 2:51 pm Joined: Mon Apr 11, 2011 2:01 pm Posts: 1 Hi I'm a Real newbie. I'm trying to use the Calendar Window Example to make a date picker for a database and would like to use the same look and feel as a combobox to activate the datepicker. On the Combobox I am using the GotFocus event to trigger the picker like this: Sub GotFocus() d.totalSeconds = Calendar.GetDate(d) me.Text=d.AbbreviatedDate ClearFocus return However this appears to drive a continuous loop as the focus never gets removed from the Combobox. What am I missing - is there a better way? Jim 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]
