Lines Matching refs:bAvailable
611 sal_Bool bAvailable = sal_True; in GetState() local
617 bAvailable = m_nCurrentPos > 0; in GetState()
622 bAvailable = m_nCurrentPos < pParent->GetRowCount() - 1; in GetState()
623 if (!bAvailable && pParent->GetOptions() & DbGridControl::OPT_INSERT) in GetState()
624 bAvailable = (m_nCurrentPos == pParent->GetRowCount() - 2) && pParent->IsModified(); in GetState()
631 bAvailable = pParent->IsCurrentAppending() ? pParent->GetRowCount() > 1 : in GetState()
634 bAvailable = m_nCurrentPos != pParent->GetRowCount() - 1; in GetState()
638 …bAvailable = (pParent->GetOptions() & DbGridControl::OPT_INSERT) && pParent->GetRowCount() && m_nC… in GetState()
641 bAvailable = pParent->GetRowCount() > 0; in GetState()
644 return bAvailable; in GetState()
651 sal_Bool bAvailable = GetState(nWhich); in SetState() local
673 if (bAvailable) in SetState()
700 if (bAvailable) in SetState()
733 if (pWnd && (pWnd->IsEnabled() != bAvailable)) in SetState()
739 pWnd->Enable(bAvailable); in SetState()