Highlighted
Absent Member.
Absent Member.
190 views

[archive] Problem with my bitmap component in a Tab

[Migrated content. Thread originally posted on 15 May 2009]

Hello to all,

I'm having an issue with a bitmap control inside a tab control. I define a bitmap control with a bitmap-handle, but the bitmap-handle is loaded when the program runs. When i change the tab, and go back to the tab with the bitmap, it doesn't show. I try to reload the bitmap in the aft-tabchg of the tab control, but doen't work.

Any one have seen the same issue?

Thanks afterwards.
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] Problem with my bitmap component in a Tab

You'll need to show some code. If you use the AcuBench generated code, the handling of items on a tab is handled by a visible variable. How are you handling the tab, are all items being modified by the same visible variable?
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Problem with my bitmap component in a Tab

Well, fixing another problem i found the solution to this one. It was that when tabchanging, the runtime do a display screen, repainting all the components with the default values, but for some reason, it does it a bit slow, and the next sentence executes before the screen is ready.

This happens to me too, in the aft-initdata when painting a grid, the grid was half painted in the way, the solution also was put a c$sleep of 0.1 second and things work correctly.

Anyway, thanks Dilbert for the interest 😛
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.