CodePudding user response:
Dw_1. Modify (" DataWindow. Selected. Mouse=No ")CodePudding user response:
Dw_1. Modify (" DataWindow. Selected. Mouse=No ")I tried, it's not what I want, I don't mean to let dw1 not click, is to want to let black forever for the currently selected column, there is no question of data if it is in the same window, whichever point turn black, the last restore point black color, is the key point of back and forth between data window, may at the same time, the two data window has black, just don't know which is the point, please grant instruction!!!!!!
CodePudding user response:
No one knowCodePudding user response:
CodePudding user response:
The two data window set loseforce eventsCodePudding user response:
Dw_1. SelectRow (0, false)CodePudding user response:
Click on the black is because Mouse Selected attribute is set to True, this can't control, if you want to achieve the result of what you said after losing focus will not be able to choose black, get focus will continue to turn black, you need to Mouse Selected attribute is set to False, then through table type to control the color of the column, add code to implement in GetFocus and LostFocus,