Create Input from User?
Thursday, November 8, 2007 by peachpx | Discussion: DesktopX
Does anyone knows how to create an interface to get the input from user? Somehting like a text input or number or check box.
Can it be done with DesktopX?
Thanks,
PeachPx
Reply #2 Thursday, November 8, 2007 12:28 PM
You can alternatively create an Object layer of type Text (rather than Image) and include handling for the Object_OnChar callback method.
https://www.stardock.com/products/desktopx/documentation/scripting/object_callbacks.asp
Sometimes it may be a waste of time re-creating the wheel, but it can give you more versatility in the end. When you use InputBox, the layout can be generic and unflavorful (that is when WindowBlinds is not skinning, at least
)
-Mike
[Stardock Support]
Reply #3 Thursday, November 8, 2007 1:49 PM
I keep wanting to find a reason to do this one but i havent come up with a purpose yet
https://www.stardock.com/products/desktopx/documentation/scripting/forms.asp
Reply #4 Thursday, November 8, 2007 3:42 PM
Thank you so much for all the replies.
I am still stuck on creating an input object. I got down to use DesktopX Edit Control But the function seems to be unstable.
All I want is an input box where user can type and I am able to get input out.
The even it uses is OnKeyPress. I am not sure how to handle the Enter Key with this funciton and assign it to the variable.
Please help.
Reply #5 Thursday, November 8, 2007 3:58 PM
For the layer method I would look for Frogboy's Text Objects to start with then for more advanced check out Thomassen's Text box and Skarn's DX Bits 1 & 2.
Reply #6 Thursday, November 8, 2007 4:18 PM
What is "Thomassen's Text box and Skarn's DX Bits 1 & 2.
"?????
Reply #7 Thursday, November 8, 2007 4:41 PM
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Thursday, November 8, 2007 12:01 PM
There are many tutorial at the wiki and the DX documentation is pretty good too