Jump to content

Recommended Posts

Posted

I try to color cell in UniDBGrid whit Event OnDrawColumnCell and get error "Property and method UniDBGrid1DrawColumnCell are not compatible"... Is any solution to color cell in DBGrid????? Sample?

  • Administrators
Posted

I try to color cell in UniDBGrid whit Event OnDrawColumnCell and get error "Property and method UniDBGrid1DrawColumnCell are not compatible"... Is any solution to color cell in DBGrid????? Sample?

 

Code sample please.

  • Administrators
Posted

procedure TMainForm.UniDBGrid1DrawColumnCell(Sender: TObject; ACol,
 ARow: Integer; var Value: string; Column: TUniDBGridColumn;
 Attribs: TUniCellAttribs);
begin
Attribs.Color:=clRed;
end;

 

Your project already contains a draw event which is created in a older version of uniGUI . Event format has changed in 0.88.0. Remove this event and add it again.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...