The following code snippet doesn't work:

lbl1 = IupLabel("Label_1",NULL);
btn1 = IupButton("Btn1",NULL);
lbl2 = IupLabel("Label_2",NULL);
btn2 = IupButton("Btn2",NULL);
gbox = IupGridBox(lbl1,btn1,lbl2,btn2,NULL);
IupSetAttribute(gbox,"ORIENTATION","HORIZONTAL");
IupSetAttribute(gbox,"NUMDIV","2");

If I use IupGridBox with IupVbox or IupHbox, everything works as expected.
What is missing from the instructions that I am not doing with IupGridBox?

I am using Win7 64-bit with 64-bit version of IUP, version 3.20.

Thanks,
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to