if (&source == (static_cast<Control*>(__pEditFieldHour)))
{
- __pScrollPanel->SetBounds(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height);
- __pScrollPanel->SetScrollBarVisible(true);
+ if(__pScrollPanel != null)
+ {
+ __pScrollPanel->SetBounds(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height);
+ __pScrollPanel->SetScrollBarVisible(true);
+ }
GetFooter()->SetShowState(true);
GetFooter()->Invalidate(true);
}