亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? formpos.pas

?? 包含常用Internet協議TCP,UDP、HTTP、FTP、Telnet等
?? PAS
字號:
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

EMail:        http://users.swing.be/francois.piette  francois.piette@swing.be
              http://www.rtfm.be/fpiette             francois.piette@rtfm.be
              francois.piette@pophost.eunet.be
Support:      Use the mailing list twsocket@rtfm.be See website for details.
Legal issues: Copyright (C) 1997-2000 by Fran鏾is PIETTE
              Rue de Grady 24, 4053 Embourg, Belgium. Fax: +32-4-365.74.56
              <francois.piette@pophost.eunet.be>

              This software is provided 'as-is', without any express or
  	      implied warranty.  In no event will the author be held liable
              for any  damages arising from the use of this software.

              Permission is granted to anyone to use this software for any
              purpose, including commercial applications, and to alter it
              and redistribute it freely, subject to the following
              restrictions:

              1. The origin of this software must not be misrepresented,
                 you must not claim that you wrote the original software.
                 If you use this software in a product, an acknowledgment 
                 in the product documentation would be appreciated but is
                 not required.

              2. Altered source versions must be plainly marked as such, and 
                 must not be misrepresented as being the original software.

              3. This notice may not be removed or altered from any source 
                 distribution.

              4. You must register this software by sending a picture postcard
                 to the author. Use a nice stamp and mention your name, street
                 address, EMail address and any comment you like to say.

 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
unit Formpos;

interface

uses
    Forms, IniFiles, SysUtils, Dialogs, WinTypes, WinProcs;

Procedure LoadFormPos(Form : TForm;
                      const IniFilename : string;
                      const SectionName : String;
                      const KeyName: string);
Procedure SaveFormPos(Form : TForm;
                      const IniFilename : string;
                      const SectionName : String;
                      const KeyName: string);

implementation


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
{* G閚鑢e un cha頽e du genre 'Left, Top, Height, Width, WindowState'       *}
{* en vue de la placer dans un section d'un fichier INI                    *}
function WindowPosToStr(Form : TForm; iWindowState : integer) : string;
begin
    Result := IntToStr(Form.Left)    + ', ' +
              IntToStr(Form.Top)     + ', ' +
              IntToStr(Form.Height)  + ', ' +
              IntToStr(Form.Width)   + ', ' +
              IntToStr(iWindowState);
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
{* Recoit un string sous forme  '100, 200, 300, 500, 0' et affecte         *}
{* respectivement ces valeurs a  Form.LEFT, Form.Top, Form.Heigt,          *}
{* Form.Width, Form.WindowState                                            *}
procedure StrToWindowPos(sBuffer : string; Form : TForm);
var
    ilen, i, k : integer;
    sDst       : string;
begin
    ilen := length(sBuffer);
    k    := 0;
    sDst := '';

    {i = indice ds sBuffer; j = Indice ds sDst; k = nbre d'occurences trouv殫s }
    for i := 1  to ilen + 1 do begin
        if (i > ilen) or (sBuffer[i] = ',') then begin
            k := k + 1;
            case k of
            1: Form.Left        := StrToInt(sDst);
            2: Form.Top         := StrToInt(sDst);
            3: Form.Height      := StrToInt(sDst);
            4: Form.Width       := StrToInt(sDst);
            5: Form.WindowState := TWindowState(StrToInt(sDst));
            else
                break;
            end;
            sDst := '';
        end
        else
            sDst := sDst + sBuffer[i];
    end;
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
procedure LoadFormPos(Form              : TForm;
                      const IniFilename : string;
                      const SectionName : String;
                      const KeyName     : string);
var
    IniFile: TIniFile;
    sWindowPositions : string;
begin
    if Length(IniFileName) = 0 then
        Exit;

    { Create inifile object => Open ini file }
    IniFile := TIniFile.Create(IniFilename);

    {Formatage par d閒aut de la ligne de la section window}
    sWindowPositions := WindowPosToStr(Form, ord(Form.WindowState));

    { Get widow's position and size from ini file }
    sWindowPositions := IniFile.ReadString(SectionName,
                                           KeyName,
                                           sWindowPositions);
    StrToWindowPos(sWindowPositions, Form);


    { Destroy inifile object => close ini file }
    IniFile.Free;
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
procedure SaveFormPos(Form              : TForm;
                      const IniFilename : string;
                      const SectionName : String;
                      const KeyName     : string);
var
    IniFile      : TIniFile;
    iWindowState : integer;
begin
    if Length(IniFileName) = 0 then
        Exit;

    { Create inifile object => Open ini file }
    IniFile := TIniFile.Create(IniFilename);

    iWindowState := ord(Form.WindowState);

    { If window minimized or maximized, restore to normal state }
    if Form.WindowState <> wsNormal then
        Form.WindowState := wsNormal;

    { Save the window's postion and size to the ini file }
    IniFile.WriteString(SectionName,
                        KeyName,
                        WindowPosToStr(Form, iWindowState));

    { Destroy inifile object => close ini file }
    IniFile.Free;
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}

end.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲私人影院在线观看| 91精品免费观看| 国内一区二区在线| 水野朝阳av一区二区三区| 玉米视频成人免费看| 一色桃子久久精品亚洲| 国产精品私房写真福利视频| 中文子幕无线码一区tr| 欧美国产日本韩| 中文字幕一区二区三区四区不卡| 欧美国产乱子伦 | 九九久久精品视频| 麻豆精品在线播放| 国产麻豆成人精品| 懂色av中文字幕一区二区三区| 国产成人免费av在线| av电影在线观看完整版一区二区| av成人老司机| 欧美日韩黄色一区二区| 日韩亚洲欧美一区二区三区| 久久久久久一级片| 亚洲欧美日韩电影| 日韩国产在线观看一区| 久热成人在线视频| 成熟亚洲日本毛茸茸凸凹| 一本到三区不卡视频| 欧美精品一级二级三级| 欧美tk—视频vk| 国产精品麻豆久久久| 亚洲不卡在线观看| 韩国av一区二区三区| 日本精品视频一区二区| 日韩一区二区精品在线观看| 亚洲精品在线观看网站| 亚洲激情图片qvod| 国产一区91精品张津瑜| 欧美在线制服丝袜| 精品国产1区2区3区| 中文字幕中文字幕在线一区 | 欧美日韩成人一区二区| 精品久久99ma| 亚洲午夜精品在线| 国产成人精品一区二区三区网站观看| 91婷婷韩国欧美一区二区| 日韩欧美一区在线| 亚洲美女屁股眼交| 国产成人精品亚洲午夜麻豆| 欧美军同video69gay| 亚洲欧美在线高清| 精品午夜一区二区三区在线观看| 91丨porny丨国产| 精品国产乱码久久久久久久久 | 免费在线欧美视频| 91国内精品野花午夜精品| 久久久噜噜噜久噜久久综合| 天堂蜜桃91精品| 色婷婷综合中文久久一本| 久久亚洲影视婷婷| 蜜臀国产一区二区三区在线播放| 色噜噜夜夜夜综合网| 国产精品嫩草99a| 国产一区二区久久| 日韩欧美久久一区| 蜜桃视频在线观看一区二区| 欧美三级视频在线| 亚洲精品伦理在线| 91在线云播放| 亚洲精品日韩综合观看成人91| 丁香天五香天堂综合| 精品国产1区2区3区| 日韩综合小视频| 欧美日本在线看| 亚洲一区二区三区视频在线播放| 91同城在线观看| 亚洲乱码国产乱码精品精的特点 | 一本大道久久a久久精品综合| 久久久三级国产网站| 精久久久久久久久久久| 欧美成人一区二区三区在线观看| 日韩激情视频网站| 日韩一级片在线观看| 美腿丝袜亚洲三区| 亚洲精品在线观| 国产精品18久久久| 国产精品入口麻豆九色| 成人亚洲一区二区一| 精品国产一区a| 国产乱码精品1区2区3区| 国产亚洲欧美色| av激情亚洲男人天堂| 亚洲麻豆国产自偷在线| 色欧美88888久久久久久影院| 亚洲激情校园春色| 欧美一区午夜视频在线观看| 美国毛片一区二区三区| 日本一区二区三区高清不卡| 91性感美女视频| 无吗不卡中文字幕| 欧美tk丨vk视频| 成人性生交大片免费看中文| 一区二区三区久久| 91精品国产手机| 国产高清成人在线| 亚洲黄色免费网站| 精品日韩成人av| 91麻豆免费视频| 日本一区中文字幕| 中文一区一区三区高中清不卡| 91在线观看下载| 日本在线播放一区二区三区| 精品999在线播放| 91蜜桃视频在线| 日本伊人午夜精品| 中文字幕一区二区三区不卡在线| 在线播放中文字幕一区| av网站免费线看精品| 日韩影院精彩在线| 亚洲天堂久久久久久久| 日韩视频不卡中文| 色综合视频一区二区三区高清| 日韩电影在线一区二区| 国产精品久久久久桃色tv| 欧美一区二区在线视频| 成人一道本在线| 激情五月播播久久久精品| 一级日本不卡的影视| 久久久精品国产免费观看同学| 欧美日韩免费观看一区二区三区 | 日韩欧美一级二级三级| 91丨porny丨在线| 国产99久久久精品| 日日摸夜夜添夜夜添亚洲女人| 中文字幕一区在线观看视频| 亚洲精品一区二区精华| 欧美人xxxx| 欧美性猛交xxxx黑人交| 波多野结衣精品在线| 久久国产精品72免费观看| 亚洲电影你懂得| 亚洲黄网站在线观看| 国产精品福利一区| 国产亚洲精品7777| 精品电影一区二区| 在线电影一区二区三区| 欧美色手机在线观看| 色婷婷av一区二区| 99久久精品免费看国产免费软件| 国产一区二区视频在线播放| 蜜桃视频一区二区三区在线观看| 亚洲va国产va欧美va观看| 亚洲自拍偷拍图区| 亚洲国产成人tv| 亚洲国产精品天堂| 亚洲一区二区不卡免费| 一区二区日韩电影| 亚洲黄色免费网站| 亚洲综合小说图片| 亚洲第一久久影院| 天堂一区二区在线免费观看| 香蕉加勒比综合久久| 视频一区欧美精品| 美女一区二区视频| 国产精品一二三| 国产精品一级黄| www.欧美亚洲| 色综合天天综合网天天看片| 在线亚洲一区观看| 91国偷自产一区二区三区成为亚洲经典 | 懂色av一区二区夜夜嗨| 成人av在线影院| 色婷婷久久久亚洲一区二区三区| 91蜜桃在线免费视频| 欧美三级在线播放| 欧美一级专区免费大片| 亚洲精品在线三区| 亚洲欧洲一区二区在线播放| 一区二区三区 在线观看视频| 五月婷婷另类国产| 国产一区二区精品久久91| 丁香六月综合激情| 97久久超碰精品国产| 欧美日韩免费视频| 国产日韩av一区二区| 亚洲欧美日韩在线不卡| 青青草国产精品97视觉盛宴| 国产乱对白刺激视频不卡| 91麻豆精品一区二区三区| 91.com在线观看| 国产欧美视频一区二区三区| 亚洲一二三专区| 精品一区二区三区日韩| 99久久久精品| 日韩一二三区视频| 亚洲美女免费在线| 国产精品资源站在线| 在线观看国产一区二区| 2020国产精品久久精品美国| 亚洲人成在线播放网站岛国 | 成人免费视频视频| 欧美精品99久久久**|