Search found 52 matches

by BlowdyNose
Tue Dec 27, 2005 9:18 am
Forum: C++ Development
Topic: wxSqlite and Excel and DBF and and and
Replies: 1
Views: 695

OK FALSE ALARM :D

I have found my error:

db.Open( _("mydatabase") ); // didnt work

db.Open( _("mydatabase.db") ); // works :roll:
by BlowdyNose
Tue Dec 27, 2005 9:02 am
Forum: C++ Development
Topic: wxSqlite and Excel and DBF and and and
Replies: 1
Views: 695

wxSqlite and Excel and DBF and and and

Hi everyone, I have an excel-sheet with over 1000 rows which I want to read into a database. So I installed wxSqlite3 (1.4.2) cause I didnt want the end-user to have a server running. But I didnt find any wxSqlite documentation about how to handle excel-files or dbf-files -> I downloaded SQLite Anal...
by BlowdyNose
Mon Dec 05, 2005 11:11 am
Forum: C++ Development
Topic: specify wxTextCtrl input
Replies: 4
Views: 966

Salut

Are you sure that this works while writing into the wxTextCtrl ?

- BlowdyNose
by BlowdyNose
Mon Dec 05, 2005 10:05 am
Forum: C++ Development
Topic: specify wxTextCtrl input
Replies: 4
Views: 966

specify wxTextCtrl input

Hi everyone, How would you manage it, to only allow special input into a ( in this case ) single-line textcontrol :?: Because I did not find any methods for this case, I think it would work by catching the wxKeyEvent's inside of the textcontrol. After verifying if the pressed key is allowed accept t...
by BlowdyNose
Wed Nov 23, 2005 8:08 am
Forum: C++ Development
Topic: Scale GUI Components?
Replies: 11
Views: 1898

Hi Perhaps it would help you to use Anthemion DialogBlocks 1.99 . You can play around with sizers and let it create your c++-sourcecode. Then browse the code and perhaps you will understand a little bit more.. I did :wink: ! And when you generate your project don't forget to uncheck "generate C++ fo...
by BlowdyNose
Wed Nov 23, 2005 7:57 am
Forum: C++ Development
Topic: Button with both bitmap and text label?
Replies: 8
Views: 2021

Hi

When you don't need to change or query the label on runtime, just write the label you want into the bitmap until the patch is released :twisted: .

- BlowdyNose
by BlowdyNose
Thu Nov 17, 2005 2:21 pm
Forum: C++ Development
Topic: wxDialog do not generate wxEVT_CREATE event?
Replies: 4
Views: 1199

Hi waterj

I just read something about Dialoginitialization.

-> When a dialog is first shown, wxWidgets calls InitDialog...

And this is a wxEVT_INIT_DIALOG event!!

Perhaps this can help. Right know I have no time to verify it :roll:

- BlowdyNose
by BlowdyNose
Thu Nov 17, 2005 12:12 pm
Forum: C++ Development
Topic: Rounded rectangular button
Replies: 4
Views: 1108

:wink: In fact you have to assign a wxBitmap to your custom wxBitmapButton with transparent borders. Problem. To get a transparent wxBitmap I would do the following. 1)Get some tool to convert your *.png ( I prefer to work with png) to a *.cpp. I use the "bin2c.c". But ImageMagick could also do it. ...
by BlowdyNose
Thu Nov 17, 2005 12:00 pm
Forum: C++ Development
Topic: Rounded rectangular button
Replies: 4
Views: 1108

Raghu... you are opening Pandora's Box... 8)
by BlowdyNose
Thu Nov 17, 2005 7:49 am
Forum: C++ Development
Topic: How to change the size of the text on Button or Label?
Replies: 2
Views: 614

Hi Raghu

you can set the Font of a wxStaticText by using the
SetFont( wxFont myFont ) method.

-BlowdyNose
by BlowdyNose
Wed Nov 16, 2005 10:12 am
Forum: C++ Development
Topic: wxToolbar resources problem after migrating to 2.6.2
Replies: 4
Views: 1038

Hi robal, I never worked with toolbars but when I look at wxToolBar you have to differ between the AddTool and the AddControl methods. The last one is especially for controls like your "damn" :wink: combobox. But I don't know how far this counts when implementing your toolbar with resources :cry: . ...
by BlowdyNose
Fri Nov 11, 2005 9:11 am
Forum: C++ Development
Topic: Small question on EVT_LEFT_DOWN
Replies: 1
Views: 873

Hi fm, I think that when processing a mouseevent, like EVT_LEFT_DOWN, you have to use the events from wxMouseEvent . And as you can see it is not possible to pass any ID to the eventhandling-macros to resolve which object in your window has been clicked. But perhaps you could use GetPosition(..) to ...
by BlowdyNose
Fri Nov 11, 2005 8:50 am
Forum: C++ Development
Topic: wxDialog do not generate wxEVT_CREATE event?
Replies: 4
Views: 1199

Hi

How do you try to catch it ( code ) ?
by BlowdyNose
Thu Nov 10, 2005 1:15 pm
Forum: C++ Development
Topic: Scrollbar arrow button
Replies: 1
Views: 995

Hi Rukawa when you click on the arrow-button on the scrollbar you perform a pagescroll event EVT_COMMAND_SCROLL_PAGEUP(id, func) Process wxEVT_SCROLL_PAGEUP page up events. EVT_COMMAND_SCROLL_PAGEDOWN(id, func) Process wxEVT_SCROLL_PAGEDOWN page down events. And usual the scrollbar knows how far it ...
by BlowdyNose
Thu Nov 10, 2005 10:34 am
Forum: C++ Development
Topic: Scale GUI Components?
Replies: 11
Views: 1898

And here is something to read :wink:

about sizers