Detect if any control inside a TableLayoutPanel is clicked

Hello !
Is there any way to detect if any  of the controls inside a TableLaoutPanel is clicked ?
( I mean without using Click event for each control ).
I try using MouseClick's event of TableLayoutPanel , but this doesn't fire when a control is clicked.
Thank you !

Hello !
Is there any way to detect if any  of the controls inside a TableLaoutPanel is clicked ?
( I mean without using Click event for each control ).
I try using MouseClick's event of TableLayoutPanel , but this doesn't fire when a control is clicked.
Thank you !
Assuming that you set up your TableLayoutPanel purely in code, then it's just a matter of using AddHandler and direct it to
the appropriate event handler sub. Do be sure that something (like the control's name) is unique - that's how you'll later identify it. You can also put a string (or any object, actually) in the .Tag property, but the name is the easiest.
When calling it in code, call it using the event handler sub's name and for the two parameters, just use:
SubNameHere(Nothing, Nothing)
In each event handler code you just test whether or not the sender is null (directly) or use
TryCast. If TryCast fails then it's because the sub was called in code; if it passes then test the name of the control in the casting operation
and you'll know which control was clicked.
Still lost in code, just at a little higher level.

Similar Messages

  • How can I detect if ANY popup windows are showing

    I have implemented a couple of JInternalFrames which can be closed by pressing the escape key, however, inside these frames different parts of the code will sometimes show JPopupMenus and they too should be closable by pressing the escape key.
    Thus, I need to close my frames when the user presses escape but only if no popups are showing. For instance, if the user right clicks in my frame to show a popup, then the first time he or she presses escape the popup will close, and the second time the frame itself will close.
    What I am looking for is a generic approach to this, that would make it possible for me to detect if any popup windows are currently visible and only if that is not the case I will proceed and close the frame.
    I have been giving this some thought but I have not yet come up with a good solution to this. Has anyone implemented something like this or does anyone have any suggestions? Is there a preferred way to get all popups of a frame, dialog, window or the like?
    Thanks
    Randahl

    I also ran into this issue. The previous post can be solved easily by the new event structures, but I need to check if a panel is the frontmost in windows as well.
    The FP.Is frontmost property returns if a panel is the frontmost Vi within Labview but not if Labview is the frontmost window in windows.
    I ran into this as I am making some stuff to use the scollwheel.
    As an example I have added two Vi's. Just load & run these, as long as Labview is active this works. But I would like to have something that switches the lights off when I select another Windows application.
    I (think I) cannot use the USER32.dll API as I reconstruct a reference to the 'owner vi' using a control reference.
    Anyone has some experience with this??
    Attachments:
    Vi-a.vi ‏7 KB
    Vi-b.vi ‏7 KB

  • How can I make a control inside a loop in a subVI change value when the calling VI's control changes?

    Hi.
    I think this is a pretty basic LV question, but I have not been able to find a good solution.
    I am attaching VIs that show the problem I am having, but obviously, the real application is a lot complicated, which forces me to try to do it this way.
    The issue is: I have a subVI with a Boolean control inside a loop.  When the control is true I want some action to take place.  When the subVI is run on its own, it works fine, acting properly when I set the boolean control to true via the LV FPGA interface from the host.  However, when I use it as a subVI, in which the top-level VI calls several instances of the subVI, I have the Boolean controls in the top level VI.  What is happening is that the false Boolean value with which the top-level VI starts is passed into the subVIs, and not updated, even though the control is inside the loop.
    Can any one suggest a good solution?
    Thanks,
    AlejandroZ
    Attachments:
    CallingVI.vi ‏7 KB
    subVI.vi ‏8 KB

    Hi.
    I know the example I posted might seem silly, but it was just to illustrate the problem I am having.  In reality this is the application:
    I have some LV FPGA code which uses a few FPGA IO to implement a serial link to communicate with a device.  Most of the time we are getting data from the device, so the serial link is used to send a read command, read in the data and put it into a FIFO.  However, I also wanted the VI to support sending data to the device, so I added an array control to put the data you want to send, and a boolean control to tell it you want to send it.
    Since sending and receiving data are done using the same FPGA IO, they cannot be independent operations, because they would garble each other. Therefore, in the subVI I have a loop in which I first read data if there is any to read, then check the boolean write control to see if there is data to write.
    As I mentioned, this works perfectly for talking to a single device.  However, we run into the issue of this topic when trying to replicate this for several devices.
    One easy solution is to not have the loop in the subVI, and have it in the calling VI (I am favoring this simple solution right now).  The only reason why I have not done this yet, is that the subVI has more than one loop, so I am going to have to create several subVIs.  I just posted to see if there was an even simpler solution...
    There have been some other possibly good solutions proposed here, though I am not sure if they work in LV FPGA.
    Thanks for all your responses.
    AlejandroZ

  • Usage of Apache Beehive JMS control inside Message Driven Bean

    Hi,
    I am developing a j2ee application using weblogic workshop 10.3. This application contains the following three projects.
    - J2EE Utility Project
    - Message Driven Bean Project
    - Ear Project
    In the Utility project I have created one apache beehive jms control. I am using this control inside the message driven bean application. I haven't got any issues during the development and deployment phase with the beehive control. But during runtime the apache beehive jms control is not getting instantiated and the mdb application is throwing the null pointer exception when the EJB container try to execute the methods on the control instance. I have used the declarative programming model to create the control instance inside the mdb application.
    I am using the weblogic 10.3 server for testing and I have created the 10.3 weblogic+workshop domain. By default it has the beehive libraries deployed.
    Can somebody help me out to resolve this issue?
    Regards,
    Bp

    You can get the message directly with getText() method. Following is the snippet of code.
    if (aMsg instanceof TextMessage) {
    TextMessage msg = (TextMessage) aMsg;
    String testMessage = msg.getText());
    Kishore.

  • Generating events from a control inside an array of clusters

    Hi, I have a question regarding UI events. I would like to capture a mouse down event generated in a string control inside of an array. Each element of the array is a cluster that has a Boolean control, a numeric control and a string control. When I try to add an event to handle the mouse down the only option available in the event structure is the one available for the entire array. If this is not possible to map event from the individual controls inside of the each cluster that are part of the array, could you provide with an alternate way of "knowing" when the string control is selected. The application has a touch screen without a keyboard and mouse. I need to display the touch screen graphic keyboard when the textbox is selected.
    Thanks,
    Diego F.

    I'm not sure, but I think your only option may be to do some calculations. The mouse down on the array will give the coordinates of the click in VI coords. You can get the coords and size of the cluster and the coords and size of the string using their property nodes. Then, you have to calculate whether the click was on one of the visible strings using addition, subtraction and quotients. Once you make a subVI out of this, it should be easy to use.
    You should watch out for the index display and the label, as they change the values of the coords. I'm sorry, I can't think of any easier way to do this.
    Correction - I just thought of one. If you use the KeyFocus property on the string inside the mouse down event, it seems to work. I'm not sure whether this will work when bringing the keyboard to the front, which is why I left the other suggestion in place. Here's my test (7.0)
    Try to take over the world!
    Attachments:
    key1.vi ‏29 KB

  • Get the Type (U8, U16...I64) of controls inside a Cluster

    Hi,
    I have a cluster with several controls. 
    I would like to get the type of each control inside of it. To get the class is ok. This is simple and all of them are Digital. But I need to know if they are U8, U16, U32 ...... I64. 
    Any idea how to do this?
    Paul
    Solved!
    Go to Solution.

    I got it.
    I had to Convert the Element Refernce to Digital and then to use the property BitAccurateDataSize.
    I lost several hours to find the solution and in 5 minutes after I had posted my problem on forum I solved it . 

  • Property node of a control inside of cluster inside an array

    I've created a control that has a cluster made of a Boolean, a String and a Numeric.  Then in my front panel I've created an array of these custom controls.  I would like to have access to the property of the controls inside of the cluster within the array.  ie, I want to change the color of the Boolean or make it blink, or "disable and gray" the text box.  I think I'm on the right track, or maybe I'm on the wrong path.  I've attached and example VI (testtray.vi) and the control that I'm using (UUT_Display.ctl).  Please excuse the use of a Flat Sequence Structure, I know it's poor programming practices, but I just wanted to throw something together.
    Any help would be appreciated.
    kevin
    Solved!
    Go to Solution.
    Attachments:
    testTray.vi ‏19 KB
    UUT_Display.ctl ‏5 KB

    I have enclosed a quick and dirty example of replicating the blinking in an array of clusters.  You can turn it on and off, but as we have noted, only for all of the elements.  If you were only showing one element of the array you could change properties based on which element was displayed.  You probably want to see them all.  In that case, you could use a cluster of clusters.  This may be a pain, but I would suggest that you use an array of clusters to do your manipulations.  Use Array->Cluster to convert to a cluster for display purposes.  Then you can manipulate the properties of the cluster.
    My guess is easier said than done, good luck.
    Attachments:
    Blink182.vi ‏98 KB

  • How can I find the coordinates of individual controls inside a custom control?

    I have a custom control that contains 44 smaller custom controls.
    I can get the coordinates of the 44 embedded custom controls by getting the controls[] property of the main control, but I cannot find a way of getting the coordinates of the controls inside each of these smaller custom controls.
    Is there a way of getting at the coordinates of custom controls that are nested several layers deep?
    Erik.

    For future reference and for any LabVIEW users who have older versions here are the Front Panel displays before running the VI along with the Wiring Diagram with each of the four cases for handling the various types of ClassIDs that can contain child controls.  X1, X@, Y1, and Y2 are the coordinates of the top left and bottom right corners of each control.  These coordinates can then  be used to determine which control the mouse is pointing at.
    In my own project I did further evaluation to eliminate all parent controls (controls that contain other controls) and passed along only the controls that were end-nodes (controls that contain no other controls). Also, the control's refnum was stored for later use.
    The bottom picture shows the data gathered during the execution of this VI.
    Thanks again, Mike!

  • [Solved] ALSA "This sound device does not have any controls" XDJ-R1

    Hey guys,
    I have a XDJ-R1 which includes a 24bit 44.1khz USB soundcard that can be used to record audio from the mixer.
    When I plug it in it's detected fine. However using alsamixer (or amixer) I don't see any audio controls for volume.
    If I start pulseaudio it will detect the device just fine. However, at 100% volume the audio seems rather low. I'm seeing about -24db while my mixer shows the output at around +2db. I suspect the ALSA volume is rather low. But have no way of changing it as I can't seem to see any controls!
    Here are some command outputs:
    alpaly -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: XDJR1 [PIONEER XDJ-R1], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    default:CARD=Intel
    HDA Intel, ALC269 Analog
    Default Audio Device
    sysdefault:CARD=Intel
    HDA Intel, ALC269 Analog
    Default Audio Device
    front:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    Front speakers
    surround40:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    default:CARD=XDJR1
    PIONEER XDJ-R1, USB Audio
    Default Audio Device
    sysdefault:CARD=XDJR1
    PIONEER XDJ-R1, USB Audio
    Default Audio Device
    front:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    Front speakers
    surround40:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
    amixer -c 1
    (output is empty)
    cat /proc/asound/devices
    2: [ 0- 0]: digital audio playback
    3: [ 0- 0]: digital audio capture
    4: [ 0- 0]: hardware dependent
    5: [ 0] : control
    6: [ 1- 0]: raw midi
    7: [ 1- 0]: digital audio playback
    8: [ 1- 0]: digital audio capture
    9: [ 1] : control
    33: : timer
    (with pulseaudio on) pacmd list-sources
    3 source(s) available.
    index: 2
    name: <alsa_input.usb-Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1-00-XDJR1.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9049
    volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
    balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max rewind: 0 KiB
    sample spec: s24le 2ch 44100Hz
    channel map: front-left,front-right
    Stereo
    used by: 0
    linked by: 1
    fixed latency: 99.95 ms
    card: 1 <alsa_card.usb-Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1-00-XDJR1>
    module: 5
    properties:
    alsa.resolution_bits = "24"
    device.api = "alsa"
    device.class = "sound"
    alsa.class = "generic"
    alsa.subclass = "generic-mix"
    alsa.name = "USB Audio"
    alsa.id = "USB Audio"
    alsa.subdevice = "0"
    alsa.subdevice_name = "subdevice #0"
    alsa.device = "0"
    alsa.card = "1"
    alsa.card_name = "PIONEER XDJ-R1"
    alsa.long_card_name = "Pioneer PIONEER XDJ-R1 at usb-0000:00:1d.1-2, full speed"
    alsa.driver_name = "snd_usb_audio"
    device.bus_path = "pci-0000:00:1d.1-usb-0:2:1.0"
    sysfs.path = "/devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2:1.0/sound/card1"
    udev.id = "usb-Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1-00-XDJR1"
    device.bus = "usb"
    device.vendor.id = "08e4"
    device.vendor.name = "Pioneer Corp."
    device.product.id = "0170"
    device.product.name = "PIONEER XDJ-R1"
    device.serial = "Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1"
    device.string = "front:1"
    device.buffering.buffer_size = "26448"
    device.buffering.fragment_size = "6612"
    device.access_mode = "mmap"
    device.profile.name = "analog-stereo"
    device.profile.description = "Analog Stereo"
    device.description = "PIONEER XDJ-R1 Analog Stereo"
    alsa.mixer_name = "USB Mixer"
    alsa.components = "USB08e4:0170"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card-usb"
    ports:
    analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
    properties:
    active port: <analog-input>
    What might I be missing? Why can PA figure the device out but ALSA can't?
    Last edited by EvanPurkhiser (2014-04-16 09:27:13)

    I'm interested in recording from the mixer over USB.
    The device also supports playback into the mixer, but I assume this is designed for use in conjunction with using the device as a MIDI-Controller, which I don't have any intentions of doing.
    What I've been doing to check the levels of the device is to play a track through the device (making sure that the VU meter for the channel is peaking at around 0db), record using `ffmpeg -f pulse -i 1 recording.wav` and then running `ffmpeg -i recording.wav -af "volumedetect" -f null /dev/null`
    Which looks something like this:
    [Parsed_volumedetect_0 @ 0x1f0eb80] n_samples: 10265206
    [Parsed_volumedetect_0 @ 0x1f0eb80] mean_volume: -26.1 dB
    [Parsed_volumedetect_0 @ 0x1f0eb80] max_volume: -12.0 dB
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_12db: 21
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_13db: 238
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_14db: 1619
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_15db: 7703
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_16db: 29370
    I actually _can_ record directly from alsa, but I have to tell it the format, rate, and channels of the device.
    [netbook/scratch/]> arecord -D hw:1 test.wav
    Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
    arecord: set_params:1233: Sample format non available
    Available formats:
    - S24_3LE
    [netbook/scratch/]> arecord -D hw:1 -f S24_3LE test.wav
    Recording WAVE 'test.wav' : Signed 24 bit Little Endian in 3bytes, Rate 8000 Hz, Mono
    arecord: set_params:1239: Channels count non available
    [netbook/scratch/]> arecord -D hw:1 -f S24_3LE -c 2 test.wav
    Recording WAVE 'test.wav' : Signed 24 bit Little Endian in 3bytes, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 44100Hz)
    please, try the plug plugin
    [netbook/scratch/]> arecord -D hw:1 -f S24_3LE -c 2 -r 44100 test.wav
    Recording WAVE 'test.wav' : Signed 24 bit Little Endian in 3bytes, Rate 44100 Hz, Stereo
    The volume is still just as low as recording with PA though

  • TABbing between controls inside a panel to controls outside a Panel

    Hi,
    I have a C# winform with few controls inside a Panel control and few outside it.The TABbing order traverse from controls inside a panel to controls outside a panel.
    Do we have any way to accomplish this.
    Thanks,
    sami

    If you set the TabIndex of the Panel control itself to for example 77, the outside control with TabIndex 78 will be focused when you tab out from the control within the Panel with the highest TabIndex. Also make sure that you set the Tabstop property
    of the Panel to true.
    So basically the controls inside the Panel have their own TabIndex series (starting from 0) and the Panel itself is part of the Form's (or parent control's) TabIndex series.
    It is just a matter of setting the values of the TabIndex properties correctly (and setting the Tabstop property to true for the Panel control).
    The other option is to replace the Panel with a UserControl.
    Please remember to close your threads by marking helpful as answer and then start a new thread if you have a new question.

  • Detection of the control Key down when application start

    I need to detect if the control key is down when my program start. This program was created with CVI 5.0. Would you tell me how to do it under WIN 9x et NT/2000. Regards

    Normally, for any other key you could just set up a callback function for your panel and set up a case statement for the EVENT_KEYPRESS value for the event type. Or do the same on the initial control that has focus. However, this does not work for the control key, because it does not generate an EVENT_KEYPRESS. Therefore, giving you no option through the normal CVI user interface capabilities.
    Now, you might be able to detect the keypress through windows messaging if you use the function InstallWinMsgCallback found in the Programmer's Toolbox library (toolbox.fp in cvi\toolslib\toolbox) and set up a callback function to look for the message that the control key generates for a window. Other than that, you might have to use some Windows SDK functions, that wait for a keypr
    ess to happen.
    Jason Foster
    Applications Engineer
    National Instruments
    www.ni.com/ask

  • Ios7 bookamrking web application to home screen via Safari crashes after login and when we try to open any link inside. Can anyone please tell me if there is any scheduled fix for this bug in safari?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

  • I can VPN into my work but can't connect to any devices inside that network

    I authenticate fine and get an address but I cant connect to any devices inside my work.  I am connecting to Cisco Lan controllers, routers, and switches.
    I thought it was a routing problem but I can connect with my iphone and open the webpage for my lan controllers and I even tested it on a pc laptop with Windows XP and it works fine.  I have a 2012 Macbook pro.  I prefer to use my Macbook all the time.  I haven't used my Windows laptop until today since I got the Mac.  Do you think I have the V-Word?

    Please read this whole message before doing anything. This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it. The purpose of this test is to determine whether your problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows: 
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click  Log in.
     *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • My iphone 4 is not being detected by any of my computers and not charging when connected to any computer.  It will, however, charge to the car or wall.  The only change that I can think of is that I downloaded a podcast from itunes directly from my phone.

    My iphone 4 is not being detected by any of my computers and not charging when connected to any computer.  It will, however, charge to the car or wall.  The only change that I can think of is that I downloaded a podcast from itunes directly from my phone.  I've since deleted this podcast with no luck.  I've restarted both the phone and the computer, still no luck.  One computer is running Vista and the other Windows 7, both have the latest Itunes Update.  Anyone have a fix for this?

    You clearly did not notice that you have joined a USER TO USER COMMUNITY FORUM
    This is NOT Apple ,Apple do not read nor do they  therefore respond
    So if you would like to wind your neck in ........................
    try a reset of iPhone and then a restore,best, as new and if it then functions correctly try restoring with your backup

  • Since updating my iTunes I no longer have any controls.  iTune covers the entire desktop and I cannot add from my files.  Can anyone please advise me.

    Since updating my iTunes I no longer have any controls.  iTune covers the entire desktop and I cannot add from my files.  Prior to updating I had a perfectly good iTunes which would allow me to stories for including on a iPod. 
    Can anyone please advise me.

    From my post on what seems like the same issue (found here: https://discussions.apple.com/message/21087892#21087892)
    Take the following steps:
    1) while connected to wifi, toggle off then back on the Show All Music and iTunes Match options shown in my original post. Important: I did this step before, but wasn't connected to wifi, and my music disappeared. Subsequently, I connected to wifi and turned off and then back on those options and everything came back though it was grayed out and my only option was to download music.
    2) To get streaming over cellular back, go into Settings>General>Cellular and scroll down to the "Use Cellular Data for:" options and make sure the iTunes option is set to 'On'
    The above steps will bring back the streaming capability which seemed to go away when you update to 6.1. It didn't ACTUALLY go away, but something about the update toggled off the iTunes option in step 2 above.
    I did a final test by turning off wifi, opening Music app and selecting a song. It played successfully without downloading! Crossing my fingers, but I think I'm good to go!
    Hope this helps!

Maybe you are looking for