It's time to revamp our bitmap button bar, and before we invest in code that decides on which of several size bitmaps to use, depending on screen resolution, one thought is to simply use an SVG icon instead of a bitmap icon. Anyone figure out how to do this?
It's time to revamp our bitmap button bar, and before we invest in code that decides on which of several size bitmaps to use, depending on screen resolution, one thought is to simply use an SVG icon instead of a bitmap icon. Anyone figure out how to do this?
It's time to revamp our bitmap button bar, and before we invest in code that decides on which of several size bitmaps to use, depending on screen resolution, one thought is to simply use an SVG icon instead of a bitmap icon. Anyone figure out how to do this?
Our button bar simply adds a bunch of function keys (unique exception values, not actually mapped to same exception as the real function keys). I've used the browser control to display stuff, but never interacted. I'm guessing from the documentation I would have to:
- build a page with the button bar images, each button set with a unique "URL" that I can map to an internal function key.
- display the browser control
- In my main accept, watch for event MSG-WB-BEFORE-NAVIGATE, which would happen when the user clicks on a "button" in the "button bar"
- get the value from the "NAVIGATE-URL" property
- set EVENT-ACTION to EVENT-ACTION-FAIL
- internally set my "function key" value
- process that value.
Am I on the right track there?
It's time to revamp our bitmap button bar, and before we invest in code that decides on which of several size bitmaps to use, depending on screen resolution, one thought is to simply use an SVG icon instead of a bitmap icon. Anyone figure out how to do this?
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.