|
-
June 9th, 2005, 11:11 AM
#5
Re: draw label caption text as the inverse of the underlying form?
mmmmhhhhh. it's close, but not quite there..
vb_da_best, i know why you suggest what you do; the text percentage is overpainted by a rectangular shape and as the shape passes over the text, it is inverted.. it cant be used for what i want thought, because it is the shape that is inverting rather than the text.. i want text to invert over a picture :/
cimperiali's method is close, but uses a hotspot per letter, and requires painting messages per character.. it would take a long time to write the code that types properly kerned text.. hrmm
ive slapped a background picture on my form, and drawn a solid Shape onto the form, then set the pen style to 6 - Invert (its the same as Not Xor) and the shape renders perfectly, the inverse of what is under it! however, i cannot find ANY way of making this work for anything other than a Shape, even though the help text indicates that DrawMode is applied to all objects. Ive tried Form1.Print "Some text" but the text is not drawn with inverse on, even though the form's drawmode is set to Invert
..
so on we quest...
Last edited by cjard; June 9th, 2005 at 11:15 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|