Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Onkyo receiver volume issue
#21
You can get it the same way that InitializeFields() gets it.

// See what receiver model the user selected
receiverModel := p_PromptVals.GetValue("ReceiverModel", "Selected");
Dean Roddey
Software Geek Extraordinaire
Reply
#22
Excellent - thanks Dean!
Reply
#23
p_PromptVals is passed as a parameter to InitializeFields - presumably from your core code. Unless I'm misunderstanding something, p_PromptVals isn't available in the CardFldChanged method.
Reply
#24
Oh, OK, he's passing it to InitailizeFields. What I'd do if I were you is to add a boolean member, maybe m_MyReceiver. Then in InitializeSocket(), do this:

m_MyReceiver := p_PromptVals.GetValue("ReceiverModel", "Selected") = "whatever";

where whatever is your model. Then you can just do:

If (m_MyReceiver)
EndIf;

any time you need to do something specific to your receiver. OR, you could just store the model as a member, and use that. InitializeFields could use that as well.
Dean Roddey
Software Geek Extraordinaire
Reply
#25
That should work well. I'll let you know how it goes. Thanks!
Reply
#26
I got this working. Thanks for all the help Dean.
Reply
#27
And you learned some CML in the process, which could come in handy.
Dean Roddey
Software Geek Extraordinaire
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Onkyo tx NR676 George M 26 408 06-04-2018, 09:35 AM
Last Post: George M
  WebRIVA disconnect issue dlmorgan999 11 469 05-09-2018, 09:38 AM
Last Post: Dean Roddey
  Radio RA driver issue dogman 7 389 04-22-2018, 08:33 AM
Last Post: Dean Roddey
  Field Boolean Text Widget issue greymatter 5 1,374 08-26-2017, 04:45 PM
Last Post: greymatter
  Onkyo NR906 Reciever Connect Issue zra 6 1,640 08-11-2017, 08:49 AM
Last Post: Dean Roddey
  Tracks Ignored issue DaveB 9 2,291 04-29-2017, 10:12 AM
Last Post: DaveB
  SOLVED: Media System Config Issue agarden 3 1,367 04-29-2017, 07:25 AM
Last Post: agarden
  Minor issue with named widgets in the action editor dlmorgan999 11 3,036 04-05-2017, 04:50 PM
Last Post: dlmorgan999
  volume Knob widget issue dogman 7 1,666 03-02-2017, 10:55 AM
Last Post: Dean Roddey
  5.0.x Installation Issue greyjeep 9 2,143 02-08-2017, 11:24 AM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)