LordJashin Posted June 18, 2012 Share Posted June 18, 2012 (edited) I got bored again. SCAR IRC CLIENT v0.1 --------------------- There is a bunch of constants you can set. Here is a list of commands. /connect (server after that), /disconnect, /pause (stops receiver), /resume (starts receiver again), /join or join (#channel after that), /channelonly (uses PRIVMSG inside channel as default (no commands to elsewhere except PRIVMSG), /serveronly (goes back to regular command thingy), /faster (speeds up receiver of IRC), /slower (slows down receiver). SCAR_IRC_CLIENT.scar Edited June 20, 2012 by LordJashin Quote Link to comment Share on other sites More sharing options...
FHannes Posted June 18, 2012 Share Posted June 18, 2012 Nice work, consider aligning the controls on the form, that way they will resize along with the form. Quote Link to comment Share on other sites More sharing options...
LordJashin Posted June 18, 2012 Author Share Posted June 18, 2012 Nice work, consider aligning the controls on the form, that way they will resize along with the form. Got it, reuploaded it. For SCAR is there a way to auto size controls/form without using OnResize or other event handlers? Autosize / Layout Quote Link to comment Share on other sites More sharing options...
FHannes Posted June 18, 2012 Share Posted June 18, 2012 Got it, reuploaded it. For SCAR is there a way to auto size controls/form without using OnResize or other event handlers? Autosize / Layout Yes, you should (almost) never use OnResize. Look into the Align, Anchor and Margins properties, it works the same as it does in Delphi, so there should be plenty documentation about it online. Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted June 19, 2012 Share Posted June 19, 2012 Looks good lord! Very nice job! Would be cool if scar had a built in IRC =) Quote Link to comment Share on other sites More sharing options...
FHannes Posted June 19, 2012 Share Posted June 19, 2012 Would be cool if scar had a built in IRC =) I don't see how that would be an improvement... Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted June 19, 2012 Share Posted June 19, 2012 I don't see how that would be an improvement... Just an idea. I dont see why it would be a bad idea. Could make communicating to other scriptwriters easier, more interactive. I could name quite a few perks, no its not a huge improvement but i could bet some people would find it very useful... Quote Link to comment Share on other sites More sharing options...
LordJashin Posted June 19, 2012 Author Share Posted June 19, 2012 (edited) Yes, you should (almost) never use OnResize. Look into the Align, Anchor and Margins properties, it works the same as it does in Delphi, so there should be plenty documentation about it online. Well I'm still stuck on that. SCAR has TAnchors but you cant anchor to other controls. TEdit does not use the height attribute AFAIK. Align just anchors to a side. I don't know how to get the TEdit, and TMemo to anchor to each other (not overlap each other), and have everything be resizable without using OnResize. Maybe put a box around them? @Freddy Also I don't see how SCAR could receive IRC text using TCPReceive, write it to a text box, and not be so laggy. So to be able to type into the chat box, and receive messages on the main text box at the same time would nice. If SCAR was to have IRC for the Scar-divi channel or w/e. It wouldn't be too hard to do. Sort of like how I've done here. Except the username would have to be coded into more. Just in case some1's using it or w/e. That's my opinion on the matter. Edited June 20, 2012 by LordJashin Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted June 20, 2012 Share Posted June 20, 2012 When creating the form goto anchors, expand the column. Click akleft, aktop, akright, akbottom and set them all to true. Bam you done. Example [scar] var Form1: TForm; Memo1: TMemo; procedure Form1_Init; begin Form1 := CreateForm; Memo1 := TMemo.Create(Form1); with Form1 do begin Left := 376; Top := 174; Caption := 'Form1'; ClientHeight := 202; ClientWidth := 304; Color := clBtnFace; Font.Charset := DEFAULT_CHARSET; Font.Color := clWindowText; Font.Height := -11; Font.Name := 'Tahoma'; Font.Style := []; OldCreateOrder := False; PixelsPerInch := 96; end; with Memo1 do begin Parent := Form1; Left := 20; Top := 24; Width := 268; Height := 160; Anchors := [akLeft, akTop, akRight, akBottom]; Lines.Add('Memo1'); TabOrder := 0; end; end; procedure Form1_SafeInit; var v: TVariantArray; begin SetLength(v, 0); ThreadSafeCall('Form1_Init', v); end; function Form1_ShowModal: Boolean; begin Result := Form1.ShowModal = mrOk; end; function Form1_SafeShowModal: Boolean; var v: TVariantArray; begin SetLength(v, 0); Result := ThreadSafeCall('Form1_ShowModal', v); end; begin Form1_SafeInit; if Form1_SafeShowModal then WriteLn('Form returned modalresult ok'); FreeForm(Form1); end. [/scar] Quote Link to comment Share on other sites More sharing options...
LordJashin Posted June 20, 2012 Author Share Posted June 20, 2012 Well I'm still stuck on that. SCAR has TAnchors but you cant anchor to other controls. I never said I didn't know how to use TAnchors. I don't know how to get a TMemo and TEdit to not overlap each other, and resize correctly without using the OnResize event. Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted June 20, 2012 Share Posted June 20, 2012 (edited) I never said I didn't know how to use TAnchors. I don't know how to get a TMemo and TEdit to not overlap each other, and resize correctly without using the OnResize event. Oh lol. sorry about that. Its just as easy, Think about it logically, the edit bar is on bottom so it needs to stay at the bottom and stick to the left and right sides. Heres an memo Anchors := [akLeft, akTop, akRight, akBottom]; edit Anchors := [akLeft, akRight, akBottom]; example [scar] var Form1: TForm; Memo1: TMemo; Edit1: TEdit; procedure Form1_Init; begin Form1 := CreateForm; Memo1 := TMemo.Create(Form1); Edit1 := TEdit.Create(Form1); with Form1 do begin Left := 376; Top := 174; Caption := 'Form1'; ClientHeight := 269; ClientWidth := 433; Color := clBtnFace; Font.Charset := DEFAULT_CHARSET; Font.Color := clWindowText; Font.Height := -11; Font.Name := 'Tahoma'; Font.Style := []; OldCreateOrder := False; PixelsPerInch := 96; end; with Memo1 do begin Parent := Form1; Left := 8; Top := 12; Width := 416; Height := 220; Anchors := [akLeft, akTop, akRight, akBottom]; Lines.Add('Memo1'); TabOrder := 0; end; with Edit1 do begin Parent := Form1; Left := 8; Top := 240; Width := 415; Height := 21; Anchors := [akLeft, akRight, akBottom]; TabOrder := 1; Text := 'Edit1'; end; end; procedure Form1_SafeInit; var v: TVariantArray; begin SetLength(v, 0); ThreadSafeCall('Form1_Init', v); end; function Form1_ShowModal: Boolean; begin Result := Form1.ShowModal = mrOk; end; function Form1_SafeShowModal: Boolean; var v: TVariantArray; begin SetLength(v, 0); Result := ThreadSafeCall('Form1_ShowModal', v); end; begin Form1_SafeInit; if Form1_SafeShowModal then WriteLn('Form returned modalresult ok'); FreeForm(Form1); end. [/scar] Edit Side note set the size Constraints MinHeight and MinWidth to how ever big you wish the form to at least be other wise if you go smaller than the controls originally were they will over lap. =p Edited June 20, 2012 by shadowrecon Quote Link to comment Share on other sites More sharing options...
LordJashin Posted June 20, 2012 Author Share Posted June 20, 2012 I didn't realize using TAnchors only really did anything when the form was resized. My bad for not trying harder on this, I sort of gave up after trying everything...but that of course. Dumb moment... Reuploaded again. Now it is flawless ? Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted June 20, 2012 Share Posted June 20, 2012 I didn't realize using TAnchors only really did anything when the form was resized. My bad for not trying harder on this, I sort of gave up after trying everything...but that of course. Dumb moment... Reuploaded again. Now it is flawless ? =p Its silly little things like that, that can drive someone crazy! J/k. Very nice work again! Quote Link to comment Share on other sites More sharing options...
ThomasNads Posted April 16 Share Posted April 16 Gino Peterson from Bridgeport was looking for sample essays common app Romeo Wallace found the answer to a search query sample essays common app ESSAYERUDITE.COM http://essayerudite.com/images/banner/500x500.jpg sample essays common app essays in biology essay questions for novels top school essay writing websites usa esl homework proofreading services us resume mla format sample essay questions on theme best report ghostwriter service online business plan soup restaurant north east ohio resume postings professional masters dissertation introduction advice teenage job resume objective enclosure resume format parents and trust thesis homework is not good best personal essay ghostwriter for hire for masters extended essay in english topics child marriage photo essay professional persuasive essay ghostwriting for hire ca book reports on money hungry resume land surveyor free resume templates for word download cheap curriculum vitae ghostwriters for hire gb thesis statement examples for problem solution essay clean elegant resume design cheap content writers website au references in resume upon request essays on attitude change how to write a term paper outline pdf love poems how to write do my human resource management term paper sample resume undergraduate business business plan new school critical analysis editor site ca holt algebra 2 homework help professional research proposal ghostwriting service for masters thesis statement narrative essay examples sales specialist resume samples sample resume for construction site supervisor 25988 resume bank ru sample cover letter internship chemistry essays on patriotism india best dissertation methodology writing for hire au popular masters academic essay example how to write middle name free sample resume for warehouse supervisor attitude charles swindoll essay pay for best essays online popular custom essay editor site for university in key resume words persuasive essay high school help writing movie scripts titling plays essays kindergarten homework log professional article review writing service how to write good javascript documentation cheap presentation editing for hire uk free mechanic supervisor cover letter imagination and knowledge essay resume examples for high school students referencesthesis statement for chocolate chip cookiesresources for identifying resume keywordsclinical pharmacist cover letter samplevbscript on error resume next cancelcustom blog post writer website aubest term paper editor service for masterspainting and decorating cover lettercheap article review ghostwriting services for university Quote Link to comment Share on other sites More sharing options...
JanisItach Posted June 21 Share Posted June 21 Похудение это тема, которая всегда животрепещуща для большинства девушек. Почти многие из нас стремятся к идеальной форме, но нередко сталкиваются с трудностями и препятствиями на пути к этой цели. Но, с правильным подходом, похудение возможно достижимо без нервного напряжения и изнурительных диет. В данной статье мы рассмотрим 10 действенных стратегий похудения, помогающие дамам добиться хотимых результатов и сохранить здоровье. 1. Установите цель Пробным камнем к удачному похудению является установление конкретной цели. Определите, сколько килограммов вы хотите сбросить и по какой причине. Цель обязана быть близкой к реальности, измеримой и достижимой. 2. Питание Здоровое питание играет ключевую роль в процессе похудения. Сосредотачивайтесь на употреблении естественных продуктов, богатых витаминами и минералами. Опасайтесь стремительных углеводов и жирной пищи. Устремляетесь к балансу макро- и микроэлементов в рационе. 3. Физическая активность Регулярные физические упражнения включая посодействуют спаливать калории, а также укрепят мускулы, улучшат общее самочувствие и увеличат выносливость. Найдите вид активности, который вам нравится: от йоги до плавания, от бега до танцев. 4. Гидрация Пить достаточное количество воды во время денька не только лишь поможет вам поддерживать уровень жидкости в организме, а также ускорит метаболизм, понизит аппетит и поможет скинуть излишний вес. 5. Сон Качественный сон играет важную роль в ходе похудения. Пытайтесь спать не менее несколько часов в сутки, чтоб ваш организм мог восстановиться, а метаболизм был в норме. 6. Управление стрессом Стресс может стать препятствием на пути к похудению похудение для женщин Найдите методы расслабления и отдыха: медитация, йога, чтение книг, прогулки на свежем воздухе. 7. Каждодневный контроль Ведение дневника пищевых повадок и физической активности поможет вам осознать, что вы едите и какое количество калорий потребляете, но также оценить свои успехи. 8. Постепенные конфигурации Опасайтесь радикальных диет и раздражающих факторов и ситуаций. Внедряйте изменения в питании и образе жизни постепенно, чтобы они стали стабильными привычками. Quote Link to comment Share on other sites More sharing options...
JanisItach Posted June 21 Share Posted June 21 Похудение это тема, которая всегда животрепещуща для многих девушек. Многие среди нас стремятся к идеальной форме, но часто сталкиваются с трудностями и препятствиями на пути к этой цели. Однако, с правильным подходом, похудение возможно достижимо без стресса и изнурительных диет. В данной статье мы рассмотрим 10 эффективных стратегий похудения, которые помогут дамам добиться хотимых результатов и сохранить здоровье. 1. Установите цель Первым шагом к успешному похудению является установление конкретной цели. Обусловьте, сколько килограммов вы хотите сбросить и по какой причине. Цель должна быть реалистичной, измеримой и достижимой. 2. Питание Правильное питание играет главную роль в процессе похудения. Сосредотачивайтесь на употреблении естественных товаров, богатых витаминами и минералами. Избегайте быстрых углеводов и жирной пищи. Стремитесь к балансу макро- и микроэлементов в рационе. 3. Физическая активность Регулярные физические упражнения не только лишь посодействуют сжигать калории, да и укрепят мышцы, улучшат общее самочувствие и увеличат выносливость. Найдите вид активности, который вам нравится: от йоги до плавания, от бега до танцев. 4. Гидрация Пить достаточное количество воды в течение денька не только лишь поможет вам поддерживать уровень жидкости в организме, а также ускорит метаболизм, понизит аппетит и поможет сбросить излишний вес. 5. Сон Качественный сон играет важную роль в ходе похудения. Старайтесь спать более несколько часов в день, чтобы ваш организм мог восстановиться, а метаболизм был в норме. 6. Управление стрессом Стресс может стать препятствием на пути к похудению что делать при похудении Найдите методы расслабления и отдыха: медитация, йога, чтение книг, прогулки на природе. 7. Каждодневный контроль Ведение дневника пищевых повадок и физической активности поможет вам осознать, что вы едите и какое количество калорий потребляете, но также оценить свои успехи. 8. Постепенные изменения Опасайтесь радикальных диет и стрессовых ситуаций. Внедряйте изменения в кормленьи и образе жизни чуть-чуть, чтоб они стали размеренными привычками. Quote Link to comment Share on other sites More sharing options...