Home > database >  How to implement in PB window duplicate selected cell content, but can't edit the cell? Ask Dan
How to implement in PB window duplicate selected cell content, but can't edit the cell? Ask Dan

Time:09-15

How to implement in PB window duplicate selected cell content, but can't edit the cell? Ask Daniel!

CodePudding user response:

 
//write under the Clicked event of DW
//the following code before judging whether to press the Alt key, of course, can also capture by CTRL + C, just wants relatively trouble
String ls_dwon, ls_clip_temp
Ls_dwon=dwo. Name
Ls_clip_temp=string (the describe (" the Evaluate (' Lookupdisplay (" + ls_dwon + ") ", "+ string (row) +") "))
//here in the actual display field study, such as the Numbers 1 to use the editorial style, shows the "male", this will take a "male"
: : the Clipboard (ls_clip_temp)
//this is written into the clipboard, and then you can paste it where needed

CodePudding user response:

1, the data window itemchanged events:
Return 2

2, the data window when top attribute is set to protect=0

CodePudding user response:


Select the red box that option; Do not edit, can copy

CodePudding user response:

Upstairs positive solution, the columns of the attributes set to display only, also is to hook the front check box, the premise is column taborder is of value, cannot be zero
  • Related