Similar Threads:
1.Missing Intellisense/auto-complete on C++ ctors/dtors
When writing classes and their member functions, the auto-completion
intellisense is always useful, showing the params and speeding up code
entry. Unfortunately, it seems to have totally forgotten about
Constructors/Destructors.
Ok, it half works....once you have typed it twice:-
cClass:cClass
it knows about the parentheses and params, but when you type cClass:: you
used to get the constructors/destructor listed as well - just tap the arrow
to select and start typing the (params). These days Intellisense never lists
the Ctors and Dtor.
As an example, in the past (even with 2002 if I remember IIRC), after
defining the class in the header, if you typed cThisIsAClass::~ then it
would immediately select the destructor in the auto-complete listbox.
hitting Enter or typing '(' would fill in the Dtor name. Unfortunately,
because they are no longer listed in the auto-complete listbox, you have to
type it all out again.
What gives, and is there any way to fix it?
Thanks in advance,
A Ratcliffe
XXXX@XXXXX.COM
2.Auto Shipping Auto Shipping Scheduling:car moving auto transport
3.Problem with auto-indent
I am working in a Visual Basic application, modifying existing projects and
code. For the most part, the auto-indent seems to be going what it's
supposed to. But occasionally, when I'm modifying or deleting code, the
auto-indent for surrounding code seems to get messed up. Code is indented
one or more times when it shouldn't be.
I have tried to remove the indentations manually, but when I move to another
line, the incorrect indentation reappears. This seems to be random - for the
most part, the indentation is working correctly.
Has anyone seen this before, and have you been able to fix it?
Thanks!
Dave P.
4.Auto Complete Drop Down Problem
Hi
I have some javascript which allows me to have some sort of
autocomplete functionality for drop downs but I cannot get the
selectedIndex event to fire when the user selects the item from the
drop down. Typically I want the user to be able to select from a drop
down by typing and then autocompleting depending on what he types.
Then I need the selectedIndex changed event to fire so that I can do
some run serverside code.
C# as follows:
myDDL.Attributes.Add("onkeydown", "checkKey(this, event);return
false;");
javascript as follows:
var searchID;
var searchValue;
function checkKey(oList, e) {
// Re-initialize if the
if(oList.id != searchID) {
searchID = oList.id;
searchValue = "";
}
var theKey;
var binIE;
// check for browser event model
if(window.event) { theKey = window.event.keyCode; binIE = true; }
else { theKey = e.which; binIE = false; }
logThis("new keycode = " + theKey);
if(theKey == 8) { // check for backspace
searchValue = ""; // clear the filter
}
// check for alphanumeric keys and append to the search value
else if((theKey >= 48 && theKey <= 57) || (theKey >= 65 && theKey
<= 90) ||
(theKey == 32) || (theKey >= 96 && theKey <= 105)) {
searchValue += String.fromCharCode(theKey).toLowerCase();
}
else { return false; }
// loop through the list to select the proper item
if(searchValue != "") {
for(var iCheck=0;iCheck<oList.options.length;iCheck++) {
if(oList.options[iCheck].text.toLowerCase().indexOf(searchValue) == 0)
{
oList.options[iCheck].selected = true;
return;
}
}
}
}
5.auto-indent in vb editor
Is there a way to auto-indent code in the VB editor for macros in
Excel? That is, if my code looks like:
if a = 7 then
call b
end if
change it to:
if a = 7 then
call b
end if
Thanks.
Edward
6. Can VB auto Indent a whole block code
7. Auto Indent - what I am missing?
8. Auto html format/indent in Visual Studio .NET?