# PageNumberDialog Method

> Opens the built-in dialog box for formatting a page number field of the type txFieldPageNumber or txFieldAllPages and returns True when the user clicked OK.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > PageNumberDialog Method
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/#syntax)
- [Parameters](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/#parameters)
- [Return Value](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/#return-value)
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/#data-types)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/#see-also)

---

## Nearby

- **Previous:** [PageMarginT Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemargint-property/llms.txt)
- **Next:** [PageOrientation Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageorientation-property/llms.txt)
