| | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Yesterday @ 12:10:08 PM Posts: 1,327, Visits: 3,471 |
| | I have a SF combobox that is bound to a field in a BO. If the BO has no data, the first item in the combo box is shown (incorrectly, there is no data in the BO yet). If I hit Add, the combo clears. If I hit undo, it stays clear. How do I ensure that the combo shows nothing when it first shows if the BO is empty? |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 5:03:45 AM Posts: 809, Visits: 11,674 |
| | Hi Greg. Just sharing my experience with it ... have you tried playing with the TopMostItem property of the ComboBox? I usually type --- in it. Cheers. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 1:09:23 PM Posts: 2,686, Visits: 1,888 |
| Ivan is correct... the best way to solve your problem is to set that TopMostItem property to something that makes sense.
www.bungie.net |
| | | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Yesterday @ 12:10:08 PM Posts: 1,327, Visits: 3,471 |
| | Is setting the TopMostItem to nothing the same as "unselecting" any item? |
| | | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Yesterday @ 12:10:08 PM Posts: 1,327, Visits: 3,471 |
| And does this mean I will have to have code to handle this for every bound SF combobox?
Again, the situation is that I've a bound combobox, with the list being filled via a BO. If the BO the combo is bound to is empy, the first item in the list is selected initially. |
| |
|
|