I try to build a program with the function below that can save a Form as a BMP file. The Compiler declared the Bos Taurus functions external.
What am I doing wrong this time. It has worked before
![Sad :(](./images/smilies/icon_e_sad.gif)
FUNCTION SaveDisplay() //BUTTON PrintScreen
LOCAL cYesNoSave:="?", cImageFileName:=" Matrix Display.jpg"
DO WHILE !cYesNoSave $"YNyn"
cYesNoSave:=alltrim(Inputbox("Enter a Y to Save as BMP","Form_1","?"))
ENDDO
If cYesNoSave $ "Yy"
hBitmap:=BT_BitmapCaptureWindow("form_1",0,0,1040,920)
BT_BitmapSaveFile(hBitmap, cImageFileName )
BT_BitmapRelease( hBitmap )
Endif
RETURN NIL