... samples don't work enrico91.prg #include "Fivewin.ch" #include "Richedit.ch" FUNCTION MAIN() LOCAL hDll := LOADLIBRARY( "RICHED20.DLL" ) LOCAL oDlg, oRich, cVar := "" DEFINE DIALOG oDlg @ 0, 0 RICHEDIT oRich VAR cVar ACTIVATE DIALOG oDlg; ON INIT oDlg:SetControl( ...