PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Robert E. DeBolt on January 03, 2005, 08:34:06 AM

Title: Background pic on tabcontrol
Post by: Robert E. DeBolt on January 03, 2005, 08:34:06 AM
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.
Title: Background pic on tabcontrol
Post by: TechSupport on January 03, 2005, 03:28:37 PM
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).
Title: Background pic on tabcontrol
Post by: Robert E. DeBolt on January 03, 2005, 07:01:53 PM
: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.
Title: Background pic on tabcontrol
Post by: TechSupport on January 03, 2005, 10:14:32 PM
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: