void MCScrollbar::SetNumberFormat(MCExecContext& ctxt, MCStringRef p_format) { bool t_dirty = false; uint2 fw, trailing, force; MCU_setnumberformat(p_format, fw, trailing, force); if (nffw != fw || nftrailing != trailing || nfforce != force) { flags |= F_HAS_VALUES; nffw = fw; nftrailing = trailing; nfforce = force; t_dirty = true; } Redraw(t_dirty); }
void MCExecPoint::setnumberformat() { MCU_setnumberformat(svalue, nffw, nftrailing, nfforce); }