tags:

views:

65

answers:

0
        for (mutable i : int = 0; i <= 100; i++)
        {
            SplashScreen.SetCurrentTitle("Loading : " + i.ToString() + "%");
            Application.DoEvents();
            Thread.Sleep(20);

And it works only for 17-25 :-/ Why and how to fix

    private CurrentTitle : string
    {
        get
        {
            _currenttitle
        }
        set
        {
            _currenttitle = value;
            Refresh();
        }
    }

    public static SetCurrentTitle(text : string) : void
    {
        Instance.CurrentTitle = text;
    }