Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- |!WARNING!|
- FIRST OF ALL CREATE A EMPTY ROOM AND IN THE CREATE CODE INSERT THIS CODE:
- "globalvar cbxIDNum, radioIDNum, cbxID, radioID; cbxIDNum = 0; radioIDNum = 0; room_goto_next();"
- |----------|
- | CheckBox |
- |----------|
- cbxInit(); CREATE event
- cbxCreate(); DRAW event
- cbxID[NUMBER] : Show the ID of the checkbox
- cbxX : X position of checkbox
- cbxY : Y position of checkbox
- cbxW : Sprites width of checkbox | OBBLIGATORY
- cbxH : Sprites height of checkbox | OBBLIGATORY
- cbxMouseOn : Mouse on checkbox
- cbxIsChecked : Return false or true
- cbxSprite : The sprite name of checkbox (4 sub images)
- cbxText : Text of checkbox
- cbxTextX : X position of text
- cbxTextY : Y position of text
- cbxTextFont : Font of text
- cbxTextColor : Color of text
- cbxTextUnderline : Underline text?
- cbxCheck(); Check the checkbox
- cbxCheckAll(); Check all checkboxes
- cbxUncheck(); Uncheck the checkbox
- cbxUncheckAll(); Uncheck all checkboxes
- cbxToggle(); Check/Uncheck the checkbox
- |--------------|
- | Radio Button |
- |--------------|
- radioInit(); CREATE event
- radioCreate(); DRAW event
- radioID[NUMBER] : Show the ID of the radio button
- radioX : X position of radio button
- radioY : Y position of radio button
- radioW : Sprites width of radio button | OBBLIGATORY
- radioH : Sprites height of radio button | OBBLIGATORY
- radioMouseOn : Mouse on radio button
- radioIsChecked : Return false or true
- radioSprite : The sprite name of radio button (4 sub images)
- radioText : Text of radio button
- radioTextX : X position of text
- radioTextY : Y position of text
- radioTextFont : Font of text
- radioTextColor : Color of text
- radioTextUnderline : Underline text?
- radioCheck(); Check the radio button
- radioUncheck(); Check all radio buttones
- radioToggle(); Check/Uncheck the radio button
- radioGroupCheckStatus(); Return the text of radio button active in the group
- radioGroupUncheckAll(); Uncheck all radio buttons in the group
- radioUncheckAll(); Uncheck all radio buttons
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement