ImageName.Set Method
Syntax
.Set( Logical_Image_Name as C, Real_Image_Name as C )
Arguments
- Logical_Image_Name
The name of the logical image associated with the existing image.
- Real_Image_Name
The name of an existing image.
Description
The .Set() method sets the value of an existing or new logical image name in the string dictionary.
Example
dim ir as P
dim nm as P
ir = ImageResource.get()
nm = ir.GetBitmapNameMap()
nm.Initialize(<<%str%
image_1=$a5_folder
image_2=$a5_folder_open
%str%)
? nm.get("image_2")
= "$a5_folder_open"
nm.set("image_2", "$a5_disk_drive")
? nm.get("image_2")
= "$a5_disk_drive"
nm.set("image_3", "$a5_disk_drive")
? nm.get("image_3")
= "$a5_disk_drive"See Also