Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Status Bar
Message
 
À
01/11/2002 08:09:08
John Marrone
Bloodstock Research Inc.
Lexington, Kentucky, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00717722
Message ID:
00717908
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform