jessewu
01-24-2006, 12:44 PM
hi
when i use setup factory, i have serveral screen,one is product screen, another one is path,
in product screen, i put three check box here
in path screen, i put three edit box with button here
in path screen pre-load , i check the product screen check box,to show editor box and button
pre-load script as following
if FMClient.Checked then
-- Do something here, they are not equal
DlgButton.SetProperties(CTRL_BUTTON_01, {Visible=true,Enable=true});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 01, {Visible=true,Enable=true});
DlgEditField.SetProperties(CTRL_EDIT_01, {Visible=true,Enable=true});
else
DlgButton.SetProperties(CTRL_BUTTON_01, {Visible=false,Enable=false});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 01, {Visible=false,Enable=false});
DlgEditField.SetProperties(CTRL_EDIT_01, {Visible=false,Enable=false});
end;
--FM Web site
if FMWeb.Checked and FMLive.Checked then
DlgButton.SetProperties(CTRL_BUTTON_02, {Visible=true,Enable=true});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 02, {Visible=true,Enable=true});
DlgEditField.SetProperties(CTRL_EDIT_02, {Visible=true,Enable=true});
else
DlgButton.SetProperties(CTRL_BUTTON_02, {Visible=false,Enable=false});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 02, {Visible=false,Enable=false});
DlgEditField.SetProperties(CTRL_EDIT_02, {Visible=false,Enable=false});
end;
if FMWeb.Checked and FMTraining.Checked then
DlgButton.SetProperties(CTRL_BUTTON_03, {Visible=true,Enable=true});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 03, {Visible=true,Enable=true});
DlgEditField.SetProperties(CTRL_EDIT_03, {Visible=true,Enable=true});
else
DlgButton.SetProperties(CTRL_BUTTON_03, {Visible=false,Enable=false});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 03, {Visible=false,Enable=false});
DlgEditField.SetProperties(CTRL_EDIT_03, {Visible=false,Enable=false});
end;
sometime the path screen is ok, when i only check one check box in product screen, sometimes the path screen show is mixed, one button cover whole window.
is here someone can help me?
thanks
when i use setup factory, i have serveral screen,one is product screen, another one is path,
in product screen, i put three check box here
in path screen, i put three edit box with button here
in path screen pre-load , i check the product screen check box,to show editor box and button
pre-load script as following
if FMClient.Checked then
-- Do something here, they are not equal
DlgButton.SetProperties(CTRL_BUTTON_01, {Visible=true,Enable=true});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 01, {Visible=true,Enable=true});
DlgEditField.SetProperties(CTRL_EDIT_01, {Visible=true,Enable=true});
else
DlgButton.SetProperties(CTRL_BUTTON_01, {Visible=false,Enable=false});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 01, {Visible=false,Enable=false});
DlgEditField.SetProperties(CTRL_EDIT_01, {Visible=false,Enable=false});
end;
--FM Web site
if FMWeb.Checked and FMLive.Checked then
DlgButton.SetProperties(CTRL_BUTTON_02, {Visible=true,Enable=true});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 02, {Visible=true,Enable=true});
DlgEditField.SetProperties(CTRL_EDIT_02, {Visible=true,Enable=true});
else
DlgButton.SetProperties(CTRL_BUTTON_02, {Visible=false,Enable=false});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 02, {Visible=false,Enable=false});
DlgEditField.SetProperties(CTRL_EDIT_02, {Visible=false,Enable=false});
end;
if FMWeb.Checked and FMTraining.Checked then
DlgButton.SetProperties(CTRL_BUTTON_03, {Visible=true,Enable=true});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 03, {Visible=true,Enable=true});
DlgEditField.SetProperties(CTRL_EDIT_03, {Visible=true,Enable=true});
else
DlgButton.SetProperties(CTRL_BUTTON_03, {Visible=false,Enable=false});
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 03, {Visible=false,Enable=false});
DlgEditField.SetProperties(CTRL_EDIT_03, {Visible=false,Enable=false});
end;
sometime the path screen is ok, when i only check one check box in product screen, sometimes the path screen show is mixed, one button cover whole window.
is here someone can help me?
thanks