Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sedna DBI-tech control problems
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01413493
Message ID:
01414445
Vues:
47
>Thank you. Since you cannot reproduce #3, I am going to drop it. Could very well be something weird in my environment.
>
>As for #1, I do that already. But the menu choice, say Paste, is always enabled. I need to have it work like VFP or Windows system menus that if the user is in a field and situation where Paste is possible, it is enabled. Otherwise it is disabled.
>
>I did not see your reply to #2, which BTW is taken from their examples.
>
>Thanks again.

#1. Have a timer on your form to discover the active control, if it is a textbox, enbaled the paste function, otherwise disable it.

#2
Do Case
	Case nitem = 1
		Go Top
		Skip 1
		Wait Window Nowait 'Top of file'
		This.ItemEnabled(1)=.F.
endcase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform