PDA

View Full Version : .NET issues with TXControl


Unregistered
December 13, 2002, 11:24:48
Hi,

I have some trouble with the .Net version of the textcontrol.

1) Can somebody show me how to programatically toggle the underline style of a piece of selected Text. When I try to compare the txtControl.Selection.Underline property to one of the predefined FontUnderlinestyles I get an error that the '=' operator is not defined for it.

2) Saving a piece of text with a document background color other then white does not seem to persist that color.

3) This one I saw only once or twice and can't seem to reproduce. When print previewing a large article, the print preview failed to note the end of the document and kept saying that is was generating previews for ever increasing page numbers.

4) Using the TX Text control Words example, changing the Header and Footer properties does not seem to have an effect.

5) When showing a multi-page print preview there seems to be some artifacts in the shadow border to the right and left of the page.

6) When creating a new style, the Cobobox on the toolbar does not sort the styles as does the listbox in the style dialog

Thanks,

LJ

Thanks


This message was originally posted by LJ in the old TX Text Control Support Forum.

Unregistered
December 13, 2002, 13:24:38
On your item 1, the underline, I think you've found a real bug. Enums cannot be shared, only instantiated. To get around this I note they have a Public Shared Const SingleWordsOnly. I wonder if that is posing a conflict the UInt32 Enum FontUnderlineStyle. I dunno.

I'll be eager to see what they report. I too had no success, using the operators Equals, and CompareTo instead of the =.


This message was originally posted by Vann Joe in the old TX Text Control Support Forum.

Christopher Krause
December 13, 2002, 17:44:51
Hi LJ, Vann Joe,

the first problem in your list is a bug in the prerelease of TX Text Control .NET. It is on our error/bug list already. Anyway, thank you for your hint.

Regards,
Christopher Krause, TX Text Control


This message was originally posted by Christopher Krause in the old TX Text Control Support Forum.

Unregistered
December 16, 2002, 21:37:14
I am pretty sure that issue 3 is caused by .pages property returning the wrong value. I have sent a .tx document which causes this problem to support and I am waiting for a response.


This message was originally posted by Chris Connell in the old TX Text Control Support Forum.