hello
how are you everybody
i have aproblem and need for Helping Please;
i have 4 datawindow side by side to review items with type tabular
i insert code in mousemove event to change the name of item from black color to red color
i need to when mouse move to dw_1 return other datawindow color black or do something else
or when mouse move to dw_2 return other datawindow color black
or when mouse move to dw_3 return other datawindow color black
else
string ls_color1 , ls_color2 , ls_modify , ls_column , ls_error , ls_color3 , ls_color4 , ls_column2
ls_dw.accepttext()
ls_color1 = String(RGB(0,0,0))//black
ls_color2 = String(RGB(150, 0, 0)) //Red
ls_color3 = String(RGB(0, 0, 255))
ls_color4 = String(RGB(0, 0, 128))
ls_column = 'name'
ls_column2 = 'salprice'
if ll_row>0 then
ls_modify = ls_column+".Color='0~tif (getRow() ="+string(ll_row)+","+ls_color2+", "+ls_color1+")'"
ls_error = ls_dw.modify(ls_modify)
if ls_error <> '' then messagebox('problems with the modify', 'modify:'+ls_modify+'~nreturn: '+ls_error)
else
ls_modify = ls_column+".Color='0~tif (getRow() ="+string(ll_row)+","+ls_color1+", "+ls_color1+")'"
end if
Can you give me example code
Best regards
If you need more "how to" information on the above as it's all new to you. Then I would suggest having a look at the free PB Fundamentals course on Appeon-U. Just focus on the User Objects & User Event chapters.
FYI: https://www.appeon.com/appeon-u
HTH
i will search about trigger
best regards