Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting text on an inactive form
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00338030
Message ID:
00338190
Views:
11
Ian,


IMHO it's a bad UI to have both an active and inactive window giving the user the impression they both have the current keyboard input focus.

If you really must do this you could play with the BackColor of the field in the find form.Activate() and Deactivate() methods.

>I am trying to implement a find form for grids and note fields on a form. I know I could use the standard VFP Find box on the editbox field but I want to standardise the interface so I only have one Find form.
>
>How can I highlight the found word on the notepad if the form isn't active? I thought that SelStart and SelLength would be useful - apparently not though as the form needs to be active. Are there any API calls I could use? - there must be something as Fox must use the same technology when it uses its own find form.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform