Jump to content
Lordeath19

Select-able controls in dialog/display

Recommended Posts

I am making a manual artillery computer with a dialog, the user enters the coordinates of the target using RscEdit fields, and then presses a "confirm" button.

 

The math is then done and an output is displayed in an RscText box.

 

I want to change the RscText to have the user be able to select the output inside the RscText and copy it (for later use if he wants), like what is done in the debug console's output box.

 

The problem is that i can either use RscText, and the user is able to see the output, but can't select it

Or using RscEdit where the user can see and copy it, but can accidentally delete/modify it and making the result completely off.

 

Any help will be much appreciated!

Share this post


Link to post
Share on other sites

*Advertisement * My Milsim Tools Mod includes such a feature (highly configurable) https://steamcommunity.com/sharedfiles/filedetails/?id=1196049538

where you can require artillery fire by entering grid coordinates *End Advertisement * ;-)
Also what I did is store the last entered coordinates in a variable and restore them when you enter the interface as text in the rscEdit. Source files can be found here https://github.com/MisterHLunaticwraith/MRHMilsimTools/tree/master/Addons/MRHFireSupport/Functions if it helps

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×