Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* ej32_Formas
- Para manejar el color de fondo de las formas y controles */
- #include <radc++.h>
- Form form1("Color de fondo Forma/control - RAD C++ Ejemplo");
- TextBox txt("Soy una caja de texto",AUTO_ID,100,100,100,100, form1);
- FormProcedure proc (FormProcArgs) {
- ACCEPT_COLORS();
- ON_CLOSE() Application.close();
- return 0;
- }
- rad_main()
- form1.procedure = proc;
- form1.backgroundColor = 0xffffff; //pure white
- txt.backgroundColor = 0xff0000; //blue
- rad_end()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement