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);
}
示例#2
0
文件: execpt.cpp 项目: bduck/livecode
void MCExecPoint::setnumberformat()
{
	MCU_setnumberformat(svalue, nffw, nftrailing, nfforce);
}