Skip to Content
1

EXTEDIT control allows type only 255 symbols.

Apr 04 at 09:42 AM

13

avatar image
Former Member

I create a custom form via XML. I create EXTEDIT and bind it to the UserDataSource LongText, but it is impossible to write more than 255 characters. Even if I rebind through the code, the error remains, although in the system information, when hovering over an element, LongText 256000 is written. Here form XML:

<Application>
  <forms>
    <action type="add">
      <form appformnumber="gtStngs" FormType="gtStngs" type="4" BorderStyle="4" uid="GT_5" title="Test" visible="1" default_button="" pane="0" color="0" left="200" top="200" width="434" height="557" client_width="418" client_height="518" AutoManaged="0" SupportedModes="15" ObjectType="-1" mode="0" modality="0">
        <datasources>
          <userdatasources>
            <action type="add">
              <datasource uid="0" type="8" size="256000" />
            </action>
          </userdatasources>
        </datasources>
        <items>
          <action type="add">
            <item uid="st_0" type="8" left="5" tab_order="0" width="195" top="32" height="96" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="0" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
              <AutoManagedAttribute />
              <specific caption="Test" />
            </item>
            <item uid="0" type="118" left="200" tab_order="0" width="195" top="32" height="96" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="bor_0" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1" IsAutoGenerated="1">
              <AutoManagedAttribute />
              <specific ScrollBars="2">
                <databind databound="1" table="" alias="0" />
              </specific>
            </item>
          </action>
        </items>
        <FormMenu />
        <ChooseFromListCollection>
          <action type="add">
            <ChooseFromList UniqueID="-1" ObjectType="-1" MultiSelection="0" IsSystem="1" />
          </action>
        </ChooseFromListCollection>
        <DataBrowser />
        <Settings Enabled="0" />
      </form>
    </action>
  </forms>
</Application>

extedit.jpg (14.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ad Kerremans Apr 04 at 10:26 AM
1

Hi Roman,

why do you use "0" as UID for de datasource and the item?

That could be the cause.

Regards

Ad

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Ad. I changed the UID for the UserDataSource. The error has remained. I do not think that the coincidence of the UID will cause a problem. These are different collections. Other form elements work fine and when the UID matches.

0