General information
Category:
Coding, syntax & commands
Title:
Left hand margin in form
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only