radio-button/check box bug
Posted: Sun Jun 17, 2007 7:15 am
Without text the selected flag would not work.
Instead of:
it should read:
Instead of:
Code: Select all
(define (radio-button id action text selected)
(if text
(net-send out (string "radio-button " id " " action " " (base64-enc text) " " selected "\n"))
(net-send out (string "radio-button " id " " action "\n")))
)
(define (check-box id action text selected)
(if text
(net-send out (string "check-box " id " " action " " (base64-enc text) " " selected "\n"))
(net-send out (string "check-box " id " " action "\n")))
)
Code: Select all
(define (radio-button id action text selected)
(if text
(net-send out (string "radio-button " id " " action " " (base64-enc text) " " selected "\n"))
(net-send out (string "radio-button " id " " action " nil " selected "\n")))
)
(define (check-box id action text selected)
(if text
(net-send out (string "check-box " id " " action " " (base64-enc text) " " selected "\n"))
(net-send out (string "check-box " id " " action " nil " selected "\n")))
)