PDA

View Full Version : New ViewMode & Page creation requests


jpbro
February 19, 2008, 19:06:52
Hi,

I have been evaluating the TXTextControl ActiveX and (as far as I can tell so far) the only things keeping me from buying has been that I have 2 missing requirements:

1) To have a ViewMode that appears exactly like the Normal ViewMode, but still handles all of the Page events & properties of the Page ViewMode
2) To have the ability to lock page sizes and margins for multiple pages from being modified by the user (e.g. when they delete a section break).

To accomplish those requirements, these features (or similar) would be great:

1) A new ViewMode (NormalPaged) that looks just like the Normal ViewMode but uses all of the Page events & properties of the Page view mode. This way you can tell when the page has changed even though the ViewMode isn't showing distinct pages.
2) Instead of only allowing section breaks to define page sizes & margins, it should be possible to hard-set multiple page sizes for the document. Perhaps a BeforePageCreated() event with the ability to set the page width, height, margins, etc... before the page is displayed to the user? That way we can says Page 1 is 5x7 inches with a .5inch margin. Then when the user entry spills over to Page 2, the BeforePageCreated(ByVal Pagenr As Long) event fires, we can set Page 2 to 7.5x9 inches (for example) with a 1 inch margin. The user can then continue data entry on page 2 with the new size & margins.

Thanks and fingers crossed!
Jason

jpbro
February 21, 2008, 20:04:56
As an addendum to the above request, what would be perfect is if the new NormalPaged ViewMode performed like this:

1) Looked exactly like Normal ViewMode, but took into account page sizes/margins.
2) Allowed for Zoom
3) When the bottom of page was reached, the control would reset the contents to only show the next page. This way only one page could be shown at a time.
4) A PageChanged event would fire when the cursor position changed to a different page.

Thanks!