Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date fields - why do we see lookup button?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual ProMatrix
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01419429
Message ID:
01419603
Vues:
36
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform