Skip to Content
author's profile photo Former Member
Former Member

Text object visible=0 always

Hi All

PB 12.5.1 Classic & MS SQL Server 2008 R2

I am creating dynamic Datawindow and add text object to it using create but always visible=0 and I modified by dw.modify() to 1 but still gives 0

the style of datawindow is label ..

Thanks

finestraco

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 05, 2013 at 01:10 PM

    Do you use visible='1' in your create syntax?

    For the Modify, try using

    string ls_ret
    ls_ret=dw_Modify("controlname.visible='1'")

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi finestraco,

      What if you go ahead and create the text object as visible but without any text. This gives the appearance of being invisible. You can come back at run time and add the text thus making it visible.

      Just a thought.

      Mark

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.