Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dilbertian

Pages: [1]
1
NGUI 3 Support / UIInput Cursor Selection Question
« on: October 14, 2012, 07:51:37 PM »
Currently when I click on a populated UIInput field, it automatically places the cursor at the end of the text string.

Is there a way that if I type in a UIInput, that I can either place the cursor between two characters to edit or select some of the characters within the UIInput field and then either hit delete or just start typing to delete and then replace them?

Perhaps related, I also saw a previous post from mid June that you were going to implement the ability to allow the left/right arrow to scroll through UIInput text but haven't seen any follow-up that the fix was completed, nor could I confirm it from my testing.

-Tim

2
NGUI 3 Support / Re: UIPopuplist question
« on: September 25, 2012, 08:01:30 PM »
The .items.Add() worked fine but the .RemoveAll() appears to require a predicate and not sure what to pass it.  I will check the manual and see what it recommends.

Thanks again!

-Tim

3
NGUI 3 Support / UIPopuplist question
« on: September 23, 2012, 08:15:00 PM »
I have a dialog in my game UI that allows a player to select between different species.  I would like to dynamically populate the UIPopuplist.Options (via my C# code) based on that species selection, but there does not appear to be an exposed method or property that I can find.

Also, at one point I am trying to disable the UIPopuplist if only a single option is available, but its .enabled property does not appear to do anything to the behavior although I can see via the editor that it is clearly unchecking the enabled checkbox on the UIPopuplist script component.  I would expect if I set it's .enabled=false, the drop-down would change to a disabled color and the dropdown would cease to respond.

Any help would be appreciated!

Pages: [1]