473,396 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

The logic behind spellcheck and find functions

How does the interaction of forms in functions like FindText work? I'm
talking only about the interaction of the forms and how they exchange
data.

For example, when you search for text, the search form obviously must
access the text in the editing form, but I'm not having any luck doing
that.

I've done a few multiple-form projects, where one form opens another
form, and then gets or sets values in that other form, but something
like FindText seems to be different. Here, one form opens another, but
then it's the subordinate form that gets or sets values from the parent
form.

When I try to do that, I don't get errors, but I just get 0 or "".

Any help is greatly appreciated.
Nov 20 '05 #1
3 1070
Hi Trebor,

Sounds interesting. But it would help if you post some code and describe
more about what you're doing.

If I were doing this, I would be unlikely to have a FindForm do the actual
searching. I would have it gather the parameters and then pass them to a
searching class. This would, amongst other things, allow searches to be done
within and by the application, yet without requiring a Form.

Regards,
Fergus
Nov 20 '05 #2
"Fergus Cooney" <fi******@tesco.net> wrote:
Sounds interesting. But it would help if you post some code and describe
more about what you're doing.

If I were doing this, I would be unlikely to have a FindForm do the actual
searching. I would have it gather the parameters and then pass them to a
searching class. This would, amongst other things, allow searches to be done
within and by the application, yet without requiring a Form.


Boy, this newsgroup is busy! I'm going to have to rethink my question,
and then post back. Thanks for your reply.

I'm still changing paradigms from the old structured way to the new OO
way, and for some reason, I think of forms as logical modules instead of
just means to collect and display information. Your suggestion not to
have the code behind the FindForm do the actual searching points to a
way I had not seen, so thanks.

Nov 20 '05 #3
Hi Trebor,

Yrrrr welcome.

Lader Dude,
Fergus

Busy tonight?? Yep, well chatty, so it is.
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: CamThach | last post by:
Hi, I use spellcheck of word automation in C#,it run OK but whenever the spellcheck dialog of word is shown ,it hide(minimize) the main form of my application. I don't know how to fix this issue....
2
by: Sam | last post by:
I'm working on a small application and I am stuck on the logic behind one of the queries I want to write. I've always considered myself to be a good problem solver and it depresses me that I can't...
7
by: Stephen | last post by:
I have some code which I call from a custom validator however I seem to have got the logic wrong and im having trouble figuring out how to write my code to get things to work the way I require....
3
by: CW | last post by:
I find it necessary to mix code-behind and non-code behind techniques sometimes. I have utility functions defined in a VB module. Is there anyway for me to call functions defined in VB module...
5
by: Steven Smith | last post by:
I was flicking through the windows accesories programs for some inspiration for todays vb challenge when I came accross the calculator program & thought that looks easy I could do that. However...
14
by: rabbitrun | last post by:
Hi Everyone, I work for a financial company. I am planning to give a presentation to rest of the development team (15 people) here on moving server side logic to client-side javascript for an...
4
by: ravi | last post by:
Hello, the code below calculate the number of bits set in an unsigned integer. Can you explain me the logic behind the code? unsigned int x = Some number; x=(0xaaaaaaaa&x)>>1+(0x55555555&x);...
1
by: H-S | last post by:
Help! I am trying to use the Windows.Controls.TextBox with spellcheck turned on. It works fine if my keyboard input language is set to English (United States). But the spellcheck starts to get...
2
by: Matthew Woodcraft | last post by:
John Salerno <johnjsal@gmailNOSPAM.comwrote: You probably could, but it's best not to unless you're somehow forced to. In practice, the interface that you want your 'logic' layer to provide...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.