On Tue, Sep 18, 2007 at 01:17:07PM +0200, Pavel Sanda wrote:
> > This is now working like that.
> 
> thank you Abdel :)
> 
> i'd like to ask one question more. 
> first my intenstion: i'd like to have one inset C
> containing two derivates of insetbox A,B. C is not
> supposed to do anything else than provide these two boxes
> and have one special settings dialog on mouse click.
> something like this:
>  _
> |C|
> ------------------------
> |  _         _         |
> | |A|       |B|        |
> | --------  ---------  |
> | |      |  |       |  |
> | |      |  |       |  |
> | |      |  |       |  |
> | --------  ---------  |
> |                      |
> ------------------------
> 
> now the question is from what inset derive C.

Without too much hackery I think InsetTabular is the only choice.

LyX has Insets-in-Paragraphs-in-Insets. Insets-in-Insets is not really 
supported.

> i though about insetbox too - one would need to 
> -forbid editing inside C

This migth be possible.

> -make the cursor move from outside directly to A and from A to B.

This is nearly impossible.

> -forbid deleting A or B from inside

Might be possibly.
 
> is it good idea to use insetbox for this or is there more elegant
> solution ? 

As I said: InsetTabular might be the best start. But it's not easy this
way either.

Andre'

Reply via email to