Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>*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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement