Main Site Documentation

Pink textblock outline


#1

See screenshot… how can I get rid of the pink outline on all the textblocks?

Here’e the glide xml shown in the screeshot…

<Glide Version="1.0.1">
  <Window Name="winMain" Width="480" Height="272" BackColor="000000">
    <TextBlock Name="lblMainTitle" X="0" Y="8" Width="480" Height="32" Alpha="255" Text="Network Web Server/Analyzer" TextAlign="Center" TextVerticalAlign="Top" Font="8" FontColor="FFFFFF" BackColor="000000" ShowBackColor="False"/>
    <TextBlock Name="instance6745" X="30" Y="60" Width="100" Height="25" Alpha="255" Text="Network / IP:" TextAlign="Left" TextVerticalAlign="Top" Font="4" FontColor="FFFFFF" BackColor="000000" ShowBackColor="False"/>
    <TextBlock Name="lblNetworkAddress" X="132" Y="60" Width="122" Height="25" Alpha="255" Text="000.000.000.000" TextAlign="Left" TextVerticalAlign="Top" Font="4" FontColor="FFFFFF" BackColor="000000" ShowBackColor="False"/>
    <TextBlock Name="instance6561" X="30" Y="82" Width="100" Height="25" Alpha="255" Text="Gateway:" TextAlign="Left" TextVerticalAlign="Top" Font="4" FontColor="FFFFFF" BackColor="000000" ShowBackColor="False"/>
    <TextBlock Name="lblGateway" X="132" Y="82" Width="122" Height="25" Alpha="255" Text="000.000.000.000" TextAlign="Left" TextVerticalAlign="Top" Font="4" FontColor="FFFFFF" BackColor="000000" ShowBackColor="False"/>
    <Button Name="btnSettings" X="400" Y="212" Width="80" Height="60" Alpha="255" Text="Settings" Font="4" FontColor="000000" DisabledFontColor="808080" TintColor="000000" TintAmount="0"/>
    <Button Name="btnTest" X="0" Y="212" Width="80" Height="60" Alpha="255" Text="Test" Font="4" FontColor="000000" DisabledFontColor="808080" TintColor="000000" TintAmount="0"/>
  </Window>
</Glide>

(using cobra OEM box with 4.3" touchscreen)


#2

You’re using version 1.0.1. Glide is currently at 1.0.3.
Get the latest version: http://www.ghielectronics.com/glide/


#3

Updated with the most recent glide code, changed the version within the window xml and got the following pre-runtime error…

[quote]An unhandled exception of type ‘System.ArgumentException’ occurred in GHIElectronics.NETMF.Glide.dll

Additional information: XML (V 1.0.3) is incompatible with Glide V 1.0.1.[/quote]

I had therefore changed the version within the window xml to 1.0.1, but I get those nasty pink outline around the testblocks.

running glide v6856…


#4

Have you updated the glide dll in your prereferences to the 1.0.3 ?
It seems you only changed the versions number in the xml file.

cu
Andreas


#5

I can’t find where else to change the version number… I checked the reference (dll) properties, but the version was dithered and not editable. Where/how should it be changed?

Thanks!


#6

I’m not a Glide guy, but… don’t you need to replace the actual DLL with the new version DLL. Delete the old one, drop in the new one.

(As an Aside, for Josh, this post seems to weird-out the “unread” list and leave the older posts with bold titles, seems like a HTML /B isnt being put down, maybe it’s related to the three dots in the subject line? )


#7

I did replace the previous dll with the new one… in all my prior experience this has been adequate for any simple file updates not requiring an actual installation. Is there a specific process to follow to ensure that the updated dll is accepted?

Thanks!


#8

After updating the Glide DLL, remove and re-add the Glide DLL reference in your project.


#9

Thanks Josh… that was it!


#10

One thing to note:

That version is really good to help with alignment and placement of objects when hand crafting objects from code rather than XML, would be great if it was a feature to turn OFF/ON

Ian