fSelectedIndex
if (!IsEmpty() && fSelectedIndex != -1 && fSelectedIndex < lastIndex)
_MessageSelectIndex(fSelectedIndex + 1);
if (fSelectedIndex > 0)
_MessageSelectIndex(fSelectedIndex - 1);
fSelectedIndex = -1;
if (fSelectedIndex >= insertionIndex)
fSelectedIndex++;
if (fSelectedIndex == removalIndex)
fSelectedIndex = -1;
if (fSelectedIndex > removalIndex)
fSelectedIndex--;
if (index != fSelectedIndex) {
int32 previousSelectedIndex = fSelectedIndex;
fSelectedIndex = index;
if (fSelectedIndex >= 0)
Invalidate(_RectOfIndex(fSelectedIndex));
_DrawPackage(updateRect, fPackages[index], _YOfIndex(index), index == fSelectedIndex);
int32 fSelectedIndex;
return fSelectedIndex >= 0;
return fSelectedIndex;
if (!fChoiceModel || !fChoiceView || !fEditView || fSelectedIndex < 0)
const BString& choiceStr = fChoiceModel->ChoiceAt(fSelectedIndex)->Text();
fChoiceView->SelectChoiceAt(fSelectedIndex);
fSelectedIndex(-1),
if (!fChoiceView || !fChoiceModel || index == fSelectedIndex
fSelectedIndex = index;
int32 newIndex = fSelectedIndex + 1;
newIndex = fSelectedIndex;
int32 newIndex = fSelectedIndex - 1;
int32 fSelectedIndex;