Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
17%
200 - 500 GB
25%
500 - 800 GB
3%
800 - 1200 GB
11%
1200 - 1500 GB
11%
1500 - 2000 GB
14%
> 2000 GB
19%
Total votes: 36

Baanboard at LinkedIn


Reference Content

 
text.edit()
By patvdv at 26 Feb 2008 - 21:57


text.edit()

Syntax

long text.edit( string text_field(17), string lang, string kw1(17),
string kw2(17), string kw3(17), string kw4(17), string tgroup(8), string
edit_opt(15), long mode )

Description

This opens an edit window in which the specified text can be edited. If the text number associated with the specified text (i.e., the value of the field with name text_field) is 0, the text manager prompts the user to confirm whether or not a new text must be created. After editing, the text number is stored in the field with name text_field.

Arguments

text_field

The name of the text field. See Text fields overview. The text number is read from this field, and if that number is 0, the new text number is stored in this field.

lang

The language for which the text is to be edited.

kw1 to kw4

Use these arguments to specify the key words for the text.

tgroup

This specifies the name of the text group to which the new text must be assigned. If you specify an empty string here, the text is assigned to the user's default group.

edit_opt

This specifies the type of window in which the text must be displayed.

mode

This species the text mode. Possible values are:

  • 1 read-only
  • 3 read and write

Return values

The text number (0 if there was no text, and the user did not create a new one). Or <0 if an error occured (-1 means 'no permission').

Context

3GL library function.

Related topics

0
No votes yet


All times are GMT +2. The time now is 19:33.


©2001-2018 - Baanboard.com - Baanforums.com