Search found 107 matches
- Mon Jun 01, 2020 6:52 am
- Forum: Platform Related Issues
- Topic: wxTextCtrl Height no work!
- Replies: 11
- Views: 2904
Re: wxTextCtrl Height no work!
Why do you want a control with a non-default size, that is less? Are you going to use a smaller font with it? I'll use font 9, the goal is to make room in the window. But still nothing is definitive, I'm exploring what I can do with the wxWidgets controls. And size, color, style, control are option...
- Mon Jun 01, 2020 6:48 am
- Forum: Platform Related Issues
- Topic: wxTextCtrl Height no work!
- Replies: 11
- Views: 2904
Re: wxTextCtrl Height no work!
Just tested on a KDE desktop and it worked for me (wxWidgets 3.1.3, GTK3): snapshot2.png Thanks doublemax so there is something wrong with the way I install my Linux, some library maybe, or maybe it's some graphical setup I didn't do. Because when I tested on different Linux, I didn't configure any...
- Sun May 31, 2020 11:47 am
- Forum: Platform Related Issues
- Topic: wxTextCtrl Height no work!
- Replies: 11
- Views: 2904
Re: wxTextCtrl Height no work!
But it's a bit weird, because this doesn't happen with other libraries like Qt and FLTK. Both don't use native controls, they draw everything themselves. I believe then that the problem is with Linux in general. I tested it in Fedora, Ubuntu, Debian, in my Slackware, I used the window managers: Xfc...
- Sun May 31, 2020 8:40 am
- Forum: General Forum Issues
- Topic: Error "The submitted form was invalid"
- Replies: 58
- Views: 110684
Re: Error "The submitted form was invalid"
maybe this problem may have something to do with Login, again it happened and it may have been because I logged in from a thread rather than from the forum home page. Every time I log in, I can't log out! It is now 5am. Not even switching the IP works. That sounds like something to do with cookies, ...
- Sun May 31, 2020 8:38 am
- Forum: Platform Related Issues
- Topic: wxTextCtrl Height no work!
- Replies: 11
- Views: 2904
Re: wxTextCtrl Height no work!
That looks like that particular window manager under Linux overrides the size, or at least enforces a minimum size. In that case, there is nothing wxWidgets or you can do about it. That looks like that particular window manager under Linux overrides the size, or at least enforces a minimum size. In...
- Sat May 30, 2020 11:26 pm
- Forum: Platform Related Issues
- Topic: wxTextCtrl Height no work!
- Replies: 11
- Views: 2904
Re: wxTextCtrl Height no work!
My advice: Do not use hardcoded numbers for positions and sizes, use sizers instead. Besides, 10 pixels tall edit control makes little sense even on standard DPI, where the height for a singe line control is over 20 pixels Nevertheless, your code seems to "work": Thanks for the advice, bu...
- Sat May 30, 2020 11:25 pm
- Forum: General Forum Issues
- Topic: Error "The submitted form was invalid"
- Replies: 58
- Views: 110684
Re: Error "The submitted form was invalid"
For me it's happening at 19:15 my time zone is -3. Exactly now is the 13th time I've tried to post Problem also with Login, because it doesn't work without checking remember Logout doesn't work either, I can only log off the forum by clearing the cookies https://i.imgur.com/bAD8Eqe.png Problem with ...
- Sat May 30, 2020 4:57 am
- Forum: Platform Related Issues
- Topic: wxTextCtrl Height no work!
- Replies: 11
- Views: 2904
wxTextCtrl Height no work!
I created the example below to serve as a base. It doesn't work to change the height of the control because it doesn't obey. And in doing so, he even leaves his original position! I wonder if I'm doing something wrong or if this is a BUG #include <wx/app.h> #include <wx/frame.h> #include <wx/textctr...
- Fri May 29, 2020 7:37 pm
- Forum: General Forum Issues
- Topic: Error "The submitted form was invalid"
- Replies: 58
- Views: 110684
Re: Error "The submitted form was invalid"
The submitted form was invalid. Try submitting again. This mistake is being repeated many times! Does not work clear cookies, restart browser, change browser. The Forum wasn't like this before! When that happened today, I had to reboot the router included. At this point when trying to answer a post,...
- Fri May 29, 2020 7:32 pm
- Forum: C++ Development
- Topic: wxTextCtrl Colours
- Replies: 2
- Views: 679
Re: wxTextCtrl Colours
Which OS and wxWidgets version do you use? Any non-default theme? wxWidgets, I am currently using version 3.1.2 but I can upgrade if necessary! OS, I use Linux Slackware64-Current with Xfce I don't use themes! Your question about subjects reminded me that they change the colors of the controls. But...
- Fri May 29, 2020 7:27 am
- Forum: C++ Development
- Topic: wxTextCtrl Colours
- Replies: 2
- Views: 679
wxTextCtrl Colours
I'm having trouble coloring the background of a TextCtrl. Using Multiline worked as expected! But for the simple man he doesn't do what I was expecting him to do! How can I fix that? Leave Textctrl simple as TextCtrl Multiline? See the problem in the pictures! The Simple got very bad, and if it's no...
- Sun May 24, 2020 7:53 pm
- Forum: C++ Development
- Topic: wxIcon Contructor Doubt
- Replies: 8
- Views: 1570
Re: wxIcon Contructor Doubt
Hi, What I mean is - start by learning the language. Find soe kind of a community college which teaches a good course of C++ and finish it. Or maybe not so good course. Anyway - you should have a good understanding of the language itself, before you even think of doing any wxWidgets work. I'm sure ...
- Sun May 24, 2020 7:42 pm
- Forum: C++ Development
- Topic: wxIcon Contructor Doubt
- Replies: 8
- Views: 1570
Re: wxIcon Contructor Doubt
You just can't initialize member variables that way. But even if it worked, you shouldn't do it anyway. But I need to declare before that, in private. Why? I can't think of any scenario where your old version (Initialization in OnInit) is not sufficient. wxApp::OnInit() is the main entry point for ...
- Sun May 24, 2020 6:04 pm
- Forum: C++ Development
- Topic: wxIcon Contructor Doubt
- Replies: 8
- Views: 1570
Re: wxIcon Contructor Doubt
Hi, Please learn basic C++ prior to coding with such extensive toolkit as wxWidgets. Thank you. But I'm doing it! I am studying, creating examples to understand and learn. I just can't afford a course or a teacher to help me, or to clear my doubts. One learns by studying the theory, but one learns ...
- Sat May 23, 2020 9:21 pm
- Forum: C++ Development
- Topic: wxIcon Contructor Doubt
- Replies: 8
- Views: 1570
wxIcon Contructor Doubt
Thus declaring after bool OnInit() { WORK wxIcon MyIcon("./Database/FrmIcon.png", wxBITMAP_TYPE_PNG); FrmContacts->SetIcon(MyIcon); But I need to declare before that, in private. NO WORK class MyProgram: public wxApp { private: wxIcon MyIcon("./Database/FrmIcon.png", wxBITMAP_TYP...