ChrW accepts Unicode values, and everything worked like a charm when I used that. Great! It was in zip format?? Yes, if I right click and use "Save
yeldnats
BTW, I got your object to work... I'm such a Newb... I didn't realize that I could just change the .zip to .dxpack and load it!
Hmmm... some KeyDown keys match, some do not. Although some of the keys aren't completely identical, it's still odd - like your "219" value was from " ` / " and my "219" value is from " { [ "... I don't get it Well, the biggest thing I've learned from this is that I should use OnChar function like you did in your text box object and not OnKeyDown/Up functions
Here's what my "keys" are... Link
I think you are on to something - maybe DXscript has a particular keyboard layout in mind? I'm using English US, so I don't have a "Û" (character 219 on the ANSI character chart (thanks for the link))... maybe there is a keyboard layout that has the "Û" character in the position where I have the "[" character? Seems wierd though, even in unicode I should still get 91 (or at leat 0x5B)for "[". I could not get your new object to work f
Sorry - just read my post and realized I should explain this a liitle more. The white number that appears in the center of the widget is the ascii code passed to the OnKeyPress function in vbScript. Yellow numbers will appear above and below the white number for keys that can produce multiple characters - the top number is what would be expected for the shift+key press (I know the OnKeyPress won't support the key combinations), and the bottom number is
Wow - that's a lot of work thomassen! Good job! I was going that route and found a lot of odd behavior in the "key" value I get when using OnKeyPress... especially with keys like "[" and ";", etc. I wrote a little widget that displays the "key" code as well as the codes for keys that have multiple characters (with shift key depressed) to help me with my other widget. Try it out and observe what you get when typing the keys I mentioned above. I
Hello, I'm a newbie to DesktopX, and really diggin' it! I'm making my first Widget, and have an issue. I am using the DesktopX Edit Control for a text box and would like a transparent background. Does this control support a transparent background? If not, can anyone suggest an ActiveX textbox control that does? I tried using a Layer object that is "Text" type and changing it's text using some OnKeyDown code, but I loose a lot of text box funct