Home > database >  About script yes ls_old and dwo. Name, give advice or comments please! Thank you very much!!!!!!
About script yes ls_old and dwo. Name, give advice or comments please! Thank you very much!!!!!!

Time:09-27

There is a button control ue_mousemove event code below
If dwo. Type the ="text" then
If ls_old dwo. Name then
Return
End the if
Enclosing the modify ( ls_old + "Border='0'")
Enclosing the modify ( ls_old + ". The BackGround, mode='1' ")
Enclosing the modify ( ls_old + ". Color='16711680' ")
Ls_old=dwo. Name
Enclosing the modify ( dwo. Name + ". The BackGround, mode='0' ")
Enclosing the modify ( dwo. Name + ". Color='255' ")
Enclosing the modify ( dwo. Name + ". The BackGround. The Color='79741120' ")
Enclosing the modify ( dwo. Name + "Border='6'")
End the if


See along while, don't know much about the definition of ls_old and dwo. What is the name mean, predecessors taught a thing or two, please. Thank you very much!!!!!!

CodePudding user response:

Dwo. Type judgment is the mouse to click the text type

Dwo. The name is the mouse to click the object name, as for ls_old object name should be the last time the mouse to click

CodePudding user response:

Ls_old should be the last mouse moved to the object name
Dwo. The name is the mouse moved to the object name

CodePudding user response:

If dwo. Type="text" then//whether the current control types for the text
If ls_old=dwo. Name then//current control name consistent with the control name last saved
Return
End the if
Enclosing the modify (ls_old + "Border='0'")//modify properties...
Enclosing the modify (ls_old + ". BackGround. The mode='1' ")
Enclosing the modify (ls_old + ". Color='16711680' ")
Ls_old=dwo. Name //to save the current name controls to ls_old this. The modify (dwo. Name + ". The BackGround, mode='0' ")
Enclosing the modify (dwo. Name + ". Color='255' ")
Enclosing the modify (dwo. Name + "BackGround. The Color='79741120'")
Enclosing the modify (dwo. Name + "Border='6'")
end if

CodePudding user response:

Thank you for your attention!
  • Related