Usage |
frmForm.Print( [ cTextToDisplay [ nHorizPos, nVertPos ] ] ) |
Can you have a bug for an undocumented feature? We think so. Although you can omit either of these parameters, the position of the string when you do is pretty strange. Sometimes, the CurrentX and/or CurrentY values seem to be used. At others, it appears that 0 is used. Yet, other times, it looks like the one value you pass is used for both parameters. Bottom line, either pass both or neither. It's not worth the aggravation to omit one. |
Example |
_SCREEN.CLS() _SCREEN.Print("This is a test. ") _SCREEN.Print("This is only a test.") _SCREEN.Print() _SCREEN.CurrentX=200 * The next line will print "Here's a multi-line string" starting * at position 200, then put "See what happens" at the left-hand * edge of the next line. _SCREEN.Print("Here's a multi-line string"+chr(13)+; "See what happens") * Try the undocumented position parameters _SCREEN.Print("I'll position this where I want it",200,475) |
See Also |
Cls, CurrentX, CurrentY, ForeColor, FontBold, FontItalic, FontName, FontSize, FontStrikeThru, FontUnderline, ScaleMode |