merge the formfield patch from ooo-build
[ooovba.git] / svx / source / cui / cuitbxform.hxx
blobafec3d404eed706f3824ab239f4490d61f6ba9da
1 #ifndef _CUI_TBXFORM_HXX
2 #define _CUI_TBXFORM_HXX
4 #include <sfx2/tbxctrl.hxx>
5 #include <vcl/field.hxx>
6 #include <vcl/dialog.hxx>
8 #ifndef _SV_BUTTON_HXX //autogen
9 #include <vcl/button.hxx>
10 #endif
12 //========================================================================
14 class FmInputRecordNoDialog : public ModalDialog
16 public:
17 FixedText m_aLabel;
18 NumericField m_aRecordNo;
19 OKButton m_aOk;
20 CancelButton m_aCancel;
22 public:
23 FmInputRecordNoDialog(Window * pParent);
25 void SetValue(long dNew) { m_aRecordNo.SetValue(dNew); }
26 long GetValue() const { return static_cast<long>(m_aRecordNo.GetValue()); }
29 #endif