Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left hand margin in form
Message
From
21/05/2009 21:16:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Left hand margin in form
Miscellaneous
Thread ID:
01401493
Message ID:
01401493
Views:
94
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
Next
Reply
Map
View

Click here to load this message in the networking platform