TOPIC: Making a Mshtml control always enabled?
#1589
Making a Mshtml control always enabled? 10 Months, 2 Weeks ago
I have a Mshtml control that is part of an Access. When the Access control is not in edit mode, the Mshtml control is disabled even causing scrolling to not be available.

Is there a way to override this and make the Mshtml always scrollable.

Jeremy
 
 
#1590
Re:Making a Mshtml control always enabled? 10 Months, 2 Weeks ago
I did this for now (not sure if it's the best or not):

HtmlViewControl:
Code:


MshtmlControl {
  // Ignore read-only requests as it causes the scroll bar to not function.
  SetReadOnly(readonly /* unused */) {}
}



Then just swapped my control to use HtmlView instead of Mshtml.
Jeremy
 
 
#1591
Re:Making a Mshtml control always enabled? 10 Months, 2 Weeks ago
Seems reasonable to me, an MshtmlControl is more or less read-only all the time.

We could probably add this to the standard MshtmlControl
 
 
andrew