Search found 22 matches

by Emerald2240
Mon Jan 21, 2019 10:16 pm
Forum: C++ Development
Topic: wxfile name dialog
Replies: 2
Views: 163

Re: wxfile name dialog

I tried using the filedialog save property but it jus shows, I input a name and it displays an error. What kind of error did you get? Can you post full code for reproducing? Though, there is enough material with examples of using wxFileDialog you can just copy-paste code from there and fit it for y...
by Emerald2240
Mon Jan 21, 2019 5:43 pm
Forum: C++ Development
Topic: wxfile name dialog
Replies: 2
Views: 163

wxfile name dialog

Hi I'm a beginner in wxwidgets/wxsmith programming, Thanks to this Awesome forum I was able to create my very first texteditor... My question is how can I be able to edit the filename before it's saved. I tried using the filedialog save property but it jus shows, I input a name and it displays an er...
by Emerald2240
Thu Jan 17, 2019 7:26 pm
Forum: C++ Development
Topic: wxTextFile Confusion
Replies: 4
Views: 191

Re: wxTextFile Confusion

Thanks I'll check on them..
by Emerald2240
Thu Jan 17, 2019 11:48 am
Forum: C++ Development
Topic: wxTextFile Confusion
Replies: 4
Views: 191

Re: wxTextFile Confusion

Thanks Very Much for your Reply and Advice, I really appreciate it! About your question. It Backfired in the sense I couldn't save a file with a user input file name... I tried so hard, even porting in string variables to replace the file name which obviously wasn't applicable and also the fstream c...
by Emerald2240
Wed Jan 16, 2019 8:46 pm
Forum: C++ Development
Topic: wxTextFile Confusion
Replies: 4
Views: 191

wxTextFile Confusion

Hi! I'm a newbie in wxwidgets, I use codeblocks as my IDE, I recently embarked on a project to create a sort of jotter like app for instantly saving texts and loading them with emphasis on speed... But that's another story. I originally started the project using basic C++ File save via fstream/ofstr...
by Emerald2240
Wed Jan 09, 2019 9:06 pm
Forum: C++ Development
Topic: can't make use of string data type
Replies: 1
Views: 203

can't make use of string data type

Hi guys! I recently embarked on a project to create a simple jotter app. I use codeblocks. I planned on using C++'s basic txt file save due to the fact i'm working with texts bu i came across a problem; I was easily able to create a text editor that stored values or variables using save slots for sa...
by Emerald2240
Wed Dec 19, 2018 6:48 pm
Forum: C++ Development
Topic: Wxbutton label font resize
Replies: 6
Views: 206

Re: Wxbutton label font resize

Thanks. This is a little more complicated than it needs to be. The font you get from "Button1->GetFont()" is probably the same for all buttons, so you could just change the font size and then set this font for all buttons. There is however the problem that the buttons won't automatically resize the...
by Emerald2240
Tue Dec 18, 2018 10:32 pm
Forum: C++ Development
Topic: Wxbutton label font resize
Replies: 6
Views: 206

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: 462

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: 785

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: 785

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: 462

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: 206

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: 206

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: 851

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!