Log in to see Cloud of Tags

Wealth-Lab Wiki

GetStatusBarText

RSS

Syntax


public static string GetStatusBarText(this WealthScript obj)

public static string GetStatusBarText()

Parameter Description



Description

This function uses the System.Reflection namespace to get Wealth-Lab's status bar text as a string.

Example

Look at this example:

Example using C# extension methods:


using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;

namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { string status = this.GetStatusBarText(); //string status = Community.Components.Utility.GetStatusBarText(); if( string.IsNullOrEmpty( status ) ) PrintDebug("Status bar is empty!"); else PrintDebug(status); } } }

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes. By using this web site, you agree to the terms of this disclaimer and our Terms of Use.


ScrewTurn Wiki. Some of the icons created by FamFamFam.