Jump to content
Sign in to follow this  
pugboy

Questions GUI Edit Control

Recommended Posts

pugboy

1. Is there a way to enabled the Ctrl+V, Ctrl+C, etc. key combos for this, without creating custom functions?

2. Is there a way to read the text inside line by line, or do I have to save it, then read the file line by line?

I tried out the Rich text editor in the example scripts, but it didn't work for me...

Share this post


Link to post
Share on other sites
AdmiralAlkex

1. They already do? How did you stop it? Try the example for GUICtrlCreateEdit() and see for yourself.

2. Reading line by line sounds inefficient but there is a _GUICtrlEdit_GetLine()

Share this post


Link to post
Share on other sites
pugboy

Ok, thanks :)

Right, I had set hotkeys XD

Edited by pugboy

Share this post


Link to post
Share on other sites
AdmiralAlkex

Ctrl+C, Ctrl+V etc can't be used "automatically" by the edit control when you have it in GUISetAccelerators(), either remove it from there or build your own functions for them

Edit: it seems you noticed that right before i posted, ahwell :)

Edited by AdmiralAlkex

Share this post


Link to post
Share on other sites
pugboy

:)

Thanks for your help!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×