allow for icons in cells(from make a DLL) on 9/23/2009 3:09:33 AM(repost)
$30-5000 USD
Paid on delivery
please see the attached video (the right codec is available at [url removed, login to view]).
I need the effect of adding multiple icons (together with their ID and text description) to a cell of a grid of type TProfGrid.
my icons will be of type
TMyIcons=class(TComponent)
begin
icon:TIcon;
ID:string; // guid
text:string;
end;
A TProfGrid has built-in code to store one icon inside a cell.
I suggest that you forget this code.
Also please don't use fields CustomData and CellObject as their are used for other scopes in the current application.
A cell should be able to store multiple icons. Let's call the set of icons (at left) and text (following at right) a multimedial cell containt (MCC).
The MCC should behave exactly as it were text only.
For instance, the MCC will be aligned (left/right/center) according to property HorizontalAlignment, and it will be
wrapped according to property WordWrap (and other settings).
A cell can store multiple icons.
An icon can be dragged from cell A into cell B or to/from a remote component.
Method
function [url removed, login to view](acol,arow:integer;IconId:string):boolean;
will tell if a given icon is in cell X.
Method
function [url removed, login to view](var acol,arow:integer; var IconId:string):boolean;
will tell which icon of which cell is currently under the mouse
Method
function [url removed, login to view](IconId:string):string;
will return the text linked to a given icon.
Project ID: #2899885