Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Status Bar
Message
 
To
01/11/2002 08:09:08
John Marrone
Bloodstock Research Inc.
Lexington, Kentucky, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00717722
Message ID:
00717908
Views:
14
You could create a textbox class. Pleas this code in a PRG and run it
to see a status bar on your VFP desktop
_Screen.AddObject("MyText", "txtStatus")
_Screen.MyText.Visible = .T.

_Screen.MyText.AddMessage("This is some status text")


DEFINE CLASS txtStatus AS TextBox

  PROCEDURE Init
    
    DisabledForeColor = 8388608    && Dark Blue
    DisabledBackColor = 12632256   && Grey
    Enabled = .F.
    FontName = "Arial"
    
    WITH This
      .Left = 0
      .Top = ThisForm.Height - .Height - 1
      .Width = ThisForm.Width - 1
    ENDWITH

  ENDPROC

  PROCEDURE AddMessage()
    LPARAMETERS cMessage
    This.Value = cMessage
  ENDPROC

ENDDEFINE
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform