Error comes with gadget <Unknown> in file <Unknown file>. Contents are
below

Option.gs
function InitializeStoredOptions()
{
TextBoxURL.value = options.GetValue ('URL');
TextBoxRefreshRate.value = options.GetValue ('RefreshRate');
TextBoxResolution.value = options.GetValue ('Resolution');
}

function ButtonSavePressed()
{
options.putValue ('URL', TextBoxIPAddressOfCamera.value);
options.putValue ('RefreshRate', TextBoxRefreshRate.value);
options.putValue ('Resolution', ComboxBoxResolution.value);
}
function ButtonCancelPressed()
{}

Options.xml

<view height="200" width="400" oncancel="ButtonCancelPressed()"
onok="ButtonSavePressed()"
  onopen="InitializeStoredOptions()">
  <label height="16" name="label1" width="128" x="16" y="22">IP
address of camera and port
  </label>
  <label height="16" name="label2" width="93" x="18" y="51">Refresh
rate (s)
  </label>
  <edit height="16" name="TextBoxURL" width="138" x="156" y="19"
value="127.0.0.1:80"
   />
  <edit height="16" name="TextBoxRefreshRate" width="64" x="158"
y="48"
    value="5"/>
  <combobox height="100" name="ComboBoxResolution" width="137" x="160"
y="76"
    background="#FFFFFF" itemSeparator="true" selectedIndex="1"
    itemWidth="100" itemHeight="25" value="640x480">
    <item height="25" width="100">
      <label valign="middle">1280x960
      </label>
    </item>
    <item height="25" width="100" selected="true">
      <label valign="middle">640x480
      </label>
    </item>
    <item height="25" width="100">
      <label valign="middle">320x240
      </label>
    </item>
  </combobox>
  <label height="16" name="label3" width="79" x="22" y="81">Resolution
  </label>
</view>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to