Thursday 1 March 2012

Dialogs

1) if You have 6-8 Unbound controls then we are creating Dialogs

2)Ok and Cancel Buttons are by defult on dialogs

3){
Dialog d = new Dialog("I am dialog ex");
Dialogfield dfName ,dfAccno;
;
dfName = d.addfield(Type::string ,"Name-lable",Name of the person-heldtext);
dfAccno = d.addfield(Typeid(CustAccno-EDT));
if(d.run())
{
info(dfName.value());
info(dfAccno.value());
}
else
{
throw error("");
}
}

No comments:

Post a Comment