Skip to main content
gamedev.net
🔒 Locked

Input Box?

Started by Kison 5 replies 500+ views
Original Post
Kison
Kison
Sorry if this is the wrong forum... What must one do to create one of those simple text boxes that you see in many software programs, where there is an OK button you hit to tell the program to use the data? What about those buttons as well? Can't seem to find anywhere that really explains that.
SiCrane
SiCrane
Those are probably just dialog boxes. In most cases you need to create a dialog box by hand for whatever input you want, though some windowing toolkits supply pre-made boxes to accept simple input. Ex: VCL has the InputQuery() function, wxWindows has wxGetTextFromUser() and Qt has QInputDialog::getText().
Kison
Kison
Let me explain better... Really, what I'd need, is to make a Window where I can edit parts of a game... Now I can code in loading and saving what I need to just fine, but I'm not too familiar with text boxes where the user could enter different data...

Kind of like a web page form. You insert the data, hit submit, and it saves it... Would also need to somehow load it too, I guess.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.