Mike Lewis
Programmer
I have a problem with the Print method of a form.
I wouldn't nornally use this method, but it does seem to provide a simple way of doing what I want. Essentially, I want to display some text temporarily in various parts of the form, with the text superimposed over the controls.
To simplify, I am doing something like this:
thisform.CurrentX = 200
thisform.CurrentY = 200
thisform.Print("Hello World")
The problem is that sometimes this works OK, but sometimes the text is obscured by the objects in the form.
Is there any way I can force the text to appear above the controls? (I've tried playing with ZOrder(), but I don't think that's any help.)
Thanks in advance.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
My Visual FoxPro site: www.ml-consult.co.uk
I wouldn't nornally use this method, but it does seem to provide a simple way of doing what I want. Essentially, I want to display some text temporarily in various parts of the form, with the text superimposed over the controls.
To simplify, I am doing something like this:
thisform.CurrentX = 200
thisform.CurrentY = 200
thisform.Print("Hello World")
The problem is that sometimes this works OK, but sometimes the text is obscured by the objects in the form.
Is there any way I can force the text to appear above the controls? (I've tried playing with ZOrder(), but I don't think that's any help.)
Thanks in advance.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
My Visual FoxPro site: www.ml-consult.co.uk