Search found 38 matches

by Peterj
Wed May 24, 2006 10:11 am
Forum: C++ Development
Topic: wxGrid - SetColFormat options
Replies: 1
Views: 619

wxGrid - SetColFormat options

wxGrid has several functions to set the column format - SetColFormatFloat(), SetColFormatNumber() etc. Is there any way of discovering what format has been set for a column so that a generic column sort could be applied to any grid without having to know about the grid first? Any suggestions would b...
by Peterj
Fri May 19, 2006 6:33 am
Forum: wxDev-C++
Topic: Refer to parent object
Replies: 8
Views: 1646

Tobi,
You can set the values in the child dialog with something like the following:

Code: Select all

Dlg2* NewDlg = new Dlg2(this);

    NewDlg->WxEdit1->SetValue(_T("sometext"));

    if (NewDlg->ShowModal() == wxID_OK)
      {
      }
   NewDlg->Destroy();
by Peterj
Wed May 03, 2006 10:02 am
Forum: wxDev-C++
Topic: apfloat + decimal floating point problems
Replies: 0
Views: 384

apfloat + decimal floating point problems

I wish to use apfloat to solve the decimal floating point problem, however my knowledge of C++ and wxWidgets is severly limited. If anyone has successfully used this package, could you please detail the steps necessary to compile it for use with wxDev-C++ and also how to translate between wxString a...
by Peterj
Sat Apr 15, 2006 11:29 am
Forum: C++ Development
Topic: wxDateTime::Now() off by 10 hours
Replies: 13
Views: 3209

Jamie, While you were fixing this, did you also check out Today(). It also appears to be broken in 2.6.3 (alpha). wxDateTime defdate,tday; tday = defdate.Today(); today = tday.FormatDate();// produces a date of 03/15/2006 today = tday.Format("%d/%m/%Y"); // produces correct date 15/04/2006 Regards, ...
by Peterj
Thu Apr 13, 2006 8:00 pm
Forum: wxDev-C++
Topic: wxGrid and sizers
Replies: 3
Views: 993

Thanks for your responses. The problem was not having AddGrowableRow + AddGrowableCol. What I should have mentioned was that I was trying to figure out how to add sizers using the GUI designer and where the designer capabilities stop. It appears that the best way to layout a screen (using the GUI de...
by Peterj
Thu Apr 13, 2006 12:00 pm
Forum: wxDev-C++
Topic: wxGrid and sizers
Replies: 3
Views: 993

wxGrid and sizers

Could someone please provide a simple example of adding sizers to a simple grid so that the grid expands along with the window. I have created a frame, added a boxsizer to it, added a panel on top, added a flexgridsizer to the panel and then a grid on top of the flexgridsizer. Although I can get the...
by Peterj
Fri Mar 17, 2006 9:35 pm
Forum: wxDev-C++
Topic: Subversion + wxDev-C++
Replies: 3
Views: 1594

Thanks for your replies.

I have gone with TortoiseSVN. Obviously wxDev-Cpp is internally linked to CVS. I thought there may be some external settings file where it would be possible to use SVN from the IDE instead.

Thanks for your comments.
by Peterj
Thu Mar 16, 2006 10:22 am
Forum: wxDev-C++
Topic: Subversion + wxDev-C++
Replies: 3
Views: 1594

Subversion + wxDev-C++

Has anyone successfully integrated Subversion (or any other CVS app) with wxDev-C++?
I am currently updating the wxDev-C++ help files, so am interested in how it is done (step by step preferrably) and what settings can be recommended. I also wish to use Subversion myself.
by Peterj
Sun Feb 05, 2006 10:08 am
Forum: wxDev-C++
Topic: Dev-cpp Help
Replies: 9
Views: 1545

Hi Tony + Ninja, You both need to be congratulated on your enthuisiasm! Contributing to the Dev-cpp book? I must admit I hadn't really thought about it, but will follow it up. I have downloaded the Dev-cpp help files, so will see what I can add. You may well get a few messages asking for explanation...
by Peterj
Sun Feb 05, 2006 4:07 am
Forum: wxDev-C++
Topic: Dev-cpp Help
Replies: 9
Views: 1545

Hi Ninja, Ok you've lost me at this point. Download which HTML help files from where? >doing whatever needs to be done to it to ensure that all funcltions from all classes are in the index Are you talking of the wxWidgets help or wxDev-cpp help? My thoughts were along the lines of trying to fill in ...
by Peterj
Sat Feb 04, 2006 7:39 pm
Forum: wxDev-C++
Topic: Dev-cpp Help
Replies: 9
Views: 1545

Hi Ninja, Todo list - thanks for that, I wasn't even aware of the options available under the file tab - right click. It looks good! Program reset - The times I have used it, the program appeared to have been closed - I guess it can't have been. Dev-cpp help - what do you suggest as the next step? T...
by Peterj
Sat Feb 04, 2006 10:00 am
Forum: wxDev-C++
Topic: Dev-cpp Help
Replies: 9
Views: 1545

Dev-cpp Help

Is there anyone working on the wxDev-cpp help system? It is part of the product that has a few holes that doesn't help beginners. I would be willing to spend some time on it if someone can answer questions, and point me in the right direction. 1) View Menu / Todo list. It looks great, but how do you...
by Peterj
Fri Jan 20, 2006 10:41 am
Forum: wxDev-C++
Topic: 6.9alpha release
Replies: 34
Views: 7403

I've downloaded the new version, and plugged it in without any hastles. I could even compile my app without a hitch. Great work and greatly appreciated. It is really great to see the delete key behaving itself. It makes the difference between feeling like you're using a great tool to one that is OK....
by Peterj
Fri Jan 20, 2006 10:31 am
Forum: C++ Development
Topic: wxGrid multiple selection question
Replies: 7
Views: 3247

Did you post a bug report on this? From my perspective it is also a bug. I am trying to use a grid in a dialog. I don't think limiting a row selection to clicking on the column label is standard behaviour. I would like to allow the user to double click a row to select it and close the dialog in one ...
by Peterj
Fri Jan 20, 2006 10:30 am
Forum: C++ Development
Topic: wxGrid multiple selection question
Replies: 7
Views: 3247

Did you post a bug report on this? From my perspective it is also a bug. I am trying to use a grid in a dialog. I don't think limiting a row selection to clicking on the column label is standard behaviour. I would like to allow the user to double click a row to select it and close the dialog in one ...