Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use Print Method in the form ??
Message
From
26/12/2002 05:16:43
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
26/12/2002 03:14:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00735786
Message ID:
00735794
Views:
7
Hi Enry!

Try to use with Thisform.Print(), how in sample:
oForm = createobject('Form')
oForm.AddObject("cmdExit", "MyButton")
oForm.Visible = .T.
oForm.cmdExit.Visible = .T.
* Print first message
oForm.Print("Hello Word!!!")

* Change position of print
oForm.CurrentX = 100
oForm.CurrentY = 50
* Print second message
oForm.Print("Hello Word 2!!!")

Read Events

Return


Define Class MyButton As CommandButton
	Left = 100
	Top = 150
	Height = 25
	Caption = "\<Exit"
	
	Procedure Click
		thisform.release()
		Clear Events
	EndProc
EndDefine
Bye!
Erick
Força Sempre!
Strength Always!
Previous
Reply
Map
View

Click here to load this message in the networking platform