Tabbed Window (None Specified)
At 07 JUL 1999 11:27:16AM Glenn Bryant wrote:
In OI 3.7, I just generated a form with TABS across the top, just as specified in the Examples application. They work, but the tab which has focus displays as black on the screen, the text cannot be seen at all. I have NOT changed the background or font colors - they are exactly as in examples. I have two other tabbed forms, both generated under OI3.6, which are ok, even if I now recompile them under 3.7. Any ideas out there? TIA
glenn bryant
At 07 JUL 1999 05:27PM Cameron Purdy wrote:
Glen,
Are you using AUTOTAB? It is easier than the one in the EXAMPLES app. I think there is a KB article on it.
Cameron Purdy
Revelation Software
At 08 JUL 1999 05:56AM Tony Marler @ Prosolve wrote:
Glenn
Try Camerons suggestion of Autotab - much easier. But the problem you are seeing may be a result of the bitmap image you are using being created/modified on a higher resolution monitor. Try and create one with just 16 colours.
Tony
At 08 JUL 1999 07:39AM Oystein Reigem wrote:
Tony,
…the problem you are seeing may be a result of the bitmap image you are using being created/modified on a higher resolution monitor. Try and create one with just 16 colours.
I think I know what kind of problem you're talking about. But I cannot remember having had such problems with images themselves (except for some GIF and JPG flavours OI won't display). The problems I had seemed to appear when my system was set up with 256 colours. It's then worth a try to change the setting to 16 or 24 bits.
But I don't think this is the problem here. Isn't the tabs in question just one file TAB10822.BMP? Why isn't the whole image wrong then? Why just one tab? But I must admit I don't know enough about what goes on in the tabs example to have a qualified opinion.
You're correct about TAB10822.BMP. It's an 8-bit paletted image, with R=G=B and
level # of pixels 0 552 128 190 191 233 192 7939 255 590- Oystein -
At 08 JUL 1999 09:19AM Glenn Bryant wrote:
Cameron, no I'm not. The one in Examples is the only one I knew about. I have searched the KB and find only one entry for autotab which is not relevant. If you could steer me to the article or other info on autotab, I'll try it instead. Thanks glenn
At 09 JUL 1999 07:41AM Cameron Purdy wrote:
Here's how autotab is done:
1) Design a new form
2) Set the number of pages to the desired number of tabs
3) On the first page, lay out checkbox buttons as tabs
4) For each, set it to a bitmap checkbox with "AUTOTAB" as the bitmap
5) On each, put a GOTFOCUS quick-event that sends PAGE event to the corresponding page (1 for the first, 2 for the second, etc.)
6) Add a group box on page 1 and in the CREATE event set the PAGELIST for the group box to -1
Cameron Purdy
Revelation Software