Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Nwazet Touch DialogType

nwazet netduino go touch screen

  • Please log in to reply
No replies to this topic

#1 Family


    New Member

  • Members
  • Pip
  • 7 posts

Posted 26 November 2013 - 01:49 AM

I have an Nwazet Touch Screen on my Netduino Go. The screen can display a keyboard using:


var response = canvas.TouchscreenShowDialog(DialogType.Alphanumeric);


DialogType only has Alphanumeric as an option. It runs this code:


  public string TouchscreenShowDialog(DialogType dialogType) {   BasicTypeSerializer.Put(SendContext, (byte)Command.TouchscreenShowDialog);   BasicTypeSerializer.Put(SendContext, (ushort)dialogType); <---- If I change this value to 0, 1, 2 or 3 it makes no difference   Execute();   Receive();   TouchScreenDataType eventType = (TouchScreenDataType) BasicTypeDeSerializer.Get(ReceiveContext);   if (eventType != TouchScreenDataType.String) {   throw new ApplicationException("eventType");   }   return BasicTypeDeSerializer.Get(ReceiveContext, "");   }


Apart from trying to change the value of dialogType, which doesn't do anyhting, this code is too complex for me to follow. I can't see any obvious way of setting it so that it will just display a numeric keyboard. The default mode allows the shift button to scroll through lowercase -> punctuation -> numeric -> uppercase


Does anybody have any idea of how I could just show the numeric keyboard?


Kind regards,



Also tagged with one or more of these keywords: nwazet, netduino go, touch screen

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.