Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date fields - why do we see lookup button?
Message
 
General information
Forum:
Visual FoxPro
Category:
Visual ProMatrix
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01419429
Message ID:
01419603
Views:
37
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform