> 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 ?

Impossible to say: you have not provided enough information in your post, nor 
enough context to make sense of the fluid fragments.

Can you take another stab at explaining?

Also, a more complete (by which I mean complete enough to compile and test) 
fluid or C++ example that exhibits the feature you are asking about would help 
clarify the question.

It sounds to me as if you are asking about how to add widgets to a group, but 
it surely can not be that straightforward, so I guess there's something more to 
it than that...

How are you generating these fluid files? If you are in fluid then surely you 
can just drag the widgets you want into the group as you edit it?




********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to