How to revert a frame to inherited when it contains a control aligned to client?

StackOverflow https://stackoverflow.com/questions/15119723

  •  15-03-2022
  •  | 
  •  

Pergunta

I sometimes design a frame where there are controls all over the place. It could be a grid with align=alClient, or maybe some panels and splitters. Or it could be something else entirely. Anyway, when I want to "revert to inherited" I have to make space for right-clicking by setting align=alNone and move a control, or edit the DFM directly. This is somewhat cumbersome. Granted, this happens rarely enough not to be a big deal, but still, it bugs me. It would help if I could right-click in the structure view, but alas, this doesn't work.

Has anyone else noticed this, and if so; How do you deal with it? Like me, with silent (well, so far at least) annoyance, or have you found a brilliant solution?

Foi útil?

Solução

Select the control in the Form Designer. If the control is obscured by a child control, then select the child control, and then press Esc to select the parent. Press Shift+F10 to activate the context menu.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top