Search found 30 matches

by Emerald2240
Tue Dec 18, 2018 10:32 pm
Forum: C++ Development
Topic: Wxbutton label font resize
Replies: 6
Views: 430

Re: Wxbutton label font resize

Thanks a lot! I just simply used the same layout I used to increase the font size of my wxtextctrl and replaced it with the button! it works! Though it needs me to click the button before the font actually changes, I'm working on this now! Any ideas would be helpful! Please show some code, because ...
by Emerald2240
Mon Dec 17, 2018 6:03 am
Forum: Compiler / Linking / IDE Related
Topic: codeblocks::wxwidgets project distribution
Replies: 3
Views: 606

Re: codeblocks::wxwidgets project distribution

doublemax wrote:If you link wxWidgets dynamically, the executable requires the wxWidgets DLLs to run. In your case that means you'd have to install the wxWidgets DLLs globally or copy them to the directory of the executable.
That makes sense! Thanks!!
by Emerald2240
Mon Dec 17, 2018 5:58 am
Forum: General Development
Topic: codeblocks::wxwidgets effectiveness
Replies: 2
Views: 1189

Re: codeblocks::wxwidgets effectiveness

Ask 4 different people and you get 5 different answers :) Personally i think it's important to know all the basics first, but for beginners it's also important to keep the motivation high by quickly seeing some progress. If you're happy with your current progress, keep doing that. Deeper knowledge ...
by Emerald2240
Sat Dec 15, 2018 5:16 pm
Forum: General Development
Topic: codeblocks::wxwidgets effectiveness
Replies: 2
Views: 1189

codeblocks::wxwidgets effectiveness

Hello I'm a begginer rank wxwidgets programmer, I use codeblocks as my playground, Recently I've been asking myself some questions! If using codeblocks drag n drop version of wxwidgets was effective? I admit from experience and all the tutorials I've read I think you're meant to actually write all t...
by Emerald2240
Sat Dec 15, 2018 4:43 pm
Forum: Compiler / Linking / IDE Related
Topic: codeblocks::wxwidgets project distribution
Replies: 3
Views: 606

codeblocks::wxwidgets project distribution

Hi I'm a beginner in wxwidgets programming I use codeblocks' drag n drop version of wxwidgets I just recently completed my first serious project! A basic calculator, and I was thinking yeah I'm done so how do I actually make my application complete and distributable? I went to my release folder unde...
by Emerald2240
Sat Dec 15, 2018 4:26 pm
Forum: C++ Development
Topic: Wxbutton label font resize
Replies: 6
Views: 430

Re: Wxbutton label font resize

So I managed to create a wxfont function to increase the size of my wxtextctrl display I'm not quite sure what you mean by that, but if you managed to set a bigger font for a text control, the same will work for buttons. If you want a bigger font for all controls, set a bigger font for the parent o...
by Emerald2240
Fri Dec 14, 2018 8:11 pm
Forum: C++ Development
Topic: Wxbutton label font resize
Replies: 6
Views: 430

Wxbutton label font resize

Hello! I'm a newbie in wxwidgets! selftaught and teaching, I recently built a calculator app for calculating basic functions and some people complained about how small the labels/Display was. So I managed to create a wxfont function to increase the size of my wxtextctrl display but I don't seem to b...
by Emerald2240
Wed Dec 12, 2018 10:22 pm
Forum: General Development
Topic: Wxwidgets tutorial resources
Replies: 4
Views: 1345

Re: Wxwidgets tutorial resources

doublemax wrote:There is also the wxWidgets book: https://ptgmedia.pearsoncmg.com/images/ ... 6_book.pdf

It's outdated, but still a good resource to understand the basic concepts of wxWidgets.
Thanks a lot!
by Emerald2240
Wed Dec 12, 2018 10:21 pm
Forum: General Development
Topic: Wxwidgets tutorial resources
Replies: 4
Views: 1345

Re: Wxwidgets tutorial resources

Thanks very much! I really appreciate the support
by Emerald2240
Wed Dec 12, 2018 4:01 pm
Forum: C++ Development
Topic: wxtextctrl setvalue/getvalue confusion
Replies: 7
Views: 601

Re: wxtextctrl setvalue/getvalue confusion

PB wrote:As ruro has already told you, you need to append the button value to the existing displayed number. I.e., in your example to replace

Code: Select all

TextCtrl1->SetValue(two);
with

Code: Select all

TextCtrl1->AppendText(two);
thanks a lot was really having troubles understanding what he meant
by Emerald2240
Wed Dec 12, 2018 8:11 am
Forum: General Development
Topic: Wxwidgets tutorial resources
Replies: 4
Views: 1345

Wxwidgets tutorial resources

Hello! I'm a newbie in wxwidgets self taught actually I use code::blocks software as my playground So far my main problem learning wxwidgets was just mainly lack of resources, that's what mainly made this forum catch my attention! So to my fellow programmers beginners and experts I wanna ask for eas...
by Emerald2240
Wed Dec 12, 2018 7:38 am
Forum: C++ Development
Topic: wxtextctrl setvalue/getvalue confusion
Replies: 7
Views: 601

Re: wxtextctrl setvalue/getvalue confusion

Thanks for your replies! the thing is I created onscreen buttons 1,2,3,4,5,6,7,8,9 By declaring an Int variable equals to what number you click and then setting that variable to the wxtextctrl widget with the set label function, the problem with this approach is it accepts a single number only For e...
by Emerald2240
Wed Dec 12, 2018 7:30 am
Forum: C++ Development
Topic: wxtextctrl setvalue/getvalue confusion
Replies: 7
Views: 601

Re: wxtextctrl setvalue/getvalue confusion

Ruro wrote:Hello,

Maybe you need AppendText() https://docs.wxwidgets.org/3.1/classwx_ ... aa9640768b
This way you can append more digit to the current number.

Nicola.
Thanks a lot!
I'm not really sure I understand how to port this into my program but I'll try!
by Emerald2240
Wed Dec 12, 2018 7:22 am
Forum: C++ Development
Topic: wxtextctrl setvalue/getvalue confusion
Replies: 7
Views: 601

Re: wxtextctrl setvalue/getvalue confusion

Hello. Not sure that I undesrstand what you want to achieve. Maybe you can provide some example with expected and actual output? For displaying "compound" number you can join into one string several values with some delimeter. Thanks for your reply! the thing is I created onscreen buttons 1,2,3,4,5...
by Emerald2240
Tue Dec 11, 2018 2:07 pm
Forum: C++ Development
Topic: wxtextctrl setvalue/getvalue confusion
Replies: 7
Views: 601

wxtextctrl setvalue/getvalue confusion

Hello! I'm a beginner in wxwidgets, just started learning it on my own a few weeks ago and decided I wanted to work on my first project: A simple Calculator with onscreen buttons I was able to make a working prototype that accepted a single number and then a function then another number and then pri...