The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > StreetDeck > DigitalMods (Scripts / API)

Reply
 
LinkBack Thread Tools Display Modes
Old 07-19-2007, 12:43 PM   #1
Low Bitrate
 
Join Date: Apr 2007
Location: San Dimas, Cali
Posts: 76
Changing Overlay Visible State

I am using this code in my module to make my overlay visible or not:

Code:
If SideBarList.IsItemChecked(0) Then Set obj = module.GetScriptedOverlay("IISpeedVolumeOverlay") obj.Visible = true Else Set obj = module.GetScriptedOverlay("IISpeedVolumeOverlay") obj.Visible = false End If

I keep getting an "Object required" error. What am I doing wrong here? Do I need the path to the overlay in there also?

I also tried this code in my overlay:

Code:
If IsEnabled <> 0 Then Overlay.Visible = true Else Overlay.Visible = false End If

This doesn't seem to do anything. Of course, I can use Label.Caption = "" for all of the overlay, but it doesn't seem like the correct way to do it.

Another thing I would like to do is disable and enable the overlay timer from the module so when the overlay is disabled there is no CPU use. Any way to do this?

Thanks for you help on this stuff. My Speed Volume digitalmod is almost ready to go.
IandI is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
StreetDeck Functions god_of_cpu DigitalMods (Scripts / API) 22 01-15-2008 10:44 PM
Question About Dynamic Overlay Text unreal32 DigitalMods (Scripts / API) 1 09-18-2006 04:13 PM
StreetDeck Panel (Windowing) System god_of_cpu DigitalMods (Scripts / API) 0 01-21-2006 10:54 AM
What's the difference between Hibernate and Standby? BriCubz General MP3Car Discussion 8 08-17-2004 09:32 PM
touchscreen overlay repair? Jarrod Input Devices 3 01-29-2003 01:41 PM


All times are GMT -5. The time now is 09:14 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics