Please try this little test program :
- Code: Select all Expand view RUN
#include "FiveWin.ch"
#include "FGet.ch"
static oWnd
function Main()
DEFINE WINDOW oWnd FROM 1, 1 TO 400, 400 PIXEL;
MDI TITLE "Test fGet"
ACTIVATE WINDOW oWnd ON INIT new()
return nil
//----------------------------------------------------------------------------//
Function New()
local oWndChild, oFGet
static nChild := 0
DEFINE WINDOW oWndChild OF oWnd ;
MDICHILD ;
TITLE "FGet " + LTrim( Str( ++nChild ) )
oWndChild:Cargo := "THIS IS A LONT TEXT AND WILL DISSAPEAR WHEN YOU SCROLL HORIZONTALLY, TRY TO CORRECT THIS PROBLEM"
@ -1024, -1024 FORMAT GET oFget VAR oWndChild:Cargo OF oWndChild HSCROLL
oWndChild:SetControl( oFGet )
oWndChild:oControl:SetFocus()
return nil
When you run the program in Windows Xp/ 2000 and you scroll the text horizontally, the text disappears. It seems to be a problem with the function DrawfGetLine(), but my knowledge of "C" is poor .
Please send me a help! (I use FWH 2.7 jan + xHb 0995)
Ralph