New topic: How to Enable/Disable controls at client side?
<http://forums.realsoftware.com/viewtopic.php?t=38739> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message goomoo Post subject: How to Enable/Disable controls at client side?Posted: Sat Apr 23, 2011 9:35 am Joined: Sun Aug 22, 2010 10:27 pm Posts: 71 Thinking of below code snippet: Code: Sub Action() 'Button1.Action me.Enabled=False self.ProgressWheel1.Visible=true // do time-consuming works app.CurrentThread.Sleep(3000) me.Enabled=true self.ProgressWheel1.Visible=false End Sub Because of these codes are executed at server side, so the Enable/Visible relative codes take no effects at client side. Is there an alternate way in RS to implement the effect which I desired without writing codes in client javascript? _________________ Zero-Null-Bit Software. MySQL Code Generator for RealBasic: http://rb.znb.cc 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]
