girls3dog1
Programmer
PB 8.0.1 Build 8004
I'm attempting to change the column background color anytime the user edits the existing column data. Once the data is saved the background returns to the original color before editing. Either of the the following methods works. However, once the modify or dot property method is executed, the mouse cursor always jumps to the
beginning of the column data being edited. I then have to move the cursor back to where I started to edit the column data. Is this a PB bug? Are there any suggested workarounds? Thanks in advance for your assistance.
This is fired from the editchanged event of the datawindow.
Method 1
dw_customer_detail.Modify(ls_ColName+".Background.Color='7471103'")
Method 2
DWObject dwo_column
dwo_column = dw_customer_detail.Object.fieldcabinet
dwo_column.Background.Color='7471103'
I'm attempting to change the column background color anytime the user edits the existing column data. Once the data is saved the background returns to the original color before editing. Either of the the following methods works. However, once the modify or dot property method is executed, the mouse cursor always jumps to the
beginning of the column data being edited. I then have to move the cursor back to where I started to edit the column data. Is this a PB bug? Are there any suggested workarounds? Thanks in advance for your assistance.
This is fired from the editchanged event of the datawindow.
Method 1
dw_customer_detail.Modify(ls_ColName+".Background.Color='7471103'")
Method 2
DWObject dwo_column
dwo_column = dw_customer_detail.Object.fieldcabinet
dwo_column.Background.Color='7471103'