Re: Placing controls in a wxGrid cell

Igor Korot <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <CA+FnnTx4P_gNfFAjopX_-9q09G+a1b6ziUNN4q7eu==SfCjM5A@mail.gmail.com>
Hi,

On Thu, Oct 3, 2024 at 1:16 PM Kenneth Porter <[email protected]> wrote:
>
> I'm using a stack of wxGrids to display information about a manufacturing
> process and I'd like to put a button and custom indicator control in a
> cell. Is this possible? A web search suggests that I'd need to write a
> custom cell editor. Ideally I'd put a sizer or panel in a cell and add my
> controls to that.
>
> My temporary solution has been to build another grid below the desired one
> using a wxGridBagSizer, which means more math in my app to get the columns
> to line up.

If you need only the button - you can use wxRendererNative...

Thank you.

>
> --
> Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
> ---
> You received this message because you are subscribed to the Google Groups "wx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/3D8A4B55A06AE567AC15B2A0%40%5B10.96.7.39%5D.

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/CA%2BFnnTx4P_gNfFAjopX_-9q09G%2Ba1b6ziUNN4q7eu%3D%3DSfCjM5A%40mail.gmail.com.
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.