Hi, me again
is there any way i can (in code) show tabs, and then select them.
thanks Paul
You should look at the FireFly functions as described in the FF_Functions.chm file. There are 11 function wrappers that deal specifically with Tab Controls. FF_TabControl_SetSelectedTab and FF_TabControl_SetTabFocus should be what you are looking for.
ahh yes updated fire fly, thats better,
but how do i add the form to it
ie i add the tab called "stuff", but gives just a blank window, i need to have the child form added to it
thanks Paul
You should probably check out the TabControl source example (in the \Samples directory).
For a TabControl, you need to define Forms that will be set as 'Child' to the Tab Control. You simply create a Form and set its 'TabControlChild' property to TRUE. You then go to the property list for the Tab Control and click on "Custom". In there, you can add/delete tabs - add icons to the tabs - and define which child Form belongs to which tab *i.e. the Child Page Dialog combobox).
Using a Tab Control in PowerBASIC is more difficult than Visual Basic, but using it in FireFly is getting easier and easier all the time. :)
yes ive managed to do that, at least, ages ago
what im waffling about is doing it in code.
as using the #if xxxxx statement to miss things out in the compiler for different versions