Panel Image
BlitzPlus Forums/BlitzPlus Programming/Panel Image| 
 | ||
| Hi, I cant seem to get this to work. How do I request an image from the user and use it as a panel image? Here is what I have done: 
panelImage = RequestFile ("Select a background image", "bmp, jpg, png")
SetPanelImage windowPanel,panelImage
 | 
| 
 | ||
| problem solved sorry it should have been this: 
panelImage$ = RequestFile ("Select a background image", "bmp, jpg, png")
SetPanelImage windowPanel,panelImage
seems you must declare the "panelImage" as a string such as panelImage$ | 
| 
 | ||
| Is there a way to force a path to open up when using requestFile? such as c:\images\ | 
| 
 | ||
| Yep, but only in Blitz+ V1.39 (latest)... RequestFile$(title$,exts$[,save][,directory$]) ...set the last parameter 'directory$' to the initial path you want the requester to open up. | 
| 
 | ||
| ok thank you :) |