• Advertisement
Sign in to follow this  

TextBox Control

This topic is 4293 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone have any ideas or suggestions on how to make a custom GUI TextBox control. Should I use a RichTextBox in the code to handle Point to CharIndex conversions, and then render using the Font and Sprite classes? Please help :)

Share this post


Link to post
Share on other sites
Advertisement
Sprites? What exactly are you trying to achieve?

Text boxes are specialized into editing text. As such they already provide the point to index handling, font display and similar related functions.

Share this post


Link to post
Share on other sites
I'm making a textbox component for my gui system. Im not using an existing component...

1) Im using sprites to actually draw my control...
2) I'll need the Font object to actually render my text

I dont really understand what you are trying to say, I'm Making my TextBox control...

I just need some ideas on how to implement for example scrolling, carrets, selection, etc...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement