Search found 12 matches

by henk
Fri Sep 30, 2005 8:03 am
Forum: C++ Development
Topic: Read out all views
Replies: 3
Views: 1218

Err... ok, maybe it's too early in the morning:

Code: Select all

wxView *v = (wxView*) node->GetData();
Thx.
by henk
Fri Sep 30, 2005 8:01 am
Forum: C++ Development
Topic: Read out all views
Replies: 3
Views: 1218

Thanks, but: wxNode *node = GetDocumentManager()->GetCurrentDocument()->GetViews().GetFirst(); while (node) { wxView *v = node->GetData(); node = node->GetNext(); } occurs an error: error C2440: 'initializing' : cannot convert from 'wxObject *' to 'wxView *' Cast from base to derived requires dynami...
by henk
Fri Sep 30, 2005 7:31 am
Forum: C++ Development
Topic: Read out all views
Replies: 3
Views: 1218

Read out all views

How to loop through all open wxViews?

Code: Select all

while( !m_AllOpenViews.end() )
{
 wxView *v = ....
 ...
}
by henk
Thu Sep 29, 2005 7:24 am
Forum: C++ Development
Topic: wxSheet / wxGrid: Editor for a whole column
Replies: 4
Views: 1983

Ungeheuerlich! :shock:
by henk
Wed Sep 28, 2005 3:15 pm
Forum: C++ Development
Topic: wxSheet / wxGrid: Editor for a whole column
Replies: 4
Views: 1983

An in wxSheet?
by henk
Wed Sep 28, 2005 2:31 pm
Forum: C++ Development
Topic: wxSheet / wxGrid: Editor for a whole column
Replies: 4
Views: 1983

wxSheet / wxGrid: Editor for a whole column

How to?

Code: Select all

m_List->SetAttrEditor( wxSheetCoords(-1, COL_NAME), wxSheetCellEditor( new wxSheetCellTextEditorRefData() ) );
Nothing happens.
by henk
Fri Sep 23, 2005 7:48 am
Forum: C++ Development
Topic: wxGrid / wxSheet: Hide column
Replies: 3
Views: 1297

Danke :wink:
by henk
Fri Sep 23, 2005 7:28 am
Forum: C++ Development
Topic: wxGrid / wxSheet: Hide column
Replies: 3
Views: 1297

wxGrid / wxSheet: Hide column

How to hide a column?
by henk
Thu Sep 22, 2005 12:49 pm
Forum: C++ Development
Topic: wxGrid: Validate values
Replies: 2
Views: 1509

Is it impossible to bind a validator like wxValidator to a cell?

The editors should be an idea, but how to bind to a cell or column? Some code? The examples I found were not good. And then, when I bind an editor to my cell, how to read the needed information?
by henk
Thu Sep 22, 2005 12:17 pm
Forum: C++ Development
Topic: wxGrid: Validate values
Replies: 2
Views: 1509

wxGrid: Validate values

Any ideas, how to validate cell values and manually inputs in wxGrid? Or is wxSheet more efficient? I am looking for a nice implementation or idea for validating data. Any code? What is about the cell editors? I don't really understand them or not at all.
by henk
Wed Sep 21, 2005 11:51 am
Forum: C++ Development
Topic: wxGrid: Validators?
Replies: 0
Views: 854

wxGrid: Validators?

Sure a rookie question, but:

how to implement wxValidator's in a generic wxGrid without wxTable. Something like this:

Code: Select all

SetColumnValidator( column, ... )
by henk
Wed Sep 21, 2005 11:47 am
Forum: C++ Development
Topic: wxGrid: How to merge cells?
Replies: 1
Views: 2060

wxGrid: How to merge cells?

Image

How to? And how to merge three columns of a single row?