Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Left hand margin in form
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Left hand margin in form
Divers
Thread ID:
01401493
Message ID:
01401493
Vues:
95
the form below centers the text called m.txt.
Is there a way to keep the text to a left hand margin and to be able perhaps to control the
margin width?


ystr=filetostr('c:\m.txt')
oForm = Createobject('myForm',m.ystr)

Define Class myForm As Form
Add Object myBrowser As OleControl ;
With OleClass='shell.Explorer'

Procedure myBrowser.Refresh
Nodefault
Endproc

Procedure Init(tcStr)
This.myBrowser.Navigate2("about:blank")
Do While This.myBrowser.readystate # 4
Enddo
This.myBrowser.Object.Document.ParentWindow.alert(m.tcStr)
Return .F.
Endproc
Enddefine
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform