New topic: segmentedControl hideous shriek
<http://forums.realsoftware.com/viewtopic.php?t=47279> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message frankc Post subject: segmentedControl hideous shriekPosted: Wed Mar 13, 2013 6:28 am Joined: Wed Feb 25, 2009 3:56 am Posts: 4 This is a question regarding behaviour of the segmentedControl. Min code to illustrate behaviour follows make project - 1 window with 1 button + 1 segmentedControl Put into button.action (commented lines are optional) dim s as new segmentedControlItem 'dim p as new Picture(1,1,8) 's.width = p.graphics.StringWidth("AAA") 'any old width 'p.graphics.TextFont = "System" 'p.graphics.textsize = 10 for i as integer = 1 to 6 s.Title = Str(i) segmentedControl1.items.append s segmentedControl1.sizeToFit next Question: On 'Run' one expects 6 segments labeled 1 to 6. Instead get 6 segments labeled 6,2,3,4,5,6 What am I missing? Thank you for any help/insight you can give. Yours Bewildered in Ireland Oh yes - OS X 10.8.2 RB2012R2.1 (even worse on windows - ALL labels = 6) 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]
