Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Onkyo receiver volume issue
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
Excellent - thanks Dean!
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.
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)

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
That should work well. I'll let you know how it goes. Thanks!
I got this working. Thanks for all the help Dean.
And you learned some CML in the process, which could come in handy.
Dean Roddey
Software Geek Extraordinaire

Possibly Related Threads...
Thread Author Replies Views Last Post
  A big issue with use the Elk M1 and CQC, cant use the IP dialer ghurty 1 162 08-05-2018, 08:56 AM
Last Post: Dean Roddey
  WebRiva, Android, scaling issue IVB 2 251 07-15-2018, 01:47 PM
Last Post: IVB
  Onkyo tx NR676 George M 34 1,672 07-02-2018, 05:36 AM
Last Post: George M
  WebRIVA disconnect issue dlmorgan999 11 888 05-09-2018, 09:38 AM
Last Post: Dean Roddey
  Radio RA driver issue dogman 7 724 04-22-2018, 08:33 AM
Last Post: Dean Roddey
  Field Boolean Text Widget issue greymatter 5 1,733 08-26-2017, 04:45 PM
Last Post: greymatter
  Onkyo NR906 Reciever Connect Issue zra 6 1,861 08-11-2017, 08:49 AM
Last Post: Dean Roddey
  Tracks Ignored issue DaveB 9 2,727 04-29-2017, 10:12 AM
Last Post: DaveB
  SOLVED: Media System Config Issue agarden 3 1,596 04-29-2017, 07:25 AM
Last Post: agarden
  Minor issue with named widgets in the action editor dlmorgan999 11 3,694 04-05-2017, 04:50 PM
Last Post: dlmorgan999

Forum Jump:

Users browsing this thread: 1 Guest(s)