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
  Field Boolean Text Widget issue greymatter 5 1,062 08-26-2017, 04:45 PM
Last Post: greymatter
  Onkyo NR906 Reciever Connect Issue zra 6 1,385 08-11-2017, 08:49 AM
Last Post: Dean Roddey
  Tracks Ignored issue DaveB 9 1,847 04-29-2017, 10:12 AM
Last Post: DaveB
  SOLVED: Media System Config Issue agarden 3 1,139 04-29-2017, 07:25 AM
Last Post: agarden
  Minor issue with named widgets in the action editor dlmorgan999 11 2,570 04-05-2017, 04:50 PM
Last Post: dlmorgan999
  volume Knob widget issue dogman 7 1,422 03-02-2017, 10:55 AM
Last Post: Dean Roddey
  5.0.x Installation Issue greyjeep 9 1,753 02-08-2017, 11:24 AM
Last Post: Dean Roddey
  Test Receiver action in USB-UIRT? Bugman 1 720 11-14-2016, 04:31 AM
Last Post: Dean Roddey
  Having issue with VRC0P not showing up in rooms and cant see value for a lock ghurty 12 1,675 06-30-2016, 04:35 PM
Last Post: jkmonroe
  Problem with System Volume? pjgregory 10 2,675 05-13-2016, 10:53 AM
Last Post: Dean Roddey

Forum Jump:

Users browsing this thread: 1 Guest(s)