Re: Improve HAVING BY performance Programming Databases by Reverend Jim … I could not have used that at my office to justify the time spent on improving a process by that little… right justify in memo and problem... Programming Software Development by ferhatkuskaya Hi friends again. Can you tell me how I will justify right edit box components in delphi. Ok I have found …the memo to justify right for my input variables. But when I delete the… Re: right justify in memo and problem... Programming Software Development by Micheus [QUOTE=ferhatkuskaya;479133]Can you tell me how I will justify right edit box components in delphi.[/QUOTE]You must to … Re: fully justify in rtb Programming Software Development by Teme64 Since rtb does not have a Justify property, you have to do it with API calls. Here's a one example [URL="http://www.vbforums.com/showthread.php?t=275310"]VB6 - Justify text in RichTextBox[/URL] to start with. fully justify in rtb Programming Software Development by yuleball I want to fully justify text in rtb. I am designing an urdu editor. The rdu language is written from right to left. So the text is right justified initially. Waiting for reply Please help me right-justify this cell Digital Media UI / UX Design by niche1 …> <!--How do I get this cell to right justify without the align attribute which has been depreciated--> <… Re: Please help me right-justify this cell Digital Media UI / UX Design by niche1 …> <!--How do I get this cell to right justify without the align attribute which has been depreciated--> <… Right justify large int number adds. Programming Software Development by bleedsgreen33 … know that I can use a count variable to right justify these numbers like the professor wants, i just cannot for… Re: Right justify large int number adds. Programming Software Development by vijayan121 … know that I can use a count variable to right justify these numbers like the professor wants, i just cannot for… Help me to answer these questions Community Center by Tamba Henry Justify the computer as a system, and discuss the components in its definition. What is the limit to the application of computer? Re: right justify in memo and problem... Programming Software Development by Duoas At this point we'll need to see your code to understand how you are trying to do things... Re: right justify in memo and problem... Programming Software Development by ferhatkuskaya hi duoas dont go anywhere I will show codes now to you... Re: right justify in memo and problem... Programming Software Development by ferhatkuskaya for i:=1 to 82 do TLabel(DisplayForm.FindComponent('Label'+inttostr(i))).caption:= TMemo(Anaform.FindComponent('Memo'+inttostr(i)))).Lines[0]; Re: right justify in memo and problem... Programming Software Development by ferhatkuskaya Ok Micheus, thank you for your help. I will try to improve my program destroying my memos, with your code examples. Re: right justify in memo and problem... Programming Software Development by ferhatkuskaya come on Micheus pls explain with a code about that. I will need this worth information that related to creation of a new component and installing it.... Re: right justify in memo and problem... Programming Software Development by Micheus [QUOTE=ferhatkuskaya;483156]come on Micheus pls explain with a code about that. I will need this worth information that related to creation of a new component and installing it....[/QUOTE][CODE=delphi]type TNewEdit = class(TEdit) private procedure CreateParams(var Params: TCreateParams); override; end; ...[/code]here you declare a … Re: Please help me right-justify this cell Digital Media UI / UX Design by Spycat Is this what you're after? : [CODE]<td style="text-align:right;"> Login Email: </td> [/CODE] Or, to make it easier if you're going to right-align more than one cell, use a css class attribute: [CODE] <style type="text/css"> .cell-right { text-align:right; } </style> [/CODE] Then… Re: Right justify large int number adds. Programming Software Development by bleedsgreen33 what my output is looking like currently: 5 7 ------------------------------------- 1 2 3 6 8 5 ------------------------------------- 1 2 1 3 8 7 8 5 6 3 6 4 2 6 ------------------------------------- 1 4 9 8 9 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 … Re: Right justify large int number adds. Programming Software Development by WaltP Write one more function to return the number of digits in one of the arrays. Have it return the index of the leftmost digit. Call this function on each array and remember the lowest value (the leftmost digit of the 'largest' value). Pass this value into the print function. You can take it from there. Re: Right justify large int number adds. Programming Software Development by ravenous If you can determine the number of characters in the largest number, then you can just use [icode]std::setw()[/icode] and [icode]std::right[/icode] to do this: [code] void printarray( int *arg, const unsigned maxWidth ) { for(unsigned i = 0; i < maxWidth; ++i) std::cout << std::setw(maxWidth) << std::right << arg[i… Re: Right justify large int number adds. Programming Software Development by ravenous [QUOTE=vijayan121;1469978]Just modify your print function to print a space when leading zeros are encountered. [code]void printarray( int arg[] ) { int i = 0 ; for( ; i<LAST_DIGIT && arg[i]==0 ; ++i ) std::cout << ' ' ; for( ; i<LAST_DIGIT ; ++i ) std::cout << arg[i] ; std::cout << arg[… Re: Right justify large int number adds. Programming Software Development by bleedsgreen33 You guys are great. I can't thank you enough. This is the second time I have had this professor for an online course and in short, he is awful when it comes to answering questions in a timely fashion. If he assigns a project on monday and makes it due friday night, its very typical of him to not answer his emails until thursday night or friday … Re: Right justify large int number adds. Programming Software Development by ravenous I just noticed a bug in your program that you might like to know about. Take a look at the third example calculation that you gave, your result is: [code] 3 8 7 8 5 6 3 6 4 2 6 ------------------------------------- 1 4 9 8 9 [/code] This is incorrect, since the answer should be 3884989, not 14989. Actually, 14989 = 6426 + 8563. Your code … Re: Right justify large int number adds. Programming Software Development by bleedsgreen33 Yes, I posted that there was an issue with that and for the 6th set too. instead of having it try to stop once it reaches the zeros, im just going to have it process all 26 spots, and just worry about taking care of NOT print the leading 0's. Re: Right justify large int number adds. Programming Software Development by ravenous [QUOTE=bleedsgreen33;1470445]Yes, I posted that there was an issue with that and for the 6th set too. instead of having it try to stop once it reaches the zeros, im just going to have it process all 26 spots, and just worry about taking care of NOT print the leading 0's.[/QUOTE] Good choice. You pretty much [i]have[/i] to do that anyway, in case… Re: Right justify large int number adds. Programming Software Development by bleedsgreen33 Once again. Thanks for all the help. The next project is Multiplying. We are using the same method, only 3 arrays, so all my code can be reused, except for the add needs to be changed to the product. all of the code that i wrote from the ADD works up until the one thing I change, the adder into a multiplier. It works fine for the first two sets … HTML view source searching... Programming Software Development by omokop …quot;Normal_0020Table" style=" text-align: justify; "><span class="Normal_0020Table__Char&…quot;Normal_0020Table" style=" text-align: justify; "><span class="Normal_0020Table__Char&…quot;Normal_0020Table" style=" text-align: justify; "><span class="Normal_0020Table__Char… PHP trouble Programming Web Development by petmol …folket lever.</p> <p align="justify" class="normaltext">Genre: drama&…; /></p> <p align="justify" class="normaltext">Kulturnyheterna:<br …och undergivenhet. </p> <p align="justify" class="normaltext">Genre: drama / thriller&… Re: PHP trouble Programming Web Development by petmol …folket lever.</p> <p align="justify" class="normaltext">Genre: drama&…; /></p> <p align="justify" class="normaltext">Kulturnyheterna:<br …och undergivenhet. </p> <p align="justify" class="normaltext">Genre: drama / thriller&… Re: PHP trouble Programming Web Development by siviwe …folket lever.</p> <p align="justify" class="normaltext">Genre: drama&…; /></p> <p align="justify" class="normaltext">Kulturnyheterna:<br …och undergivenhet. </p> <p align="justify" class="normaltext">Genre: drama / thriller&…