Thank you again Stephan. Now it´s doing what I want. Just for curiosity and future needs: is there any reference where IsVisible property is specified for textfields? Did not find anything in the Developer's Guide (v1.1 from December 2003) and in the api specification (sdk v1.1). In the Developer's Guide I found IsVisible propertie only for other components, like Spreadsheets and Layers.
On 8/30/05, Stephan Wunderlich - Sun Germany - ham02 - Hamburg <[EMAIL PROTECTED]> wrote: > Hi Fabricio, > > > Worked just fine. > > Thank you, Stephan. > > > > But, in my application, I need to hide a textfield that has a given > > name. How would be the code for that? > > When you have a Enumeration of your TextFields you can query each of > them for an XDependentTextField. UserFields are those and then you can > call the method getTextFieldMaster() at this and get the property name > from the returned PropertySet. > If the TextFieldMaster has the name you search you can set the property > "IsVisible" at the corresponding TexField. > > Hope that helps > > Regards > > Stephan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]