Thread: Number control questions
-
December 21st, 2005, 15:18 #1
- Join Date
- Nov 2005
- Posts
- 39
Number control questions
I have a couple of questions:
1. Is there a way to cause a numbercontrol to display the lesser of two numbers? The numbers I would be evaluating are in other numbercontrols.
2. Is there a property which will set a numbercontrol to be uneditable by the player? I'd still like for them to be able to drag the number, just not edit it.
Thanks for the help,
-KyleC
-
December 21st, 2005, 17:27 #2Originally Posted by KyleC
https://www.fantasygrounds.com/forum...ead.php?t=3715
Originally Posted by KyleC
Code:<value type="readonly">
Tero Parvinen
Fantasy Grounds Guru
-
January 2nd, 2006, 22:29 #3
- Join Date
- Nov 2005
- Posts
- 39
Thanks for the help!
-KyleC
-
January 3rd, 2006, 19:19 #4
- Join Date
- Oct 2005
- Posts
- 193
I'd be interested in a way to make a number control semi-read only. It can be set via drag-n-drop, but not edited by typing or moving the mousewheel over the control.
This would come in handy on the spell-list for example. The list is able to be populated via drag-n-drop from the spell tables, and name, level, description are auto-filled in. However, since level is a number control, if you happen to have your mouse pointer near it when trying to use your mousewheel to scroll the list of spells, you end up changing the level of the spell instead of scrolling the list. Since the list is autosort by level, you actually often end up changing the level of many spells all at once, as the spell under the cursor moves to a new spot on the list and then the scroll affects the new spell under the cursor...
Anyway, what I am getting at is that it would be nice to have certain fields un-"editable" but still capable of being populated via a drag-n-drop operation. Maybe 1.06 with LUA will enable this somehow-Bumamgar
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks