Search found 38 matches

by Peterj
Tue Aug 28, 2007 10:29 am
Forum: C++ Development
Topic: wxGrid header - how to remove
Replies: 4
Views: 2774

Hi, to hide the label header row, use:

Code: Select all

 WxGrid1->SetRowLabelSize(0);
to hide the label column use:

Code: Select all

 WxGrid1->SetColLabelSize(0);
Regards,

Peter
by Peterj
Sat Jul 28, 2007 7:45 am
Forum: wxDev-C++
Topic: Testers wanted for next version!
Replies: 11
Views: 1647

While I would like to take part in testing, I have had some "ugly" experiences with test versions that potentially threaten the major project I am working on, and make me a little apprehensive about participating. Can someone specify how to run multiple versions of wxDev-C++ at the same time so that...
by Peterj
Fri Jun 08, 2007 9:51 pm
Forum: wxDev-C++
Topic: How to create executable ?
Replies: 3
Views: 1015

1) Have you checked out your project folder for a new exe?

2) wxDev-C++ is windows only although there have been experiments with running it under Linux. Check out the wxWidgets FAQs.
by Peterj
Sat Mar 17, 2007 8:26 pm
Forum: C++ Development
Topic: wxGrid header - how to remove
Replies: 4
Views: 2774

Setting the header row height to zero and the column row width to zero will probably be the easiest.
by Peterj
Sun Mar 04, 2007 7:51 pm
Forum: C++ Development
Topic: Grid column border colour
Replies: 4
Views: 1081

Thanks for your response.

Examples like that sure make learning easier.
by Peterj
Sat Mar 03, 2007 9:07 pm
Forum: C++ Development
Topic: Grid column border colour
Replies: 4
Views: 1081

Thanks for your reply. Can you give me an example please?
by Peterj
Sat Mar 03, 2007 10:25 am
Forum: C++ Development
Topic: Grid column border colour
Replies: 4
Views: 1081

Grid column border colour

Is there any way to change the border colour of a column in a wxGrid? Currently if a column in the grid is selected, the background colour of the column is changed, however I would rather change the border colour of the column so that I can use the background colour to indicate other properties of c...
by Peterj
Mon Sep 18, 2006 11:26 am
Forum: General Development
Topic: C backend whilst using wxWidgets
Replies: 4
Views: 554

As you barely know C, why bother coding in it, rather go straight for learning C++ and picking up C along the way (ie where necessary). C is not a necessary pre-requisite for learning C++ (some would say a hinderance). You will find that using the wxWidgets libraries and samples along with some good...
by Peterj
Mon Aug 14, 2006 10:36 am
Forum: C++ Development
Topic: Database controls
Replies: 7
Views: 1143

I have also added some easy variable to control assignment feature in the wx-devcpp
Hi Guru,

Could you describe what you mean here in a bit more detail please.

Regards,
Peter
by Peterj
Sun Aug 13, 2006 11:21 am
Forum: wxDev-C++
Topic: Crash problems
Replies: 10
Views: 1431

Freddy, Are you talking about an Exception Class "ERange Error", Exception message "Range Check Error"? These can be forced by typing either a space-colon ' :' or space-right arrow ' >' sequence after a variable name. Pressing the <Esc> key will get rid of the error message screen with no problems. ...
by Peterj
Fri Aug 11, 2006 10:15 am
Forum: wxDev-C++
Topic: Dialogs and Destroy()
Replies: 4
Views: 847

Thanks for the reply. I'll move the Destroy() and check out the difference.

Peter
by Peterj
Thu Aug 10, 2006 11:48 am
Forum: wxDev-C++
Topic: Dialogs and Destroy()
Replies: 4
Views: 847

Hi upCase, Thanks for your reply. I forgot to mention that these are created on the heap. Some of the dialogs get reasonably complicated so I have been under the impression they would be better created there. In this situation, is it valid to put Destroy() in the dtor? When the access violation erro...
by Peterj
Thu Aug 10, 2006 11:16 am
Forum: wxDev-C++
Topic: Dialogs and Destroy()
Replies: 4
Views: 847

Dialogs and Destroy()

Could someone correct my misunderstanding: I have created several modal dialogs which usually include a Cancel button to which I attach an onclick event. Inside the event I usually put: Destroy(); to close the dialog. However this appears to cause the dialogs to close not only themselves, but also t...
by Peterj
Sun Jul 30, 2006 8:44 pm
Forum: C++ Development
Topic: wxWidgets 2.6.3 bug in wxDateTime::ParseDate
Replies: 2
Views: 635

Yes you're right. There are bugs in wxDateTime that I believe have been fixed in the next version. You can get around the problem using ParseFormat(wxStringToParse,"%Y-%m-%d"). Likewise you are also likely to strike problems with FormatDate - just use Format instead and specify the format. The other...
by Peterj
Wed Jul 05, 2006 10:25 am
Forum: wxDev-C++
Topic: How do I build using a 3rd-party dll?
Replies: 2
Views: 517

If it is any help, the following is the way I have set up mysql: In the Project ->Project Options menu, Parameters tab, Linker option I have added: -lmysql I have the libmysql.dll sitting in the same folder as my project. Under the dev-cpp\include folder, I have added a mysql folder which contains m...