Re: Problem with form - group item type

Renán Quezada Domínguez <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <003e01c5a7fe$d3911680$b90610ac@renan>
***********************
Su correo fue verificado de virus y troyanos por el Centro de Informatica y Telecomunicaciones.
***********-***********


Hi Jon:

I recommend you to use another way to define the group, if you only want to 
group de items 2-4
------------------------------------------------
grid
{
  [item1     ]
}
end --grid
group
   grid
   {
    [item2][item3][item4]
   }
   end --grid
end --group
grid
{
    [item5                                   ]
}
end --grid
end  --vbox
--------------------------------------------------------------


I hope it works as you want

Renán Quezada Domínguez





----- Original Message ----- 
From: "Jon Earle" <[email protected]>
To: <[email protected]>
Sent: Tuesday, August 23, 2005 8:54 AM
Subject: [fourjs-users] Problem with form - group item type


> ***********************
> Su correo fue verificado de virus y troyanos por el Centro de Informatica 
> y Telecomunicaciones.
> ***********-***********
>
>
> Hi folks,
>
> I have a form, much like:
>
> ..
> GRID
> {
> ... various items
>  [item1                                               ]
>
>  <G g1                                >
>   [item2      ][item3    ][item 4    ]
>
>  [item5                                                       ]
> ... more items
> }
> END
> ..
>
> According to the docs, I need space around the items that are to be 
> contained
> within the GROUP item type to separate them from other items.  I've done
> that.  Problem is, when I compile this form, I get an error saying:
>
> # The element 'item5' conflicts with group-box 'g1'.
> # See error number -6813.
>
> Only way I can compile this form is to end the GRID after the GROUP item 
> (and
> the item2-4 row) and start a new GRID before item5 (and put lots of
> whitespace in front of item5 to line it up, more or less, with the items 
> in
> the preceeding GRID.
>
> GDC version is 1.31.1l, build 293.47.  Form compiler version is 620.267.
>
> Why does the form compiler think that items after the blank line are part 
> of
> the group?  What am I doing wrong?
>
> Cheers!
> Jon
>
> -- 
> Jon Earle
> Software Developer / Network Manager
> Specialising in Open Source Software Solutions
> http://kronos.honk.org/~earlej/
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.