csd214
10-23-2004, 09:21 AM
Have you noticed an ugly partially screen erase and a delay when you go from "Select Install Folder" to "Select Shortcut Folder"? ? ? ?
This happens when the current user profile has "a lot" of shortcuts. I have experienced a process delay of 30 secs on a slow machine. In this period the end user is glaring at "the partially erased" screen (Install folder).
The behavior is caused by the actions in Shortcut Folder.On Preload (when the previous screen still is displayed). The easiest work-around I have found is:
Avoid the delay
Redefine function g_FillComboBoxWithShortcutFolders(nComboBoxID) in Global Functions (copy the function from _SUF70_Global_Functions.lua and paste it into the projects Global Functions). No modifications are needed.
Postpone the erase
Change the sequence in Select Shortcut Folder.On Preload. Move this paragraph to the end of On Preload actions:
if(bHideUserProfileOptions)then
DlgRadioButton.SetProperties(CTRL_RADIOBTN_PERUSER ,{Visible = false});
DlgRadioButton.SetProperties(CTRL_RADIOBTN_ALLUSER S,{Visible = false});
-- Always use per user folders on Windows 95/98/ME
_UsePerUserFolders = true;
else
DlgRadioButton.SetProperties(CTRL_RADIOBTN_PERUSER ,{Checked = _UsePerUserFolders});
DlgRadioButton.SetProperties(CTRL_RADIOBTN_ALLUSER S,{Checked = not _UsePerUserFolders});
end
Maybe the developers have another solution in the next service release?
This happens when the current user profile has "a lot" of shortcuts. I have experienced a process delay of 30 secs on a slow machine. In this period the end user is glaring at "the partially erased" screen (Install folder).
The behavior is caused by the actions in Shortcut Folder.On Preload (when the previous screen still is displayed). The easiest work-around I have found is:
Avoid the delay
Redefine function g_FillComboBoxWithShortcutFolders(nComboBoxID) in Global Functions (copy the function from _SUF70_Global_Functions.lua and paste it into the projects Global Functions). No modifications are needed.
Postpone the erase
Change the sequence in Select Shortcut Folder.On Preload. Move this paragraph to the end of On Preload actions:
if(bHideUserProfileOptions)then
DlgRadioButton.SetProperties(CTRL_RADIOBTN_PERUSER ,{Visible = false});
DlgRadioButton.SetProperties(CTRL_RADIOBTN_ALLUSER S,{Visible = false});
-- Always use per user folders on Windows 95/98/ME
_UsePerUserFolders = true;
else
DlgRadioButton.SetProperties(CTRL_RADIOBTN_PERUSER ,{Checked = _UsePerUserFolders});
DlgRadioButton.SetProperties(CTRL_RADIOBTN_ALLUSER S,{Checked = not _UsePerUserFolders});
end
Maybe the developers have another solution in the next service release?