Background pic on tabcontrol

Started by Robert E. DeBolt, January 03, 2005, 08:34:06 AM

Previous topic - Next topic

Robert E. DeBolt

Hi.  I am a newbie with Firefly.  I created a form, then drew a tabcontrol on it with 9 tabs.  I then created a form for the first tab the same size as the first form.  On this form I drew a picture the same size as the form.  I then assigned a bitmap to the picture in order to provide a background for the controls that I will draw on the picture.

When I compile and run the project, the picture with the bitmap does not appear.  If I then click on tab 2, then on tab 1, the bitmap appears.

How do I show the picture and bitmap on startup ?

I tried using BackBitmap property on the forms, but it does not show when the project is compiled.  I attempted to use FF_TabControl_SetSelectedTab and FF_TabControl_SetTabFocus, but I couldn't Figure where to place the code.

TechSupport

Hi Robert,

I just tried using the BackBitmap property on the Tab Control sample project and it worked without any problems.

Are you using the latest FireFly version ? (Version 1.10).

Robert E. DeBolt

:oops:
I say, "When in doubt, start over."
:oops:

So I cleaned out my project directory and very carefully reconstructed my forms.  Voila!  Everything was fine!

When learning a new tool, I have to learn to creep before I can walk.  Thanks much Paul.  I will probably have a lot more questions as I move along.

TechSupport

That's good news! Happy to hear that it is working okay now.

Any questions - ask away. Myself and many people here are always ready to help.

:thumbsup: