====== Picture Editor ======
This dialog is accessed by double-clicking to the right of Picture in Object Inspector when a Pic, Icon, Button or Checkbox control is selected.
{{ proped_picture_editor.png |}}
//This screen shot shows an example of how the Picture Editor looks when invoked from an Icon control.//
To load a file:
- Click on **Load**. The Windows file open dialog is displayed
- Navigate to a directory, choose a file, and click on **Open**. The image is displayed in the **Selected image** list.
- Check **Fit image** to view the entire image.
To select an image from a .exe file:
- Click on **Load**. The Windows file open dialog is displayed.
- Enter the full path and click on **Open**. The images available from the file are displayed in the **Images in file** list.
- Select an image from the file. It is displayed in **Selected image**. For an icon that is available in more than one size, all sizes are displayed, with their dimensions.
- If more than one image appears in **Selected image**, select one.
An icon in a Button control must be one marked //small// or //large// in **Selected image**.
**Custom path to image** can expand three Autoit macros (none of which return the trailing backslash):
|@WindowsDir|path to Windows folder|
|@System32Dir|path to Windows' System32 folder|
|@TempDir|Path to the temporary files folder|
By replacing the path with one of these macros, the picture will still be displayed on a PC that has different drive letters and for another user.
You can test a file specification that has a macro in it by clicking on **Test**: the image should still be displayed, and the full path will appear below **Custom path to image**.
To remove an image from the form or parent control, clcik on **Clear**.
**View list as** (only enabled for icons) determines which size of icons to display