Tip Of the day... as Object

back to main page

 

To include "Tip of the day" Object - open your project.inc file with VP Studio Setup utility and checkout necessary options:

Download VIP 5.2 project source

This objects gives your application more commercial and user-friendly look.

It is not a big deal to show tip of the day, however some logic lives behind, which you need to program anyway.

Where to store 'tips of the day' messages, their sequence, appearance on the screen... And more importantly, this object will allow you to work in design mode, writing your tips of the day during application testing.

To call "Tip of the day" object - place the following code inside your application:

BMPFILE = "mybitmap.bmp",
TITLE
= "Tip of the Day..",
_X = tips_object::new(_Win,BMPFILE,TITLE),

Notes:

This object will show you next tips in DESIGN mode, allowing to add more statements to the "application_name.txt" file.

Once you decide, that you have enough tips entered - type in stop in the tips body and object will work in display mode.

 


Copyright 1998-2000 EDMGROUP (Australia)

Last Updated: 03/20/02