>Hi everybody,
>
>I have a complex form with a pageframe with 3 pages. On each of these pages there are several date textboxes which are readonly. For some unknown reason I see a lookup button for two textboxes (one of them is not even visible).
>
>Where do these buttons come from and how can I not show them?
>
>Thanks in advance.
I found the answer in the Init of the textbox control.
The property I need to set is lAddLookupCommandButton
Still it's weird that toggling visibility of the textbox or ReadOnly status doesn't automatically hide this button - IMHO, it should - why would we want to see a button for invisible textbox or for ReadOnly textbox?
If it's not broken, fix it until it is.
My Blog