NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 14 15 16 17 18 … 93 Next »
@controlSelected

 
  • 0 Vote(s) - 0 Average
@controlSelected
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#1
2011-07-10, 05:29 PM
Sub in Search you use a @controlSelected variable. If I wanted something similar in MB4 would have I just have to set .Selected to true/false and then this variable becomes available to skinners?

Also can two controls be selected? I have a Search text box that might also be selected.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2011-07-10, 05:36 PM
mvallevand Wrote:Sub in Search you use a @controlSelected variable. If I wanted something similar in MB4 would have I just have to set .Selected to true/false and then this variable becomes available to skinners?
Yes. It automatically adds @controlSelected=true/false and @controlNotSelected=true/false, depending on how .Selected is set.

Quote:Also can two controls be selected? I have a Search text box that might also be selected.
Yes, more than one control can be selected. Its up to you to make sure Selected appropriately on your controls - its just a simple true/false flag on the object, and it has no visibility of other controls that might exist, or how they have their flag set.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#3
2011-07-10, 06:48 PM
Thanks sub, that looks simple enough I'll see what NorthPole does with it.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode