I want to display ICON Image on the Dialog form and written below code for the same. But it is NOT working.
Could you please let me know where I am doing mistake. Thanks in advance...!
Code: Select all
#include "fivewin.ch"
PROCEDURE VFA_UserLogin
LOCAL oDlg
LOCAL oULoginIcon
LOCAL cDIR := "C:\APP\IMG\"
DEFINE DIALOG oDlg TITLE "Login" FROM 0,0 TO 450,720 PIXEL TRUEPIXEL
@ 150, 050 ICON oULoginIcon FILENAME cDIR +"ulogin.ico" OF oDlg
ACTIVATE DIALOG oDlg CENTERED
return
Shridhar