Advertisement
idsystems

CPP_RAD_Ejercicio32

May 20th, 2012
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.47 KB | None | 0 0
  1. /* ej32_Formas
  2. Para manejar el color de fondo de las formas y controles */
  3. #include <radc++.h>
  4. Form form1("Color de fondo Forma/control - RAD C++ Ejemplo");
  5.  
  6. TextBox txt("Soy una caja de texto",AUTO_ID,100,100,100,100,   form1);
  7.  
  8. FormProcedure proc (FormProcArgs) {
  9.     ACCEPT_COLORS();
  10.     ON_CLOSE() Application.close();
  11.     return 0;
  12. }
  13.  
  14. rad_main()
  15.     form1.procedure = proc;
  16.     form1.backgroundColor = 0xffffff; //pure white
  17.     txt.backgroundColor = 0xff0000; //blue
  18. rad_end()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement