Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 1 of 1 total
Thread 1.01 Build 2 Uploaded
Thu, Oct 25 2012 2:00 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Just to let everyone know, there's a bug in 1.01 B1 with the TGrid:

http://www.elevatesoft.com/incident?action=viewrep&category=ewb&release=1.01&incident=3663

There's a new Build 2 up there now that fixes this, or you can apply the
patch yourself:

Replace this method in WebCtrls.wbs:

procedure TGrid.SetCell(ACol, ARow: Integer; const NewValue: String);
var
  TempElement: THTMLElement;
  TempCheckBox: THTMLElement;
begin
  TempElement:=GetCellElement(ACol,ARow);
  with FColumns[ACol] do
     begin
     case ControlType of
        ctCheckBox:
           begin
           TempCheckBox:=THTMLElement(TempElement.lastChild);
           if StrToBool(NewValue) then
              TempCheckBox.className:='chk_c_'+GetCellClassSuffix(-1,False)
           else
              TempCheckBox.className:='chk_u_'+GetCellClassSuffix(-1,False);
           end;
        else
           SetElementText(TempElement,NewValue);  /// Fix
        end;
     if ShowHint then
        TempElement.title:=NewValue;  /// Fix
     end;
end;

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Image