Uppercase In Table

  • If I go into WPMultiDemo, create a table, add text, and then select all the text in the table and change it to uppercase, it gives an access violation. I use this same code in my application for uppercase and lowercase and if they select text in a table it also causes an AV. Is this a bug in WPTools or does the code for changing to uppercase need to be modified?

    Here is the WPT Code of the table I am using (I created it in WPMultiDemo):

  • Zitat von wpsupport

    did you try:
    SelectectTextAttr.IncludeStyle(WPSTY_uppercase) ?

    I have tried now. But if i select table and text instead it doesn't work.

  • With the following code there is an AV if two or more cells in a table are selected:

    ConvertMode := wpUppercase; //(also AV with wpLowercase)
    WpRichText1.TextCursor.CallForSelectedText(Self, [], nil, nil, CharCallback, nil);
    WpRichText1.DelayedReformat;

    Will this be repaired in the next update?