Highlighted
Absent Member.
Absent Member.
1175 views

[archive] Changing properties dynamicly

[Migrated content. Thread originally posted on 09 December 2003]

I have an ENTRY-FIELD where I want to change the MAX-LENGTH dynamicly.

I use this source code, but nothing happens.
The initial state of MAX-LENGTH is 8.

MODIFY NUMBER-EF, PROPERTY EFP-MAX-TEXT = "6".

Anyone encountered this problem ?
Regards
0 Likes
5 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] Changing properties dynamicly

If you want to change the max-text of the entry field try this:

MODIFY NUMBER-EF, MAX-TEXT 6
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Changing properties dynamicly

When I write source like this :
MODIFY DATA-EF, MAX-TEXT 6

nothing changes. I still can enter more then 6 characters.
I also want to change properties like numeric, justification... and others.

What to do ?
Regards
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Changing properties dynamicly

Can you provide a small, but functional demo of your issue?
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Changing properties dynamicly

Gisle,

Hereby an exemple of what I really need.

Some properties I can change, some others not.
Txs for you support
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Changing properties dynamicly

Some minor adjustments and it should work. Pls see attached file that allows you to change the MAX-TEXT property.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.