Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

bool wxPropertyGrid::SelectProperty ( wxPGId  id,
bool  focus = false 
) [inline]

Selects a property. Editor widget is automatically created, but not focused unless focus is true. This will generate wxEVT_PG_SELECT event.

Parameters:
idId to property to select.
Return values:
Trueif selection finished succesfully. Usually only fails if current value in editor is not valid.
See also:
wxPropertyGrid::Unselect

Definition at line 5745 of file propgrid.h.

    {
        return DoSelectProperty(wxPGIdToPtr(id),focus?wxPG_SEL_FOCUS:0);
    }

Generated by  Doxygen 1.6.0   Back to index