Home > database >  PB data window focus problem
PB data window focus problem

Time:09-16

Has two dw1 and dw2 data window, click dw1 due to its cannot be modified by click on columns become black, then click dw2 dw2 column of black at this moment, how to make dw1 column is not dark, that is to say point dw1, dw1 black, dw2, dw2 black, dw1 black removed, exclude o!!!

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 know

CodePudding user response:

. Object. DataWindow. Selected='& lt; While the startrow/endrow/startobj/endobj; While the startrow/endrow...> '

CodePudding user response:

The two data window set loseforce events

CodePudding 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,
  • Related