develooper Front page | perl.wxperl.users | Postings from May 2008

How to bind additional data with TextCtrl object?

Thread Next
From:
Waldemar Biernacki
Date:
May 2, 2008 00:38
Subject:
How to bind additional data with TextCtrl object?
I'd like to connect additional data with TextCtrl object in similar way as the functions
wxTreeCtrl::SetItemData and wxTreeCtrl::GetItemData do in TreeCtrl case.

Is that possible? 

My aim is to put some values to the TextCtrl and extract them when I need. In wxwidgets (in a descrition of TreeCtrl SetItemData) I have noticed existence of a function "SetData". Maybe this is "my" function? However I have not found any description how to use it. Should I go different way to the target?

Could someone help me?

Waldemar

Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About