[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 133
  • Last Modified:

Toolbar Q

Hi,

At design time, set
ToolBar1.ImageList=ImageList1
ToolBar1.HotImageList=ImageList2
and set each button Image property to a index of the ListImage in ImageList1 and ImageList2.

At run time, when the mouse is pisitioned above a button, the picture of the button just not changes to the picture in ImageList2.

Anything I did wrong?
0
victorlong
Asked:
victorlong
1 Solution
 
wsh2Commented:
Depending on which version of the common controls you are using.. the Toolbar.STYLE property has to be set to an integer 1. In version 5, this equates to tbrTransparent.. In version 6, tbrFlat.

Hope this helps.. <smile>.

B.
0
 
victorlongAuthor Commented:
Hi wsh2,

Yes you are absolutely right! Thank you.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now