예제 #1
0
//---------------------------------------------------------------------------
void __fastcall TIssueListGridForm::cxGridActiveTabChanged(
      TcxCustomGrid *Sender, TcxGridLevel *ALevel)
{
  ChangeDescription(ALevel->Tag);
  if (ALevel == lvDepartments || ALevel == lvUsers)
    ChangeUsersLevel(ALevel);
  if (ALevel == lvProjects || ALevel == lvItems)
    ChangeItemsLevel(ALevel);

}
예제 #2
0
bool SelectPackageDlg::Key(dword key, int count)
{
	if(key == K_ALT_ENTER) {
		ChangeDescription();
		return true;
	}
	if((clist.HasFocus() || alist.HasFocus()) && search.Key(key, count))
		return true;
	return TopWindow::Key(key, count);
}
예제 #3
0
//---------------------------------------------------------------------------
void __fastcall TIssueListGridForm::FormActivate(TObject *Sender)
{
  ChangeDescription(1);
}