Advertisement
grogcigano

Untitled

Aug 17th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. <!-- Chart Changer -->
  2.  
  3. <dataLink fields="{ 'charFirResBon', 'charWatResBon', 'charWinResBon', 'charEarResBon', 'charThuResBon', 'charLigResBon', 'charShaResBon', 'firresbonBox', 'watresbonBox' , 'winresbonBox', 'thuresbonBox', 'earresbonBox', 'ligresbonBox', 'sharesbonBox', 'watrescolorBox', 'firrescolorBox', 'earrescolorBox', 'thurescolorBox', 'winrescolorBox', 'ligrescolorBox', 'sharescolorBox' }">
  4. <event name="onChange">
  5.  
  6.  
  7.  
  8. if sheet~= nil then
  9.  
  10. if sheet.firresbonBox == "+5" then
  11. self.sheet.firresbonBox.fontColor = "yellow";
  12.  
  13. else
  14. self.sheet.firresbonBox.fontColor = "white"
  15.  
  16. end
  17.  
  18. end
  19.  
  20. </event>
  21. </dataLink>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement