Type | Description | |||
Style as OutStyle | A OutStyle expression that indicates the predefined image being changed. Only exCritical, exQuestion, exExclamation or exInformation are accepted. | |||
Variant | A Picture object that indicates the image's picture. ( A Picture object implements IPicture interface ), a string expression that indicates the path to the image file being loaded, a string expression that indicates the base64 encoded string that holds a picture object. Use the eximages tool to save your picture as base64 encoded format. |
By default, the following images are loaded:
The following sample changes the default image for exInformation style:
With MsgBox1 Dim s As String s = "gBHJJGHA5MKAAEIe4AAAFh0ODYFCA7AolLYFGBljBwAo7QoFIqbApQUoFLa7kzFApllRwlrQAp7mB7bYFQs1SE1TblAqleAQIpwCBlXYQODQCE3CCQcobMqwDZ7YobSDQqjbDabrCweAlHZFEpwWAlQrFsjQEs7GAwHdrKFst5FLYwLaFjKlGB7XYwQrQGCQYt/bYwTd+UrlHdSjy7jzQHdcHa7eFyOBFMp7oKboKwIqFzllzrQIqQXejbchYshbZQKCFKBw1xwSGtWBQwG2aBQrRQyRbLZw3yQ3ybLZ74iFUpbqvKbZbwvO5ql6LlLbFeBlMpw7CQ7CbMqQWHfYplrRlUrQ8zbp7lonX6xwOB7+Cl2SwOGFOHSOC7csueA9uNABSwAWA9vPAxtj2WEEskmR9kKQpNwgUsIFgzxykg8EMl28BoNJDDrJyfZNk2UsSF2Tb+K0fZSlKWEWl3FxilKXZtlKYpyukfZYFgYsemgWBoHgXZdmhIshm3IZyn2YpimhJptmLJLrH2aErSsbZoHKeEtH2bcvy+csvngbclnLM8znhNU1n3Np9gDOE4zlOc6TrO07zxPM9T3Pk+z9P9AUDQVB0JQtDTihgABCfICAChh/gAFlEoTSggARSB/gSDgkFgUBgkGBAJhULhkFgUJhkOCARg0OgiAiKZTEWDAZjUbhkFiEYjCYEAhkEJgqFQMgkh8CQplUNhsFQcoSkeGAxj0CgUlkSAQCCSQXEMSg6HmcxlE+FQNhKJR6CkUw" s = s + "olGGghm0YgcimNJPlOPpACUIocEodBolWGBJkEFh6GoCJrCYEIWgSZQhisZwqV8TAGHSaBCkkaxbjg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g4gYADAVosAXBpKthZAsAUAUAcApAAgrAoAkAq36BBB2hRgqgmgyhCgohKhCgtBkAbg8gKg0AYAChDAzhAgAAxBMAbgihgAbgshrBCgihUASrTASgsBcBDAXBRABgqBJATAPgJAEh8hrAIgzAkARA5gcAUAvhahDAxhKguA3gcAkBPg5gQBAg8AUACg4AAA6gcARgYAQADBGBRguAEg8A0AqAsAcgjA5AchfAJg" s = s + "sAzgYAsA6ATAEgdhKAshLBcArg+hKhEhggBgdhPB8BEg1gZAwhrgxBDBOh6gsBDgQhFBwBSg3gtB6hFBfhRgchZAcBFhaCChbB0Adg5gwANBchUBFhdhsAThegcAdBMAShGBUB7AbhihEAchjhEBGBkh8ATBlh8AVhPg6gdBRAqhGhSB6gPAdBTgKgdhVBahGhaBpgtBWgCgCBzgKhHBxAcBHByGoBzA8BHB0AUAKk4AAAdiAg==" .Image(exInformation) = s .Out "We have changed the default image for exInformation style.", OutStyle.exInformation, "exInformation style " End With
The following screen shot shows the same message without changing the default image of the exInformation style: