Help using DesktopX Forms

Friday, July 14, 2006 by c242 | Discussion: DesktopX

Forms is a new feature introduced in DesktopX 3.1. They are a sort of enhanced input box and are very similar to widget preferences.

You can use forms to prompt an input dialog to the user. Input elements are the same as the widget preference types


So does that mean filling the form preferences write to the widget preferences ? Or do I have to map them one by one ?

Example :

Before Prompting :

frm.Preference(Prefname).DefaultValue = Widget.Preference(Prefname).Value

After Prompting and "OK" :

Widget.Preference(Prefname).Value = frm.Preference(Prefname).Value

or is that unneccessary ? An example would be handy...

Also I have the form-code running in a sub.
werewolf
Reply #1 Saturday, July 15, 2006 6:48 PM
bumpiositisness   
BigDogBigFeet
Reply #2 Sunday, July 16, 2006 12:01 AM
Hi Carl[242] bump.
thomassen
Reply #3 Sunday, July 16, 2006 8:23 AM
Do you have a form with the duplicate values of the preferences? If so; why? do you need to have them located two places?
c242
Reply #4 Sunday, July 16, 2006 10:01 AM
The standard parameter form can only hold a limited ammount of preferences. So I needed a form to hold more. And it is less work than to do a form all by myself and use activex . Further on it skins nicely with the used wb.
thomassen
Reply #5 Sunday, July 16, 2006 10:09 AM
Ah. I get you now.

Yes, you have to do it the way you present it in your original post. Get the widget preferences and use them as default values for the form, prompt it, then save the changes back into the widget preferences.
c242
Reply #6 Sunday, July 16, 2006 1:02 PM
Thank You.

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!



web-wc01