GLIDE exception using code from the online designer

Hi folks. Just me and my silly questions!

Using Visual Studio 2013 Pro
Using EMX Spider running Loader and Firmware 4.3.7.10
Using GHI Electronics NETMF SDK 2015 R1 Pre-Release 3
Using NETMF 4.3
Using display T35

GLIDE Exception when using the following.


Code as received by the online GLIDE designer:

<Glide Version="1.0.7">
  <Window Name="window" Width="320" Height="240" BackColor="FFFFFF">
    <Slider Name="slider8" X="50" Y="24.8" Width="200" Height="30" Alpha="255" Direction="horizontal" SnapInterval="10" TickInterval="10" TickColor="000000" KnobSize="20" Minimum="0" Maximum="100" Value="0"/>
    <Slider Name="slider16" X="50" Y="85.8" Width="200" Height="30" Alpha="255" Direction="horizontal" SnapInterval="16" TickInterval="16" TickColor="000000" KnobSize="20" Minimum="0" Maximum="16" Value="0"/>
    <Button Name="btnEnable" X="50" Y="136" Width="60" Height="32" Alpha="255" Text="Enable" Font="4" FontColor="000000" DisabledFontColor="808080" TintColor="000000" TintAmount="0"/>
    <Button Name="btnDisable" X="131.2" Y="136" Width="60" Height="32" Alpha="255" Text="Disable" Font="4" FontColor="000000" DisabledFontColor="808080" TintColor="000000" TintAmount="0"/>
  </Window>
</Glide>

private static Window _mainWindow;
_mainWindow = GlideLoader.LoadWindow(Resources.GetString(Resources.StringResources.Window1)); //<< Exception here


Exception received:

Using mainboard GHI Electronics FEZ Spider version 1.0
#### Exception System.Exception - 0x00000000 (1) ####
#### Message:
#### System.Convert::ToInt64 [IP: 00af] ####
#### System.Convert::ToInt32 [IP: 0011] ####
#### GHI.Glide.GlideLoader::LoadSlider [IP: 0039] ####
#### GHI.Glide.GlideLoader::GetComponent [IP: 009b] ####
#### GHI.Glide.GlideLoader::LoadWindow [IP: 0059] ####
#### GHI.Glide.GlideLoader::LoadWindow [IP: 000a] ####
#### SpiderYSocketAddressing.Program::ProgramStarted [IP: 000c] ####
#### SpiderYSocketAddressing.Program::Main [IP: 0015] ####
A first chance exception of type ‘System.Exception’ occurred in mscorlib.dll
An unhandled exception of type ‘System.Exception’ occurred in mscorlib.dll

System.Convert::ToInt64 [IP: 00af]

System.Convert::ToInt32 [IP: 0011]

I have never thought about it before so I am not sure if GLIDE has given me numbers with a decimal point previously.
Y=“24.8” change to Y=“25”
Y=“85.8” change to Y=“86”
X=“131.2” change to X=“131”
If I change X/Y that has a decimal to a whole number the exception goes away.

OK… What is my little brain missing?
Was I lucky in the past and always positioned exactally at a whole number?

@ andre.m -

glide only can use integer numbers and never numbers with decimal points… Yes, I agree.
Then why does GLIDE designer give/allow numbers that are not valid?

My point was that I have used GLIDE often and never before ran into this.

So I guess I was just lucky getting whole numbers…

@ andre.m -

I made it yesterday afternoon.

I will go back and see if I get the same or with whole numbers. Thanks for the reply.

@ willgeorge -

Update: If anyone cares…

I updated my Flash Player and now I only get integer numbers using the online GLIDE designer.

Adobe Flash Player 19 NPAPI Version 10.0.0.207

@ andre.m -

I am using Windows 10 Pro.
I mostly (but not always) use Firefox or Microsoft Edge.

for the ugly flash player? Not sure I understand. I really have no use for Flash in general but need Flash for GLIDE.

If you have a better way I am willing to try it…

@ andre.m -

Thanks… Will uninstall Flash and hand code. What I usually do anyway…