Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Markup LIME Color Error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Markup LIME Color Error

 Post Reply Post Reply
Author
Message
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 516
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Topic: Markup LIME Color Error
    Posted: 29 April 2010 at 5:56am
Hello CJ,

a) Color LIME does not work for Markup.
in XTPMarkupBuilder there is no return command at LIME color.

b) wish a attribute MaxRow and DefHeight for grid.RowDefinitions
<Grid.RowDefinitions MaxRow='20' DefHeight='Auto'>
  <RowDefinition Row=10 Height='20' />
</Grid.RowDefinitions>

  Jimmy

PS: Please add
 uploads/20100429_055043_ColorName.zip
to markup sample directory.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2010 at 7:09am
Hi,
Thanks a lot. Fixed and added to MarkupPad folder.
 
btw for such Layout I replaced Grid to UniformGrid:
 
<Page xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>
<ScrollViewer>
  <UniformGrid Columns = "4" HorizontalAlignment='Center' VerticalAlignment='Center'>
    <TextBlock Foreground='RED' Background='WHITE' Margin='5,2,5,2' TextAlignment='Center' Text=' RED ' />
    <TextBlock Foreground='RED' Background='BLACK' Margin='5,2,5,2' TextAlignment='Center' Text=' RED ' />
    <TextBlock Foreground='WHITE' Background='RED' Margin='5,2,5,2' TextAlignment='Center' Text=' RED ' />
    <TextBlock Foreground='BLACK' Background='RED' Margin='5,2,5,2' TextAlignment='Center' Text=' RED ' />
    <TextBlock Foreground='TAN' Background='WHITE' Margin='5,2,5,2' TextAlignment='Center' Text=' TAN ' />
    <TextBlock Foreground='TAN' Background='BLACK' Margin='5,2,5,2' TextAlignment='Center' Text=' TAN ' />
    <TextBlock Foreground='WHITE' Background='TAN' Margin='5,2,5,2' TextAlignment='Center' Text=' TAN ' />
    <TextBlock Foreground='BLACK' Background='TAN' Margin='5,2,5,2' TextAlignment='Center' Text=' TAN ' />
...
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 516
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2010 at 7:37am
Thanks Oleg,

a) UniformGrid is not documented.

b) in the UniformGrid sample, the Polygon draw out of his rect.
Change <UniformGrid Columns="3"> to <UniformGrid Columns="2">
Than you see it.

  Jimmy

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.070 seconds.