⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list.frm

📁 CForms, by Lars Berntzon (Stockholm, Sweden), is a tool for building interactive forms-driven applic
💻 FRM
字号:
/* * Test application for CForms. * @(#) list.frm,v 1.4 1993/05/10 22:52:01 lasse Exp */Viewport view {    Pos 0,0;    Size 80, 23;}CCode {    extern int cur_row;}Picture List Viewport View{    Literal Center, 1,  "List of persons";    Literal +0, +1, "---------------";    Event Key CR { pic_call(picture("welcome"), NULL); }    Event Key DOWN {	if (cur_row < 9 && !fld_isempty(NULL)) {	     fld_move(field("Name%d", ++cur_row));	}    }    Event Key UP   { if (cur_row > 0) fld_move(field("Name%d", --cur_row)); }    Event Key Left { return; }    Event Key Right { return; }    Event Key ESC { pic_leave(); }    Event Key F8 { pic_leave(); }    Event Key TAB  forget;    Field Name0   { Pos 10, 5;   Type Char(20); LValue "["; Protected; }    Field Adress0 { Pos +20, +0; Type Char(20); RValue "]"; Protected; }    Field Name1   { Pos -20, +1; Type Char(20); LValue "["; Protected; }    Field Adress1 { Pos +20, +0; Type Char(20); RValue "]"; Protected; }    Field Name2   { Pos -20, +1; Type Char(20); LValue "["; Protected; }    Field Adress2 { Pos +20, +0; Type Char(20); RValue "]"; Protected; }    Field Name3   { Pos -20, +1; Type Char(20); LValue "["; Protected; }    Field Adress3 { Pos +20, +0; Type Char(20); RValue "]"; Protected; }    Field Name4   { Pos -20, +1; Type Char(20); LValue "["; Protected; }    Field Adress4 { Pos +20, +0; Type Char(20); RValue "]"; Protected; }    Field Name5   { Pos -20, +1; Type Char(20); LValue "["; Protected; }    Field Adress5 { Pos +20, +0; Type Char(20); RValue "]"; Protected; }    Field Name6   { Pos -20, +1; Type Char(20); LValue "["; Protected; }    Field Adress6 { Pos +20, +0; Type Char(20); RValue "]"; Protected; }    Field Name7   { Pos -20, +1; Type Char(20); LValue "["; Protected; }    Field Adress7 { Pos +20, +0; Type Char(20); RValue "]"; Protected; }    Field Name8   { Pos -20, +1; Type Char(20); LValue "["; Protected; }    Field Adress8 { Pos +20, +0; Type Char(20); RValue "]"; Protected; }    Field Name9   { Pos -20, +1; Type Char(20); LValue "["; Protected; }    Field Adress9 { Pos +20, +0; Type Char(20); RValue "]"; Protected; }    Literal Center, Max, "(ESC - Leave)";}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -