|
-
Feb 25th, 2008, 12:00 AM
#1
Thread Starter
New Member
VB Intellisense
Hi All,
I'm here with couple of questions,
1.How we can implement intellisense(Quick info,Parameter info) when i enter my own function in a VB6 Text box? could anyone suggest any activeX control with this functionality?
2.How we can apply color to a particular letter?For example,if we type a combination of function in a excel cells only brackets"()" appears in different color.I want to implement this functionality for vb text box.
Code:
SUM(K9:K12+(AVERAGE(N7:N17)))
Thanks in advance...
-
Feb 25th, 2008, 12:06 AM
#2
Frenzied Member
Re: VB Intellisense
For number 2, I suggest you use the RTB (Rich Text Box) component.
You can open the components dialog by pushing CTRL + T in the VB IDE.
-
Feb 25th, 2008, 06:42 AM
#3
Thread Starter
New Member
Re: VB Intellisense
Thanks Zach for your reply,
If you suggest me how to apply color to a particular letter say for example "(" in the text, it will be helpful to me.because I'm using my own functions.when i enter the function the bracket color should change to another color(please refer the code part..).
thanks.....
-
Feb 25th, 2008, 06:56 AM
#4
Re: VB Intellisense
For the intellisense, where is what will be displayed stored?
-
Feb 25th, 2008, 08:18 AM
#5
Thread Starter
New Member
Re: VB Intellisense
I have specific syntax for each of my own function.But no idea how to store .I believe , i can save this in an array as a text in a class module and compare the strings and display.if you have any suggestions please let me know.
Thanks,
Felix
-
Feb 25th, 2008, 08:27 AM
#6
Re: VB Intellisense
That would be one way....of course, that means that the messages would be hard coded into your array. If you need to add more messages to you would need to modify the source and recompile and redistribute.
You could store them in a database. The would necessarily require recoding, but it would require a DB call each time you wanted to display a new message.
So, there are advantages and disadvantages to both approaches. Which one makes the most sense to, and for, you?
-
Feb 25th, 2008, 10:31 PM
#7
Thread Starter
New Member
Re: VB Intellisense
Array approach is better for me.Since this code will be part of my ActiveXDll.But i'm not sure how to implement this? ANY SUGGESTIONS Hack?
I'm in progress in implementing autocomplete,but no idea about quick info and parameter info.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|