Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* ej41_CheckBox
- Ejemplo del control CheckBox */
- #include <radc++.h>
- Form form1("Casilla verificacion - RAD C++ Ejemplo");
- CheckBox check("Check box - click", AUTO_ID,100,100,200,20,form1);
- FormProcedure proc(FormProcArgs) {
- ON_CLOSE() Application.close();
- ON_CHECK(check) {
- form1.caption = "Marcado";
- }
- ON_UNCHECK(check) {
- form1.caption = "Desmarcado";
- }
- //NOTE : if you need to know about any message use ON_CHECKBOX_EVENT(check)
- return 0;
- }
- rad_main()
- form1.procedure = proc;
- rad_end()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement