Search found 28 matches

by YuMERA
Wed Feb 26, 2020 8:43 am
Forum: C++ Development
Topic: border-color wxStaticText
Replies: 3
Views: 93

Re: border-color wxStaticText

ONEEYEMAN wrote:
Mon Feb 24, 2020 3:55 pm
Do you want to indicate the incorect input from the user?

Thank you.
This scenario is interesting to me... How? Thx.
by YuMERA
Mon Feb 24, 2020 10:47 pm
Forum: Database Related
Topic: WxWidgets 3.1, Windows, codeblocks and MySQL
Replies: 8
Views: 254

Re: WxWidgets 3.1, Windows, codeblocks and MySQL

Hi to all, I'm having lot of problems in finding a way to connect to a MySQl database by using WxWdigets on Windows. On Linux, I use mysql++ library and everything works fine, but I can't figure out how to do it under Windows. I don't need to use exactly the same library, I just need to be able to ...
by YuMERA
Fri Feb 14, 2020 1:41 am
Forum: C++ Development
Topic: Decimal format conversion from one locale to another locale(en_US)
Replies: 6
Views: 136

Re: Decimal format conversion from one locale to another locale(en_US)

Thanks for the helpful info.
This is what I needed : wxString::FromCDouble()/ToCDouble()
by YuMERA
Thu Feb 13, 2020 12:55 am
Forum: C++ Development
Topic: Decimal format conversion from one locale to another locale(en_US)
Replies: 6
Views: 136

Decimal format conversion from one locale to another locale(en_US)

I use wxLocale wxLANGUAGE_SERBIAN and have a decimal format like 1,23 I would like to convert it to decimal in format wxLANGUAGE_ENGLISH like 1.23 how?
by YuMERA
Sun Dec 22, 2019 1:59 am
Forum: C++ Development
Topic: wxString Replace()
Replies: 4
Views: 150

Re: wxString Replace()

Thanks Bro.
by YuMERA
Sun Dec 22, 2019 1:30 am
Forum: C++ Development
Topic: wxString Replace()
Replies: 4
Views: 150

Re: wxString Replace()

This line causes the error

Code: Select all

wxString ss = s.Replace(" ","\u2007");
by YuMERA
Sun Dec 22, 2019 12:09 am
Forum: C++ Development
Topic: wxString Replace()
Replies: 4
Views: 150

wxString Replace()

I need this because I want to right format numbers in print document to the printer without using Monospace font. wxString s = wxString::Format("%9s",wxNumberFormatter::ToString(atof(d11),g_dot)); wxString ss = s.Replace(" ","\u2007"); dc->DrawText(ss, data_x + 475, data_y + 1) I actually don't know...
by YuMERA
Tue Dec 03, 2019 10:23 am
Forum: C++ Development
Topic: wxNumberFormatter
Replies: 1
Views: 90

wxNumberFormatter

I use wxNumberFormatter::ToString with thousand separators and I have the string-like 12,769.00 how covert this string to number? Can this with wxNumberFormatter or with parse string?

Thx
by YuMERA
Wed Nov 20, 2019 2:47 pm
Forum: C++ Development
Topic: Printing
Replies: 5
Views: 415

Re: Printing

Thank you for your reply. I'll try it out now I'm busy.
I'll let you know if I made it.
by YuMERA
Tue Nov 19, 2019 12:41 am
Forum: C++ Development
Topic: Printing
Replies: 5
Views: 415

Re: Printing

Now I have a problem with Print preview Screenshot_2.png Print work Ok only preview is a problem. Preview function : void DPUprint::OnbtnPreviewClick(wxCommandEvent& event){ wxString dp_datum = dpDatum->GetValue().Format("%d.%m.%Y."); wxString dp_fis_isecak = tcDI->GetValue(); MyPrintout* myprint = ...
by YuMERA
Thu Nov 07, 2019 10:37 am
Forum: C++ Development
Topic: Printing
Replies: 5
Views: 415

Printing

I have a problem when i try the example on https://wiki.wxwidgets.org/Printing . wx.jpg i use CodeBlocks 17.12 and wxWidgets-3.1.2 wheh Build app no errors : ||=== Build finished: 0 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===| This class i put in two files QuickPrint.cpp and QuickPrint.h c...
by YuMERA
Thu Sep 05, 2019 4:28 pm
Forum: C++ Development
Topic: Problem with a percentage (%) sign in wxString
Replies: 2
Views: 131

Problem with a percentage (%) sign in wxString

Hi! How do I handle this? I have SQL Query scFindItem->SetValue("Pivo") wxString SQL = wxString::Format(_T("SELECT ID_art, naziv_art, kolicina_art, cena_art, grupa_naziv, grupa_ID, grupa_art " "FROM artikli,grupa " "WHERE grupa_art = grupa_ID AND " "naziv_art LIKE('%%s%')"),scFindItem->GetValue()); ...
by YuMERA
Sat Aug 31, 2019 9:44 pm
Forum: C++ Development
Topic: Multi line header
Replies: 2
Views: 149

Re: Multi line header

Thanks for your answer I will try with this
by YuMERA
Sat Aug 31, 2019 4:32 pm
Forum: C++ Development
Topic: Multi line header
Replies: 2
Views: 149

Multi line header

Hi!
I need any list control which has the ability to display multi-line text on columns header label.
What control it can and that you suggest to me???
Thx