Patch level :nopatch

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :sistemato il problema del bottone Cerca nelle TBrowse_app (solo cg5 -1)


git-svn-id: svn://10.65.10.50/trunk@10904 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-03-11 16:14:59 +00:00
parent b68cafea5f
commit cfcde7ffa0

View File

@ -133,7 +133,7 @@ void TRelation_application::set_limits(
void TRelation_application::set_find_button()
{
int pos = _mask->id2pos(DLG_FINDREC);
if (pos >= 0 && _mask->id2pos(DLG_FIRSTREC)) //se e' un bottone pentapartito...
if (pos >= 0 && _mask->id2pos(DLG_FIRSTREC) >= 0) //se e' un bottone pentapartito...
{
TButton_field& f_find = (TButton_field &)_mask->fld(pos);
RCT rct_base; f_find.get_rect(rct_base);