Filename
Filename$
Specifies a local client picture filename
String property
Applies to: Picture Object
Specifies the full local filename of the picture object used by a KCML picture-enabled control. Using local filenames is not recommended as the filenames may differ between clients and client operating systems. To avoid this the Forms Designer Open Picture dialog will automatically inline small pictures using the .immediate$ property. The following example will only work if C:\Windows is the windows directory which is unlikely on Citrix sites.
.Picture1.Filename$ = "C:\Windows\Bubbles.BMP" .picButton.Picture = &.Picture1
Instead programs should store their pictures centrally on the server specifying them with the Cache$ property. There will be no loss of performance here as the client will automatically download and locally cache the picture. If the picture is changed on the server it will be refreshed automatically.