Hi,

I'm new in fltk programming. I have the following problem with my code :

I have a button that allows me to upload a specific object in a Fl_group named 
test:

 Fl_Button {} {
        label {Show Voice Parameters}
        callback 
{ADnoteVoice->position(541,35);test->add(ADnoteVoice);ADnoteVoice->show();}
        xywh {5 400 170 25} labelsize 12

      }
This code run well.
The problem is: I want the object loads automatically without the need to click 
on the this button . I have tested this
Fl_Group test  {
        label {VOICE PARAMETERS} open
        xywh {540 5 768 922} box UP_FRAME labeltype EMBOSSED_LABEL labelfont 1 
labelsize 13 align 17
       code0 
{ADnoteVoice->position(541,35);test->add(ADnoteVoice);ADnoteVoice->show();}.
The compilation is alright, but nothing occur.

      }

What is wrong ?

Thanks

pierrotlo
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to