|
|
On 9/24/22 16:04, roger tunnicliffe wrote:
Copy and pasted your working version code and it compiled (after
adding FL/Fl.H) okay but when I stepped thru the program
"cards->show()" did nothing (nothing displayed) ???
That's because no tabs were defined in your Fl_Tabs widget,
making it effectively 'invisible'.
To define tabs in the tab widget, you have to add child
Fl_Groups,
one per tab.
Each child group of Fl_Tabs will be a separate tab; the
group's label name
will be that tab's title, and the contents of the group will be
the contents of the tab.
See the small program I replied with which defines 3 tabs so
that
the tab widget can be seen..
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/94247bf7-5d11-2c46-688c-5195b48e0eb7%40seriss.com.
[ Direct Link to Message ] | |
|
| |