Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxpro for Dos: Trouble with initial popup selection hi-
Message
De
10/12/1997 15:56:22
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00065000
Message ID:
00065117
Vues:
51
>>*The array apopdata with the field names selected from the current tag.
>>*cKeyString is assigned the first value of the array.
>>*Typically "SMITH, JOHN"
>>
>>
>>@ 4,2 GET cKEYSTRING ;
>> PICTURE "@^" ;
>> FROM aPOPDATA ;
>> SIZE 3,33 ;
>> VALID _rau129490() ;
>> COLOR SCHEME 5, 6
>>
>>
>>* I'm only showing one object. But cKeyString is the 2nd object.
>>
>>READ CYCLE MODAL OBJECT 2
>>
>>*I tried your modification but it still does not hilight when the
>>*find push button is activated with the mouse.
>
>Only two thoughts:
>
>One, when working with arrays, I've always used the array subscript as the variable. Naturally, if _TALLY returns 0, the popup is disabled.
>
>Two, and this is a bit of a trick, you could use _CUROBJ to initially set the focus to the popup, then in it's when clause, set a variable to send the focus to the first object on the screen, and indicate that this had already been done. Some like
>
>IF NOT m.setfocus
> m.setfocus = .T.
> _CUROBJ = 1
>ENDIF
>
>An admitted kludge, but...
>

Ok, I'll try that. Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform