I'm writing a program which needs a "pop-up" window on processing the first data record of each of 2 files.

1. Does FLTK-C provide access to the C++ destructors? I would like to get rid of this window once I've got the user input (and copied it into a global).

2. How do I exit a window from a button within the pop-up window and return to the process in the main window?

I also notice that in FLTK C++, Fl_File_ChooserShow is supposed to return a pointer to the chosen filename, or null if none is chosen, whereas in the .bi it is defined as a sub. I worked around this, but can we have the C++ functionality?

nSizes = Fl_GetFontSizes(fontNumber,fontSizes) if (nSizes>1) andalso (fontSizes[0]<>0) then print "font has fixed sizes: "; for i as integer =0 to nSizes-1 fontSize=fontsizes[i] print str(fontSize) & " "; next sleep 1000 end if print end if fontNumber+=1wend?:? "press any key ..."sleep

Hello,I am trying to make a input selection for a data acquisition system. I have played around a little with the fltk for freebasic library, but kind of stuck on using Radio Button. I have looked at all the examples that Joshy has provided - still stumped.When I try to use the b1 = Fl_Radio_ButtonNew() the code compiles but doesn't run (currently commented out). The Fl_Radio_Round_NewButton functions do work.

Also, I need to make sixteen of these AC / DC | input level selections. Is there an easy way to do this besides lots of copy and pastes? I don't have the code yet, but I will save the results to a file. I will also have to have five to seven of these pages - one per card on the data acq system.

Mr. Peters, thanks for the reply. I can use these examples in my code. I did figure out why it wasn't working. I had a call back to a ptr that wasn't called - I think. I appreciate all your hard work on this library.