PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Peter Maroudas on December 24, 2009, 06:54:26 AM

Title: I am lost
Post by: Peter Maroudas on December 24, 2009, 06:54:26 AM
Hi

Sorry for the silly question, but while I have a few days off during xmas I though look
at some of FF examples so I can learn a bit more about FF3.
I started looking at the TabControl example because I wanted
to write a similar program so I used that to learn by.

I got a bit lost with a few things so I will ask for some help to get by this first step.
In the TabControl example it shows 3 tabs
1) how do you add more tabs?
2) where do you edit the Tab names or add pictures or icon in the Tab Control (as shown)
3) I then deleted 'frmGeneral' to see what errors I would get so I then got ERROR 516: DEFTYPE
bla bla REQUIRED: FRM_GENERAL_SHOW. I did a search in the whole project and I cannot find
anything relating to FRM_GENERAL_SHOW.

I have looked at all the properties of the Tab, all the modules and I can't find anything
relating to what I want to do. I don't know where I went wrong if I missed something or
I was looking in the wrong places. If some one can guide me and show me where
I went wrong I would apreciate.

FF 3.05 XP Pro SP3
Title: Re: I am lost
Post by: Rolf Brandt on December 24, 2009, 07:04:45 AM
Questions 1 to 2:

1. In the Designer Window mark the Tab control.
2. In FireFly Workspac - Prperties open the custom dialog.
3. Here you can add / delete Tabs, you can move them up and down, rename them, set icons, etc.
Title: Re: I am lost
Post by: Rolf Brandt on December 24, 2009, 07:08:52 AM
Question 3:

frmGeneral is assigne as TabChild in the project. You will see this in the custom dialog. Thus the generated code will have references to the form. You have to load the the form back into the project.
Title: Re: I am lost
Post by: Cho Sing Kum on December 24, 2009, 07:50:50 AM
Hi Peter,

I hope the attached screen shot will help.

Title: Re: I am lost
Post by: Peter Maroudas on December 24, 2009, 09:00:42 AM
Fantastic Guys !!!!

I saw that 'Custom' setting but did it did think to click on it, I thought is was some ... well
who knows I thought at the time :-)

Thats's great, I can continue now, Thank you.


Edit: Just as a Newbies point of view at first glance, when you look at the Properties
Window if there is a blank entry you think there is nothing to config, till you actualy click on the
line you see the little square box at the end which can be clicked on.
Title: Re: I am lost
Post by: John Montenigro on December 24, 2009, 06:57:36 PM
Quote
...the attached screen shot...

VERY nicely done! Thanks!