Overblog
Follow this blog Administration + Create my blog

createfont

An autosize VFP editbox

An autosize VFP editbox

this code builds an autosize editbox embed in a container class. it calculates the number of lines of the editbox for any given width and then it sets the real height with a fontname,fontsize and a fontstyle as parameters. the height of an editbox line...

Read more

A custom vfp Ansi and Unicode  tooltip

A custom vfp Ansi and Unicode tooltip

The drawText APi studied in previous post can draw a formatted text on any window surface. It can be ANSI (drawtext or DrawtextA) or Unicode(DrawTextW). A top level form is used here as tooltip fired on mouseEnter event on a control and destoyed on MouseLeave...

Read more