SHARE
TWEET

Easy CheckBox & Radio Button 1.4 |HELP file|

a guest Jul 14th, 2014 254 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. |!WARNING!|
  2.  
  3. FIRST OF ALL CREATE A EMPTY ROOM AND IN THE CREATE CODE INSERT THIS CODE:
  4.  
  5. "globalvar cbxIDNum, radioIDNum, cbxID, radioID; cbxIDNum = 0; radioIDNum = 0; room_goto_next();"
  6.  
  7. |----------|
  8. | CheckBox |
  9. |----------|
  10.  
  11. cbxInit(); CREATE event
  12. cbxCreate(); DRAW event
  13. cbxID[NUMBER] : Show the ID of the checkbox
  14. cbxX : X position of checkbox
  15. cbxY : Y position of checkbox
  16. cbxW : Sprites width of checkbox | OBBLIGATORY
  17. cbxH : Sprites height of checkbox | OBBLIGATORY
  18. cbxMouseOn : Mouse on checkbox
  19. cbxIsChecked : Return false or true
  20. cbxSprite : The sprite name of checkbox (4 sub images)
  21. cbxText : Text of checkbox
  22. cbxTextX : X position of text
  23. cbxTextY : Y position of text
  24. cbxTextFont : Font of text
  25. cbxTextColor : Color of text
  26. cbxTextUnderline : Underline text?
  27.  
  28. cbxCheck(); Check the checkbox
  29. cbxCheckAll(); Check all checkboxes
  30. cbxUncheck(); Uncheck the checkbox
  31. cbxUncheckAll(); Uncheck all checkboxes
  32. cbxToggle(); Check/Uncheck the checkbox
  33.  
  34.  
  35. |--------------|
  36. | Radio Button |
  37. |--------------|
  38.  
  39. radioInit(); CREATE event
  40. radioCreate(); DRAW event
  41. radioID[NUMBER] : Show the ID of the radio button
  42. radioX : X position of radio button
  43. radioY : Y position of radio button
  44. radioW : Sprites width of radio button | OBBLIGATORY
  45. radioH : Sprites height of radio button | OBBLIGATORY
  46. radioMouseOn : Mouse on radio button
  47. radioIsChecked : Return false or true
  48. radioSprite : The sprite name of radio button (4 sub images)
  49. radioText : Text of radio button
  50. radioTextX : X position of text
  51. radioTextY : Y position of text
  52. radioTextFont : Font of text
  53. radioTextColor : Color of text
  54. radioTextUnderline : Underline text?
  55.  
  56. radioCheck(); Check the radio button
  57. radioUncheck(); Check all radio buttones
  58. radioToggle(); Check/Uncheck the radio button
  59. radioGroupCheckStatus(); Return the text of radio button active in the group
  60. radioGroupUncheckAll(); Uncheck all radio buttons in the group
  61. radioUncheckAll(); Uncheck all radio buttons
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top