web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Rectangle control in visual studio 2008(Nav 6.0 SP1)

(0) ShareShare
ReportReport
Posted on by 1,751

i have to text box inside a rectangle ,these two text box visibility is based on the some condition .when the visibility of the hidden property of these text box is true ,my rectangle rectangle shrinks .how can i set the rectange size fix ?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    did you check cangrow property for text box?

  • javedakhtar Profile Picture
    1,751 on at

    i set it to false

    both can grow and can shrink

  • RockwithNav Profile Picture
    8,646 Super User 2025 Season 2 on at

    Hey Javed,

    Is there some visibility running on Rectangle as well or else Is Rectangle too somewhere inside list which is hampering this.

    Thanks

    Blog -rockwithnav.wordpress.com

  • javedakhtar Profile Picture
    1,751 on at

    Visibility is only running in text box and the rectangle is not in the list

  • keoma Profile Picture
    32,729 on at

    Create an extra rectangle outside the textbox.

  • javedakhtar Profile Picture
    1,751 on at

    I didnt get it what you mean by this Jonathan

  • keoma Profile Picture
    32,729 on at

    how do you create the rectangle? setting the borders of the textbox or is it an own graphics control outside the textbox (my suggestion) ? if you use the borders of the textbox, then it it shrinked or is invisible, when the textbox control property hidden is set to true.

  • Suggested answer
    HILBE Profile Picture
    300 on at

    Hey Javed,

    lets try somthing different. Instead of using the hidden property of the textboxes, try to integrate your hidden Expression in the normal Expression:

    =iif(Fields!Test.Value = False, Fields!ToShow.Value, "");

    In this case your TextBox will be empty and the space of the rectangle is still reserved. There is no shrinking! Try this and give us a comment, if this works!

    best regards

    Robert

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans