🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: cn.bbs.comp.program
1 messages
1 total messages Started by ���ܵ�Сʨ Sat, 18 Apr 1998 00:00
PowerBuilder���¼�(��)
#1211
Author: ���ܵ�Сʨ
Date: Sat, 18 Apr 1998 00:00
186 lines
13229 bytes
  �б����Ϣ(ǰ׺:pbm_lb)
    addstring       ���б��ؼ�������һ���һ���ַ�
    deletestring    ���б����ɾ��һ���һ���ַ�
    dir             ��Ŀ¼�б�����б��
    findstring      ���б��������������ַ���ƥ��ĵ�һ
��
    findstringexact ���б��������������ַ�ȷƥ��ĵ�һ
��
    getcaretindex   ���б��������ӵ�о۽�����
    getcount        ȷ���б���е�����
    getcursel       ȷ����ѡ���ǵڼ���
    gethorizontalextent ����б��Ŀ�ȡ�����ˮƽ���
    getitemheight   ȷ���б��ؼ�����ĸ߶�
    getitemrect     ȷ���б��ijߴ�
    getsel          ����б���е�ǰ��ѡ����
    getselcount     �ڶ�ѡ�б���л����ѡ�����Ŀ
    getselitems     ���б���б����Ե�������һ�������
������
    gettext         ����б���е�ǰ��ѡ����ı�
    gettextlen      ����б���е�ǰ��ѡ����ı��е��ַ���
    gettopindex     ȷ���б���пɼ��������һ������
    insertstring    ���б���м���һ�����ַ�
    resetcontent    ����(���)�������
    selectstring    ����������������ַ�ƥ����ַ�
    selitemrange    ѡ��/ȡ���б����ijһ��Χ�е���
    setcaretindex   �����б���е�ijһ��ӵ�о۽�
    setcolumnwidth  �����б�����еĿ��
    setcursel       ���б����ѡ�񲢼���һ��;�����Ҫ,�����
��
    sethorizontaltext   �����б���б�ˮƽ����ĵ�Ԫ��
    setitemdata     �������б����ص�32λ/4�ֽ�ֵ
    setitemheight   �����б������ĸ߶ȡ�
    setsel          ���б����ѡ��һ���ַ�
    settabstops     �����б��ؼ���tabstops��λ��
    settopindex     ����б��ʹ�ض������Ϊ�ɼ��������һ��
    �б��֪ͨ��Ϣ(ǰ׺:pbm_en)
    dblclk          �û����б��ؼ��е�ijһ����˫��
    errspace        �û���ͼ��Խ�����б���������ַ�������
��
    selcancel       ��ǰѡȡ�ı���ȡ��
    selchange       �û����б����ѡ���ȡ����һ��
    ������Ϣ(ǰ׺:pbm_)
    activateapp     ������Ĵ�����������һ��Ӧ��
    askcbformatname Ҫ�������е����ݱ����Ƶ�һ��ʹ���Զ���
��ʽ���ı���������
    char            ���ͼ����ϰ��µļ�
    chartoitem      ͨ��ת�����������ַ�,�����б��λ����
����
    childactivate   һ���Ӵ��ڱ��ƶ��򼤻�
    clear           �û�Ҫɾ��ǰ�༭���ؼ��е�����
    command         �û�ѡ����һ���˵���ؼ�,��ʹ���˼���
��
    compacting      ϵͳ�ڴ���Դ����;��Windowsռ���˶���1/8
��CPUʱ������ڴ�ʱ,����������Ϣ
    compareitem     ���µ�һ������б�����Ͽ�ʱ�������
Ϣ,Window��������Ϣ������֮��ıȽ�
    ctlcolor        һ���ؼ�����������,���ڴ�ʱ�ı�ؼ�����
ɫ
    deadchar        �û�ѡ����һ�ַ�Ӣ���ַ�����������ַ�
��,�⽫�ı����潫Ҫ������ַ�
    deleteitem      ���б���ͨ�öԻ�������ȥһ��
    destroyclipboard    ��������ݱ����
    devmodechanged      WIN.INI�е�һ���豸���޸�
    drawclipboard   ��������ݷ���ı�
    drawitem        �б���ͨ�öԻ����һ�����ݱ��ı�
    dropfiles       ����������һ��ע��Ϊ�Ϸ��ļ���������Ӧ
�����ͷ�ʱ,��������Ϣ
    erasebkgnd      ���ڵĿͻ�����Ҫ�ػ�
    fontchange      Ӧ�ÿ��õ�������ı�
    getdlgcode      ֪ͨ��Ϣ,˵����ǰʹ���������͵ļ���
    getfont         ��ȡ��ǰ���������
    getminmaxinto   Windows���ڼ����С������󻯴��ڵijߴ�
    gettext         ��һ���ؼ�(�簴ť��༭���ؼ�)�и����ı�
��һ���ڴ滺����
    gettextlength   ����ȷ��һ���ؼ��е��ַ���
    hscrollclipboard    ������ˮƽ�������ʹ��
    iconerasebkgnd  һ����С��������Ҫ�ػ�����
    initdialog      һ���Ի��򼴽�����ʾ
    initmenu        һ���˵���������ʾ
    initmenupopup   һ������ʽ���ڼ�������ʾ
    keydown         �����ϵ�һ������
    keyup           �����ϵ�һ�����ͷ�
    mdiactive       һ��MDI�Ӵ���(�?)������
    mdicascade      ���ص�����ʽ�������еı?
    mdicreate       ����һ���?
    mdidestroy      ��MDI�������ȥһ���?
    mdigetactive    ��õ�ǰ���MDI�?�ľ��
    mdiiconrange    ��һ��MDI�����������С���?��ͼ��
    mdimaximize     ���һ��MDI�ӱ?
    mdinext         ������һ��MDI�?(�����Ż�?�ı?)
    mdirestore      ��MDI�?�ָ�����ԭ���Ĵ�С
    mdisetmenu      ��һ���˵���һ��MDI�?��ϵ����
    mdifitle        ƽ�����е�MDI�?
    measureitem     �����Ϣ���͸������ġ����а�ť������
�ؼ��Ĵ���
    menuchar        �û�ʹ����һ����ݼ�,��ϵͳ��֧�ָÿ��
��
    menuselect      �û�ѡ����һ���˵���
    mouseactivate   �û���һ���ǻ�����е�������
    mousemove       �û��ƶ������
    ncactivate      ���ڵķǿͻ���������
    nccalcsize      ���ڵijߴ���Ҫ���¼���
    nccreate        ���ڼ���������ķǿͻ���
    ncdestroy       ���ڵķǹ���������
    nchittest       ÿ�ηǿͻ����ƶ�ʱ�����͸���Ϣ
    nclbuttondblclk �û��ڷǿͻ���˫����������
    ncpaint         �ǿͻ���Ҫ����
    nextdlgctl      �ڶԻ����н��۽�ת����һ���ؼ�
    paint           ���ڵĿͻ�����Ҫ������
    paintclipboard  �����Ӧ���м������,�����鿴�����ػ�
    palettechanged  ϵͳ��ɫ�屻�ı�
    paletteischanging   ϵͳ��ɫ�弴�����ı�
    parentnotify    ֪ͨ������һ���Ӵ��ڼ���������
    querydragicon   �û�Ҫ��һ����С������
    queryendsession ֪ͨ��Ϣ,˵�����ڼ������ر�
    querynewpalette Ӧ�ü����յ�����۽�,Ӧ��ִ�б�Ҫ����ɫ
����
    queryopen       һ����С�����ڼ������ָ�
    quit            Ӧ�ô�������һ����Ϣ
    renderallformats    ֪ͨһ��������ʽ��ӵ����,Ӧ�ý�ʧ
ȥ���еĸ�ʽ
    renderformats   ֪ͨ��Ϣ,˵�����ڼ�����е����Ӧ����һ
�������ʽ����
    setcursor       ֪ͨ��Ϣ,˵�����ָ����һ���������ƶ�
    setfont         �����ڶԻ����иı�����
    setredraw       �ڼ�һ������֮ǰ���͸��б���ͨ�öԻ���
    settext         �����ı䴰�ڵı�����ı�
    sizeclipboard   �����鿴��Ӧ�øı�ߴ�
    spoolerstatus   һ����ӡ������������ӻ�ɾ��
    syschar         <ALT>�������ij��ͬʱ������
    syscolorchange  һ�ֻ����ϵͳ��ɫ���ı�
    syscommand      �û�ѡ����һ��ϵͳ�˵�����
    sysdeadchar     ֪ͨ��Ϣ,˵��һ�ַ�Ӣ���ַ�ѡ��
    syskeydown      �û�����ij���ͬʱ������<ALT>��
    syskeyup        �û��ͷ���<ALT>��ϼ�
    timechange      ϵͳʱ�ӱ��޸�
    undo            ��undo���������ı����༭���ؼ�
    vkeytoitem      ��һ���б��ӵ�о۽�ʱ,�û�������һ����
    vscroll         �û�����˴�ֱ�����
    vscrollclipboard    �����鿴���Ĵ�ֱ����������
    windowposchanged    ����λ�÷���ı�
    windowposchanging   ����λ�ü�������ı�
    wininichange    WIN.INI�ļ����޸�
    ��̾���
    ��������û�����ʹ�û���DOSƽ̨������ַ��ն˵����Ӧ
��,����Щ�����,ͬһ�������µĶ��������֮��۽���ת��һ����
������س����,��˴�����¼��Ա��ϰ����ʹ�ü����Ҳ����
�ּ���¼�����,ÿ�����¼����û��س�,ת����һ���������W 
indows������,ͬһ�������²�ͬ�ؼ�֮���ת������tab��ʵ�ֵ�,
��һ��DataWindow��������FreeForm��ʽ����Tabular��Grid��ʽ,ϵ
ͳȱʡ����ʹ��tab���Shift-tab��ת������һ������л���һ����
����;���û��û��س���,ϵͳ�Ὣ�۽�ת����һ����¼�ĵ�һ������
���ϡ������û��ͻ��򿪷���������������:ϣ���ûس�����ʵ��
��֮����л�,�Է��¼��Ա��ϰ�ߡ�
    ���������Ϥ��DataWindow���¼�����,�Ϳ�������׾ٵ�ʵ��
�������ܡ�������Data Window�ж���һ��EnterKey�¼�,�Բ�׽�û�
��DataWindow������Ļس�,������Ӧʵ�ֵĹ��ܽ���ת����
    ��"UserEvents..."�ĶԻ����м���EventNameΪEnterKey,Event
IDΪpbm_dwnprocesse nter���¼�,����������:
    int li_CurCol
    int li_cnt
    �εõ���ǰ������ڵ�����
    li_CurCol=getcolumn()
    ������DataWindow����6��
    if li_CurCol<6 then
    �����ǰ�в������һ��,���۽�ת����һ��
     setcolumn(li_CurCol+1)
    elseif rowcount()<=getrow() then
    �ε�ǰ�������һ��,���ҵ�ǰ�������һ��,
    ��������һ��,�����۽�ת�����еĵ�һ��
      li_cnt=insertrow(0)
      scrolltorow(li_cnt)
      setcolumn(1)
    else
    �ε�ǰ�������һ��,��ǰ�в������һ��,�򽫾۽�ת����һ��
�ĵ�һ��
      li_cnt=getrow()+1
      setrow(li_cnt)
      scrolltorow(li_cnt)
      setcolumn(1)
    endif
    return1

--
�� ��Դ:���ϴ�С�ٺ���Ϣ����վ bbs.nju.edu.cn��[FROM: hsia.nju.edu.cn]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads