Hi all Using zend framework how to create multiple checkbox? Can any one tell me Thanks in advance, rose
rose196
Posts
-
multiple checkbox -
how to pass onclick parameter in zend frameworkHi All I don't know how to pass parameter for checkbox onclick event using zend framework . can any one help me. Thanks
-
zend frameworkHi, Can u give me the sample project on zend framework Thank u
-
How to connect mysqlHai, I don't know how to connect mysql database into my c# project can you tell me. Is it possible with the help of show data sources. can you give me the steps.I tried with show data sources, i don't know which data source,DSN name i have to select. can you give the steps. Thanks in advance.
-
divHai I am using div.Inside the div i wrote some content. for that i set width auto, browser take it with as 100%.why it is taking like that. i want the width is equal to my content. example
Hai
in css div { width:auto; } If i gave like this it should measure only the word know.but it measure the whole line. Can give the solution . why it is happen like this. Thanks in advance
-
tinymce editorHai how to add merge fields with tinymce editor With Regards Rose
-
related searchHai led mike Thanks for your reply. Yes, I mean that only. Already I saw the link but I couldn't understand.Can you give the exact link related to 'joomla' Or can you tell me the use of 'joomla'. Thanks and Regards, Rose
-
related searchHai, I just want to know "joomla" can you give me the related search. With regards, rose
-
functionHi, I am started traying to create a project in html. I just want to know how to call a function. ex:
here how to call bird .
-
databasehi, thanks for reply. I am using MSAccess. can you give me some example links, i couldn,t understand. Thanks again,
-
databasehi, can u tell me how to connect database to .net windows form application Thank you,
-
I couldn,t able to selectHai I am using richtextbox. I want to select some specific word, for that i used richtextbox select command. But i couldn,t select the word can you tell me what i was written is correct or wrong. String ^ searchString = this->functionBox->Text; String^ srcText = this->srcTextBox->Text; bool function = srcText->Contains(searchString); if(function) { int lengthofsearchString = searchString->Length; int index = srcTextBox->Find(searchString, 0, RichTextBoxFinds::MatchCase); if(index >= 0) { index = srcTextBox->Find(searchString, index + lengthofsearchString, RichTextBoxFinds::MatchCase); if(index>=0) { srcTextBox->Select(index,lengthofsearchString); //srcTextBox->SelectionColor = Color::Red; } } } can you tell me Thanks.
-
textchange eventHai I am using textchange eventhandler in richtextbox. I just want to know currently what key is pressed by the user. for knowing that is any property is available. can you tell me. Thanks
-
richtextboxhai I just want to read the richtextbox content word by word. Is any property is available in richtextbox. I am using windows form application vc++. Thanks
-
syntaxhighlightingHai I just want to highlight the keywords while typing itself, For that i am using rtf format,can you tell me, Is any other way is there to highlight the key word. In richtextformat what is mean by cf1,cf2,cf0 ? Is it is a color reprasentation. I saw the msdn i choudn't understand. Thanks.
-
keyeventargsHai Thanks, The problem is solved.
-
keyeventargsHai Thanks for reply I want to know want key is pressed by user. I think KeyData will provide that user pressed keydata but it returns key. I dont know how to store the return value as string. So i used this keyvalue . i wrote like this int ^ keyvalue = e->KeyValue; String ^data = keyvalue->ToString(); Can you tell me how to store the keydata as string. I am using .net framework 2.0 version(windows form application); thanks,
-
keyeventargsHai I am using the keydown event, for performing some operation. I just want to store this return value as string, i don't know how to do this. Can you help me. for example If the user press the key 'a', I want to store 'a' as string Thanks
-
keyword color changeHai, I just want to change the color of certain keyword, while typing itself, for that i am using the rtf format. For this which event handler shall i use. if i use textchange event it shows the error as follows. An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll My code is as follows. private: System::Void lettertyped(System::Object^ sender, System::EventArgs^ e) { array<String^>^ keyword = gcnew array<String^>{"#include","#define","struct","int","char","void","float","double","longint","long","if","else","true","false","return"}; int length = keyword->Length; String ^ strRTF = this->richTextBox1->Rtf; int iCTableStart = strRTF->IndexOf("colortbl;"); if (iCTableStart != -1) { int iCTableEnd = strRTF->IndexOf('}', iCTableStart); strRTF = strRTF->Remove(iCTableStart, iCTableEnd - iCTableStart); strRTF = strRTF->Insert(iCTableStart, "colortbl ;\\red255\\green0\\blue0;\\red0\\green128\\blue0;\\red0\\green0\\blue255;}"); } else { int iRTFLoc = strRTF->IndexOf("\\rtf"); int iInsertLoc = strRTF->IndexOf('{', iRTFLoc); if (iInsertLoc == -1) iInsertLoc = strRTF->IndexOf('}', iRTFLoc) - 1; strRTF = strRTF->Insert(iInsertLoc, "{\\colortbl ;\\red128\\green0\\blue0;\\red0\\green128\\blue0;\\red0\\green0\\blue255;}"); } int len = strRTF->Length; String^ tempst; String^ result; String ^key; //String ^strReplace; String ^slash = "/*"; String ^endslash = "*/"; String ^commentlinestr = "//"; char startquots = '"'; char endquots = '"'; int keylen; int iRTFLoc; int intslash; int stquotes; //int endquotes; int commentline; bool found = false; bool spacefound = false; bool starcomment = true; bool slashcomment = false; bool endquot = false; int nlen = strRTF->Length; for(int nchRTF = 0;nchRTF < nlen;nchRTF++) { if(strRTF[nchRTF] == ' ' || strRTF[nchRTF] == '\n' || strRTF[nchRTF] == '"' || strRTF[nchRTF] == ';' || strRTF[nchRTF] == '(' || strRTF[nchRTF] == ',' /*|| strRTF[nchRTF] == '*' */) { //Keyword for(int nkeyword = 0;nkeyword<length;nkeyword++) { key = keyword[nkeyword]; keylen = key->Length; iRTFLoc = tempst->IndexOf(keyword[nkeyword]); if(/*iRTFLoc >= 0*/ tempst->Contains(key)) { found = true; break; } } if(found) { if(starcomment) { int location = 4+iRTFLoc+keylen+1; tempst = tempst->Insert( iRTFLoc,"\\cf3 "); tempst = tempst->Insert( location,"\\cf0 "); } found = false; } tempst = String::Concat(tempst,
-
caretHai Thank you very much your answers are very helpful to me. Thanks again, Mani,