Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 09-09-2007, 05:44 PM   #1
Low Bitrate
 
Join Date: Sep 2006
Location: Sydney
Posts: 101
Deadeye is an unknown quantity at this point
Can we use the inbuilt overlays?

Can you use the inbuilt overlays in your DigitalMod?

I want to have a screen where the user enters a name.
I would like to use the CKeyPadLettersOverlay in my application and tie the events to my textbox.

Is this do-a-ble or do I need to make my own keyboard?
I cannot find anywhere in the API where I can get a refrence to it. If I attempt to make an overlay with the same name then I get the good old “Object reference not set to an instance of an object“

Please help.
__________________
www.ssw.com.au
Deadeye is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 09-09-2007, 06:44 PM   #2
Newbie
 
Join Date: Jul 2007
Posts: 15
jcrumpton is an unknown quantity at this point
nope. You have to make your own.
If your doing the module as a .net addin, I have a .net control that handles it for you.
jcrumpton is offline   Reply With Quote
Old 09-09-2007, 07:38 PM   #3
Low Bitrate
 
Join Date: Sep 2006
Location: Sydney
Posts: 101
Deadeye is an unknown quantity at this point
Yes i am.

can yoou please send it to me?
__________________
www.ssw.com.au
Deadeye is offline   Reply With Quote
Old 09-11-2007, 08:30 AM   #4
Newbie
 
Join Date: Jul 2007
Posts: 15
jcrumpton is an unknown quantity at this point
http://cid-f53415ec5442c587.skydrive...SDKeyBoard.dll

in your addon, create an overlay, then you pass the overlay to the keypad object... like below.

Private overLayKeyPad As StreetDeck.ScriptOverlay
Private KeyPad As StreetDeck.SDKeyPad

overLayKeyPad = app.CreateOverlay("FillUpKeyPadOverLay")
overLayKeyPad.Hide()

KeyPad = New StreetDeck.SDKeyPad("FillUpKeyPad", overLayKeyPad, 530, 50)

AddHandler KeyPad.KeyClicked, AddressOf keyclicked

it only returns 1 event (keyclicked). each time a key is clicked, the event is raised. The event returns the entire text string, not just the single character that was clicked, so there is no need to concatenate the values...just set the display object = the returned value. It should look something like this...
Sub keyclicked(ByVal CurrentText As String)
EditingTextBox.Value = CurrentText
End Sub

you can also specify keyboard or numpad views
keypad.showkeyboard()
KeyPad.ShowNumPad()
and enable/disable either view
KeyPad.AllowKeys = False
keypad.allownums = false
jcrumpton is offline   Reply With Quote
Old 09-11-2007, 04:46 PM   #5
Low Bitrate
 
Join Date: Sep 2006
Location: Sydney
Posts: 101
Deadeye is an unknown quantity at this point
Ausome

Looks neet and tight too.

Thanks,
__________________
www.ssw.com.au
Deadeye is offline   Reply With Quote
Old 09-12-2007, 12:35 AM   #6
Low Bitrate
 
Join Date: Sep 2006
Location: Sydney
Posts: 101
Deadeye is an unknown quantity at this point
How do i make a textbox?

I see the enum GeoShapeType.geoTextBox
But dont see how to make it. Am I still making a panel or is it something else?
__________________
www.ssw.com.au
Deadeye is offline   Reply With Quote
Old 09-12-2007, 08:13 AM   #7
Newbie
 
Join Date: Jul 2007
Posts: 15
jcrumpton is an unknown quantity at this point
http://cid-f53415ec5442c587.skydrive...SDControls.dll

i made that one also. it's not complete but it is functional

create a module or an overlay, then add the control

txtOdometer = New StreetDeck.SDTextBox("txtboxname", parentoverlay, 50, 10)
txtOdometer.Caption = "Odometer"
txtOdometer.Value = "0"
txtOdometer.descrption = "test description"

that dll also has a combo box control. works mstly the same as the textbox

cboDistanceUnits = New StreetDeck.SDComboBox("cboDistanceUnits", SettingsOveraly, 250, 260)
cboDistanceUnits.Caption = "Distance Units"
cboDistanceUnits.AddItem("Miles")
cboDistanceUnits.AddItem("Kilometers")

there are screenshots of both in this thread
http://www.mp3car.com/vbulletin/digi...racking-2.html

Last edited by jcrumpton; 09-12-2007 at 08:15 AM.
jcrumpton is offline   Reply With Quote
Old 09-12-2007, 06:06 PM   #8
Low Bitrate
 
Join Date: Sep 2006
Location: Sydney
Posts: 101
Deadeye is an unknown quantity at this point
Thanks again.
Pitty SD doesnt expose these to developers. They have them already anyway.
Dont like making things like that because they can change then it will not look the same as the rest of the application.
__________________
www.ssw.com.au
Deadeye is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 09-14-2007, 09:43 AM   #9
Newbie
 
Join Date: Jul 2007
Posts: 15
jcrumpton is an unknown quantity at this point
yea, I spent days trying to figure out how to use the combo boxes that SD uses in the config screens. c'mon guys... just expose all of the controls.

These should continue to look fine, they use button class images, so if you reskin, they should match.
jcrumpton is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
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 On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The StreetDeck Windowing System (Panels, Modules, Overlays, and MediaManagers) Riptide9 Wiki Discussion Threads 0 03-26-2007 01:23 PM
ELO Touch Overlays .. 10.5" .. reuseable? AWDNUT LCD/Display 11 09-03-2005 09:52 PM
Laptop Touchscreen Overlays ukchris LCD/Display 0 02-26-2004 03:30 PM
touch overlays (i may be able to get a deal) please read W6-Ryan LCD/Display 9 01-17-2003 10:36 AM
Looking for suggestion on what company for touchscreen overlays rbarr110 LCD/Display 1 09-26-2002 04:46 PM



All times are GMT -5. The time now is 05:33 AM.


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