Home > database >  How to dynamically adjust the width of the column data window
How to dynamically adjust the width of the column data window

Time:09-19

Is I adjust the width of the columns in the data window,

After close the window, the next time you open the window, the width of the column data window is the last time I adjust the size of the

My train of thought is to close the window, keep the width of the column, open the window to load the data, can don't know, specific also don't know how to achieve

To solve the ~ ~ ~ ~

CodePudding user response:

Thinking right
Closing out the window of the field name field broadband value operation gonghaowu deposit inside to open the call when adjust the width of the below again

CodePudding user response:

Close, then in the open with dw. The modify adjustment

CodePudding user response:

When closing the DW

For I=1 to upperbound (dw) control [])
//get the dw. Control [I] value of x and width values, stored in ini configuration file
Next

Open the window when
From ini configuration file to save the value of the
By dw. The modify () function, modify the X value and width

CodePudding user response:

The
refer to the original poster u011626494 response:
is my adjust the width of the columns in the data window,

After close the window, the next time you open the window, the width of the column data window is the last time I adjust the size of the

My train of thought is to close the window, keep the width of the column, open the window to load the data, can don't know, specific also don't know how to achieve

Solving ~ ~ ~ ~


Thinking is correct, if you want to do perfect, can use this way, write down the brightness of the column and location that at the next opens, resetting the

Or give you a simple way of thinking, grammar, the data window next to create can also directly with the create, more convenient

String ls_syntax
Ls_syntax=dw_1. The describe (" datawindow. Syntax ")

The next time you open the can use the following code to create

String ls_error
Dw_1. Create (ls_syntax ls_error)

CodePudding user response:

The
reference 4 floor lzp_lrp reply:
Quote: refer to the original poster u011626494 response:

Is I adjust the width of the columns in the data window,

After close the window, the next time you open the window, the width of the column data window is the last time I adjust the size of the

My train of thought is to close the window, keep the width of the column, open the window to load the data, can don't know, specific also don't know how to achieve

Solving ~ ~ ~ ~


Thinking is correct, if you want to do perfect, can use this way, write down the brightness of the column and location that at the next opens, resetting the

Or give you a simple way of thinking, grammar, the data window next to create can also directly with the create, more convenient

String ls_syntax
Ls_syntax=dw_1. The describe (" datawindow. Syntax ")

The next time you open the can use the following code to create

String ls_error
Dw_1. Create (ls_syntax ls_error)



Ls_error what this variable is used for

CodePudding user response:

If you create error, the variable record the contents of the error

CodePudding user response:

refer to 6th floor lzp_lrp response:
if you create error, the contents of this variable record error


If you have any data window, the data volume is too big,

CodePudding user response:

refer to 7th floor u011626494 response:
Quote: refer to the sixth floor lzp_lrp response:

If you create error, the contents of this variable record error


If you have any data window, the data volume is too big,

No, the only record the DW Windows source code, not record of data query,

CodePudding user response:

refer to 7th floor u011626494 response:
Quote: refer to the sixth floor lzp_lrp response:

If you create error, the contents of this variable record error


If you have any data window, the data volume is too big,


No, grammar is the source of the data window, does not contain data

CodePudding user response:

Another way, to save the dw for PSR file, dw controls the dataobject attribute is set on the path of the PSR can query with,
  • Related