Custom Text in Status Bar

Following job illustrates how you can display custom message in the status bar next to alerts.

static void StatusLineText(Args _args)
{
str msg;
;
msg = "Todays date :"+date2str(systemDateGet(),123,2,4,2,4,4);

// Force the text to be shown
xUserInfo::statusLine_CustomText(true);
infolog.writeCustomStatlineItem(msg);

}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s