Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* ej21_tipdeldia1
- Como crear un tip del dia */
- #include <radc++.h>
- /* This program only writes the tips file, to use later */
- Form form1("Escribiendo un archivo tip del dia - RAD C++ Ejemplo");
- TipOfDay tod("","",form1,false); //create invisible tip of day control
- rad_main()
- //add 3 tips to control, allowe following HTML fields
- tod.addTip("I am tip 1 title", "I am tip 1 <B>description</B>");
- tod.addTip("I am tip 2 title", "I am tip 2 <I>description</I>");
- tod.addTip("I am tip 3 title", "I am tip 3 <U>description</U>");
- //now save them as new tip file to load later in application
- tod.saveFile("tipoftheday.rct");
- form1.infoBox("New tips file 'test.rct' has been created, click OK to exit");
- Application.close();
- rad_end()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement