• Butterfly
    Butterfly
    rebraist
    Posts: 96 from 2011/4/6
    From: Naples, Italy
    I have this code taken from guru meditation net.

    I would like that the last two objects (simplebutton and stringframe) being on the same row. i read about the HGroup but i was no able to obtain anything. how can i modify it? Thank you

    app = ApplicationObject,
    MUIA_Application_Title , "Titre",
    MUIA_Application_Version , "$VER: 0.0.1 (05/06/04)",
    MUIA_Application_Copyright , "©2004, copyright et célébrité",
    MUIA_Application_Author , "L'auteur, c'est vous !",
    MUIA_Application_Description, "Description libre",
    MUIA_Application_Base , "DISKO",

    SubWindow, window = WindowObject,
    MUIA_Window_Title, "Projet DisKo : Premier programme MUI",
    MUIA_Window_ID , MAKE_ID('W','I','N','1'),
    WindowContents, VGroup,

    Child, TextObject, TextFrame,
    MUIA_Background, MUII_TextBack,
    MUIA_Text_Contents, "\33c Il affiche ici du texte multiligne
    dans un TextObject\navec une frame \33bTextFrame\33n",
    End,

    Child, TextObject, ButtonFrame,
    MUIA_Background, MUII_TextBack,
    MUIA_Text_Contents, "\33c Et ici un TextObject avec une frame
    d'aspect \33iButtonFrame\33n\nce qui lui donne son aspect de bouton",
    End,

    Child, TextObject, StringFrame,
    MUIA_Background, MUII_TextBack,
    MUIA_Text_Contents, "\33c Et un dernier avec \33uStringFrame\33n\n
    (Escape pour quitter l'application)",
    End,

    Child, SimpleButton("Bouton sans action"),

    End,
    End,
    End;



    [ Edited by rebraist 07.04.2011 - 14:16 ]
    Mac Mini g4 1,5 mos 3.1 registered
    Powerbook g4 1,67 mos 3.1 unregistered
    Sam440 Os4.1.6
    Aros-Aros-Aros.
  • »07.04.11 - 13:14
    Profile