Recent Changes - Search:

Documentation

Help

Tutorials

RoadMap

Help Docs for wiki writers:

PmWiki

edit SideBar

TEXTBOXCHANGEDEVENT

TEXT_BOX_CHANGED_EVENT

An TEXT_BOX_CHANGED_EVENT occurs when text is set in a text box by passing true to the SetText? function (see SetText? in the TextBox documentation) When a user types characters into a text box this event is always thrown for each character This can be helpful to know when a user changes text in a Text Box in a event driven game or application

sdl event structure when an TEXT_BOX_CHANGED_EVENT, event is posted

event.type = SDL_USEREVENT;
event.user.code = TEXT_BOX_CHANGED_EVENT;
event.user.data1 =pointer to the instance of the Text Box object that posted the event;
event.user.data2 = Not used;
Edit - History - Print - Recent Changes - Search
Page last modified on August 21, 2008, at 01:02 PM