【PC博客】火山PC画板升级超级列表框
本帖最后由 1185907650 于 2021-2-14 14:24 编辑首先来个演示图:
https://www.lkuaiy.com/image/editor/16041017402739.gif
一、窗口布局
用画板、图片框、纵向滚动条、按钮来布局。
https://www.lkuaiy.com/image/editor/16041015136727.png
https://www.lkuaiy.com/image/editor/16041015228234.png
二、创建列表项类
Ctrl D新建类,Ctrl L添加变量
这个类用于记录存放列表信息
https://www.lkuaiy.com/image/editor/16041015303086.png
三、创建变量
在我的主窗口下创建如下变量,并加入刚创建的列表类变量
https://www.lkuaiy.com/image/editor/16041015364934.png
四、创建初始化方法
Ctrl M创建方法
本方法的目的是,当点击了画板列表,将原点击处还原
https://www.lkuaiy.com/image/editor/16041015435213.png
五、初始界面
https://www.lkuaiy.com/image/editor/16041015516630.png
六、添加表项
https://www.lkuaiy.com/image/editor/16041015588830.png
https://www.lkuaiy.com/image/editor/16041015659972.png
七、删除表项
https://www.lkuaiy.com/image/editor/16041016235380.png
八、添加事件
①单击事件
https://www.lkuaiy.com/image/editor/16041016503313.png
https://www.lkuaiy.com/image/editor/16041016576943.png
②画板事件
https://www.lkuaiy.com/image/editor/16041016648444.png
https://www.lkuaiy.com/image/editor/16041016704656.png
https://www.lkuaiy.com/image/editor/16041016776216.png
③滚动条事件
https://www.lkuaiy.com/image/editor/16041016871114.png
https://www.lkuaiy.com/image/editor/16041016961112.png
**** Hidden Message *****
不错不错 htpmcj 发表于 2020-11-2 12:41
不错不错
共同努力 推广火山,义不容辞 看下 :噜阿噜 推广火山义不容辞 非常优秀
赞美阿里路亚!这个必须顶 推广火山,义不容辞