I was hoping there was an undocumented vfp environment var that held the string to search. But thinking now with a clear mind, I could just as easily create my own interface.
Thanks again,
-Isaac
>Forgot this. You may wanna add this so it deletes any existing text in the combobox prior to stuffing your new value in it.
>
>>Hi Isaac,
>>
>>activate window find
>>keyboard '{alt+f}' && move into combobox
>
>keyboard '{tab}'
>keyboard '{del}'
>
>>lcVar = myeditbox.seltext
>>keyboard lcVar
>>
>>Jon
>>>I have implemented using the VFP popup Find form (CTRL+F) to allow users to search within an edit box. If a user highlights a string within the control I can determine what was highlighted using the controls SelStart and SelLength. Can anyone suggest how I can stuff that string into the "Look For" text box of the VFP Find form?
>>>
>>>TIA,
>>>-Isaac
Précédent
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