It took me a little while to figure this out, I just thought I'd post the following info...
The Default Win32 palette defined in IDEMain doesn't include a TStatusBar.
It's simple enough to add in a project (I also added the JVCL TJvStatusBar in my projects):
IDEScripter1.DefineClassByRTTI(TJvStatusBar, '', [mvpublic, mvpublished], true, TRedefineOption.roInclude);
IDEScripter1.DefineClassByRTTI(TStatusBar, '', [mvpublic, mvpublished], true, TRedefineOption.roInclude);
IDEEngine1.RegisterComponent('Win32', TStatusBar, 'ComCtrls,ExtCtrls,StdCtrls');
IDEEngine1.RegisterComponent('JVCL', TJvStatusBar, 'ComCtrls,StdCtrls,ExtCtrls');
The only trick is that in the script you can't access the Panels with StatusBar1.Panels[0], you need to do instead use:
StatusBar1.Panels.Items[0].Text := ' Recs: ' + IntToStr(recCount);
Wagner: is there any trick to getting the default property established in scripter that would allow for StatusBar1.Panels[0] := 'something'; format?
Cheers,
EdB