请问怎么实现在FOMR关闭时执行一些操作?
如题,希望在关闭FORM时Dehighlight所有器件,请问怎么实现?谢谢! axlDehighlightObject( axlDBGetDesign()->symbols) 在关闭窗口的时候执行这句应该就行了。。。 本帖最后由 這侽孓譙悴丶 于 2014-11-1 15:30 编辑axlFormClose()
axlDehighlightObject( axlDBGetDesign()->symbols)
這侽孓譙悴丶 发表于 2014-11-1 15:28
axlFormClose()
axlDehighlightObject( axlDBGetDesign()->symbols)
我需要在点击form右上角的叉叉关闭时执行动作,请问怎么把代码写入这个关闭事件中? 在FORM ACTION函数中添加以下内容:
when(form->doneState == 3
axlUIConfirm("something you want to do.....")
);end when
注意以上form为FORM窗口的DBID The doneState shows 0 for most actions. Selecting a Done or OK button sets the done state. Selecting a Cancel button sets the cancel state. With the done or cancel state set, you use axlFormClose to close the form. Setting the abort state closes the form, even if you do not issue an axlFormClose command.
页:
[1]