Search found 10 matches

by Tobi
Wed Jun 07, 2006 9:34 am
Forum: wxCode
Topic: How to read Interbase DB? (Beginner)
Replies: 2
Views: 921

How to read Interbase DB? (Beginner)

I want:
Open the file c:\db.gdf
(This is a Interbase database)
Get all the data of a specific table (maybe in a wxString or in a text file or what else)

I do not understand the usage of the wxDB. I have a firebird database without a username and password. Where do I set the filename to my database?
by Tobi
Tue May 23, 2006 12:26 am
Forum: wxDev-C++
Topic: Refer to parent object
Replies: 8
Views: 1171

Yes yes, the dlg1.h header file is included, but it still not works. The idea looks great and simple, but unfortunately the GetParent() method returns a wxWindow* and this is not able to convert into a Dlg1* (compiler message). So how do I get the wxStaticText out of the wxWindow ??? (I think, this ...
by Tobi
Fri May 19, 2006 8:23 am
Forum: wxDev-C++
Topic: Refer to parent object
Replies: 8
Views: 1171

Thanks for your answers. unfortunately the cast has not solved the problem. parent is still unknown. And do not want to set the values from the parent to the child (this is no problem), but FROM within the child I want to change a value of the parent dialog. This must be possible, right?
by Tobi
Fri May 19, 2006 6:20 am
Forum: wxDev-C++
Topic: Refer to parent object
Replies: 8
Views: 1171

Refer to parent object

This might be easy, but is a big problem for me, anyhow: I have a dialog form, from which I call a second one. Dlg2* NewDlg = new Dlg2(this); if (NewDlg->ShowModal() == wxID_OK) { } NewDlg->Destroy(); This works fine, but when I am now in the second dialog, how can I refer to values from objects in ...
by Tobi
Thu May 18, 2006 9:39 am
Forum: wxDev-C++
Topic: Version Info in runtime
Replies: 8
Views: 4785

And of course a big thanks to upCASE, who helps with his very descriptive answers to understand the background much better. Sorry you had so much work, although there was an easy way. THANKS.
by Tobi
Thu May 18, 2006 9:36 am
Forum: wxDev-C++
Topic: Version Info in runtime
Replies: 8
Views: 4785

Hi HeReSY,

thats a very simple and working solution. So much thanks to you. This forum is great!

THANKS!!!!!
by Tobi
Wed May 17, 2006 8:53 am
Forum: wxDev-C++
Topic: Version Info in runtime
Replies: 8
Views: 4785

Looks nice, but I DO HAVE PROBLEMS with that. My compiler can not find the stdafx.h. I had to download it, but I am not sure if it fits into wxDevCPP? Then I must change all the CString into wxString, right? Then it will not find the ASSERT function. Do I have to replace this with a wxDevCPP functio...
by Tobi
Wed May 17, 2006 2:10 am
Forum: wxDev-C++
Topic: Version Info in runtime
Replies: 8
Views: 4785

Version Info in runtime

In Menu "Project Options"->"Version Info" you are able to specify a version of your program.
Is it possible to show this version to the user in runtime of my program? (Maybe in a wxStaticText field?)
by Tobi
Wed May 17, 2006 2:00 am
Forum: wxDev-C++
Topic: Event: Click on Label
Replies: 2
Views: 834

Thank you very much for this quick, simple and absolute great solution!
Works fine.
by Tobi
Mon May 15, 2006 6:45 am
Forum: wxDev-C++
Topic: Event: Click on Label
Replies: 2
Views: 834

Event: Click on Label

Hi, is it possible to catch a mouseclick on a Label (wxStaticText)? Or maybe you can skip the event to the underlying frame? (this happens when I choose enable=false, but I want the Label to be enabled!)
Can anybody help me?