-------------- SET SELECTED INDEX -----------------
| 612 | } |
| 613 | // -------------- SET SELECTED INDEX ----------------- |
| 614 | bool dialog::setSelectedIndex(u8 bIndex) |
| 615 | { |
| 616 | if ( this && this->isList() && bIndex < this->u.list.bStrs ) |
| 617 | { |
| 618 | this->doEvent(BW_EVN_USER, BW_USER_SELECT, bIndex); |
| 619 | if ( this->u.list.pScrlBar ) |
| 620 | this->u.list.pScrlBar->doEvent(BW_EVN_USER, BW_USER_SELECT, bIndex); |
| 621 | return true; |
| 622 | } |
| 623 | return false; |
| 624 | } |
| 625 | // -------------- SET SELECTED BY VALUE -------------- |
| 626 | bool dialog::setSelectedByValue(u32 dwValue) |
| 627 | { |
no test coverage detected