num = 取随机数 (1, 10)
i = XList_AddItemText (m_hList, L (到文本 (XList_GetCount_AD (m_hList) + 1)))
XList_SetItemText (m_hList, i, 1, L (“方便面”))
XList_SetItemText (m_hList, i, 2, L (“¥10”))
XList_SetItemText (m_hList, i, 3, L (到文本 (num)))
XList_SetItemText (m_hList, i, 4, L (到文本 (num × 10)))
XEle_AdjustLayout (m_hList)
XEle_RedrawEle (m_hList, 假)
XSView_ScrollBottom (m_hList)
XShapeText_SetText (m_hShapeText, L (“合计: 共 ” + 到文本 (XList_GetCount_AD (m_hList)) + “ 个项目”))
上一篇 游戏远程线程调用安放植物CALL
下一篇 仿大漠插件找字例程