Search found 71 matches

by Mungo1981
Wed Jun 19, 2019 6:47 pm
Forum: C++ Development
Topic: Is there a way to have more then one Custom-Widget in BoxSizer
Replies: 7
Views: 179

Re: Is there a way to have more then one Custom-Widget in BoxSizer

Ok,
this works very fine.

A grandiose Happy,
Mungo1981
by Mungo1981
Wed Jun 19, 2019 5:20 am
Forum: C++ Development
Topic: Is there a way to have more then one Custom-Widget in BoxSizer
Replies: 7
Views: 179

Re: Is there a way to have more then one Custom-Widget in BoxSizer

Ok,
here are the Code of my Customized wxPanel.
TrackControl.cpp
(1.71 KiB) Downloaded 7 times
TrackControl.h
(355 Bytes) Downloaded 5 times
by Mungo1981
Wed Jun 19, 2019 12:17 am
Forum: C++ Development
Topic: Is there a way to have more then one Custom-Widget in BoxSizer
Replies: 7
Views: 179

Re: Is there a way to have more then one Custom-Widget in BoxSizer

No it dosn't Work out of the Box.
And no it dosn't work after this->MyPanel->Layout().
Here is the whole Code for my Aplication:
test.cpp
(6.67 KiB) Downloaded 6 times
by Mungo1981
Tue Jun 18, 2019 6:15 pm
Forum: C++ Development
Topic: Is there a way to have more then one Custom-Widget in BoxSizer
Replies: 7
Views: 179

Is there a way to have more then one Custom-Widget in BoxSizer

Dear Community, Is there any way to have more then one Custom-Widget ( derived from wxPanel) in a wxBoxSizer. In special gives it a routine to automatically add them by use. I have create a Custom Control as a derived Class from wxPanel. I need more then one of them in my Program. But initially I wo...
by Mungo1981
Tue Jun 18, 2019 5:05 pm
Forum: C++ Development
Topic: A Problem to compile a Custom Panel with Event Handler
Replies: 7
Views: 181

Re: A Problem to compile a Custom Panel with Event Handler

Thank you very much.
I'm a idiot but I ask me my way along.
And this is a very good Example.

A now happy
Mungo1981
by Mungo1981
Tue Jun 18, 2019 4:13 pm
Forum: C++ Development
Topic: A Problem to compile a Custom Panel with Event Handler
Replies: 7
Views: 181

Re: A Problem to compile a Custom Panel with Event Handler

Ok,
Sorry but any good Manuals or Tutorials which show the Bind Command in relation to wxButtons.
(Please with Link).
Or is this better to do with an Event-Table ????
And when yes: Why??? In Example in the WxFrame which will use my custmoized-Panel.

A not so clever
Mungo1981
by Mungo1981
Mon Jun 17, 2019 4:35 pm
Forum: C++ Development
Topic: A Problem to compile a Custom Panel with Event Handler
Replies: 7
Views: 181

Re: A Problem to compile a Custom Panel with Event Handler

Ok,
I have remove the Even Table,
and just works fine.

Thanks,
Mungo1981
by Mungo1981
Mon Jun 17, 2019 2:43 pm
Forum: C++ Development
Topic: Some trouble with this-Pointers of Member Variables of wxWidgets
Replies: 6
Views: 146

Re: Some trouble with this-Pointers of Member Variables of wxWidgets

Ok, I have found that I yesterday have to be in the sun,
So I have had a sunstroke.
I have refractory my Code.
And Just it will Work.
by Mungo1981
Mon Jun 17, 2019 1:38 pm
Forum: C++ Development
Topic: A Problem to compile a Custom Panel with Event Handler
Replies: 7
Views: 181

A Problem to compile a Custom Panel with Event Handler

Dear Community, I have problems to compile a customized Panel Code. This are my Code: TrackControl.cpp #include <wx/wx.h> #include <wx/sizer.h> #include <wx/panel.h> #include "TrackControl.h" enum { ID_EditTrack = 1 }; BEGIN_EVENT_TABLE(TrackControl, wxPanel) //(*EventTable(NewPanel) //*) END_EVENT_...
by Mungo1981
Sun Jun 16, 2019 4:27 pm
Forum: C++ Development
Topic: Some trouble with this-Pointers of Member Variables of wxWidgets
Replies: 6
Views: 146

Re: Some trouble with this-Pointers of Member Variables of wxWidgets

Ok,
I should read a Manual about Member Variables in wxWidgets.
I do not understand who might the error would be.
Can you please give me a link to such a Manual.

Mungo1981
by Mungo1981
Sun Jun 16, 2019 2:54 pm
Forum: C++ Development
Topic: Some trouble with this-Pointers of Member Variables of wxWidgets
Replies: 6
Views: 146

Some trouble with this-Pointers of Member Variables of wxWidgets

I have some trouble with the access of Member Variables when I will store a Pointer of a wxWidgets to them. So I think its to define in the class definer of my Frame to say: wxPanel* myPanel wxBoxSizer* mySizer And to initialize them with. wxPanel* myPanel = new wxPanel(this); wxBoxSizer* mySizer = ...
by Mungo1981
Sun Jun 16, 2019 2:17 pm
Forum: C++ Development
Topic: How to handle a repeated wxWidgets Group
Replies: 2
Views: 71

Re: How to handle a repeated wxWidgets Group

Ok,
this way I will try.
by Mungo1981
Sun Jun 16, 2019 1:17 pm
Forum: C++ Development
Topic: How to handle a repeated wxWidgets Group
Replies: 2
Views: 71

How to handle a repeated wxWidgets Group

Dear Community, I have following problem: I need a Group of wxWidgets repeated in a Panel. Is it a Set of Controls which control the main Parameter of a Sound-track. So the user should have the option to add and remove this Control by pressing wxButtons. And this is my first idea to solve this Probl...
by Mungo1981
Fri Jun 14, 2019 4:11 pm
Forum: C++ Development
Topic: How to create a way to do a wxChoice in a wxGrid Cell
Replies: 4
Views: 119

Re: How to create a way to do a wxChoice in a wxGrid Cell

So this is my statement of EXCUSE ME I'M TO SILLY
This was the solution.
But I'm to silly to see the field of this arrows in because of a to large Column wide.

SO EXCUSE ME.

A embarrassing

Mungo1981
by Mungo1981
Fri Jun 14, 2019 4:06 pm
Forum: C++ Development
Topic: How to create a way to do a wxChoice in a wxGrid Cell
Replies: 4
Views: 119

Re: How to create a way to do a wxChoice in a wxGrid Cell

Ok, I have a problem with my eyes.
When I click in the cell and push the keys for scroll up and down I could change the selected Item.
But I can not see any selection arrows.
:shock: :shock: :shock: