1*cdf0e10cSrcweir #ifndef _CUI_TBXFORM_HXX 2*cdf0e10cSrcweir #define _CUI_TBXFORM_HXX 3*cdf0e10cSrcweir 4*cdf0e10cSrcweir #include <sfx2/tbxctrl.hxx> 5*cdf0e10cSrcweir #include <vcl/field.hxx> 6*cdf0e10cSrcweir #include <vcl/dialog.hxx> 7*cdf0e10cSrcweir 8*cdf0e10cSrcweir #ifndef _SV_BUTTON_HXX //autogen 9*cdf0e10cSrcweir #include <vcl/button.hxx> 10*cdf0e10cSrcweir #endif 11*cdf0e10cSrcweir 12*cdf0e10cSrcweir //======================================================================== 13*cdf0e10cSrcweir 14*cdf0e10cSrcweir class FmInputRecordNoDialog : public ModalDialog 15*cdf0e10cSrcweir { 16*cdf0e10cSrcweir public: 17*cdf0e10cSrcweir FixedText m_aLabel; 18*cdf0e10cSrcweir NumericField m_aRecordNo; 19*cdf0e10cSrcweir OKButton m_aOk; 20*cdf0e10cSrcweir CancelButton m_aCancel; 21*cdf0e10cSrcweir 22*cdf0e10cSrcweir public: 23*cdf0e10cSrcweir FmInputRecordNoDialog(Window * pParent); 24*cdf0e10cSrcweir 25*cdf0e10cSrcweir void SetValue(long dNew) { m_aRecordNo.SetValue(dNew); } 26*cdf0e10cSrcweir long GetValue() const { return static_cast<long>(m_aRecordNo.GetValue()); } 27*cdf0e10cSrcweir }; 28*cdf0e10cSrcweir 29*cdf0e10cSrcweir #endif 30