Hi
#1. in columns editor, when i click convert for textcol to lookup col ide raises av at line 1456 in nxcolumns
function TNxColumns.GetCount: Integer;
begin
Result := FItemsList.Count; // here
end;
#2.in columns editor, i've set the inplace editor for one column to a nxedit on the same form which has an nxautocomplete
attached to it. but when editing the column, the autocomplete function doesnt work. waht am i doing wrong?
- Berg Forum
- → bgreene's Content
bgreene's Content
There have been 4 items by bgreene (Search limited from 26-April 23)
#7854 bug in oct11 release, convert column
Posted by bgreene on 12 October 2007 - 12:13 PM in NextDBGrid Component
#7853 bug in v4.2 oct10
Posted by bgreene on 12 October 2007 - 11:39 AM in NextDBGrid Component
QUOTE (Boki (Berg) @ Oct 11 2007, 11:53 PM) <{POST_SNAPBACK}>
Hello Bgreene,
4) Maybe coEdit flag in Column.Options is set to False? If you can send me small example of code or small project I may see where is a problem.
4) Maybe coEdit flag in Column.Options is set to False? If you can send me small example of code or small project I may see where is a problem.
That was the problem. I thought editing would be true by default.
Perhaps you could add the following to your grid next release.
if user enters an invalid value eg string in a number field, it generates an invalid value exception. in my case, eurekalog would pick this up and treat it the same as a bug in the program. i can filter out these non-bugs but it would be nice if your grid would trap these invalid data entries, pop up a dialogue and prevent the exception from going further up the line.
Regards bill
#7852 nxprogress bug in oct11 release
Posted by bgreene on 12 October 2007 - 11:30 AM in Next Addons
nxprogress causes av when ide closes because its owner is application and not self.
can be fixed by
constructor TNxProgress.Create(AOwner: TComponent);
.......
FForm := TForm.CreateNew(Application);
// bill greene
FForm.freeNotification(self);
and then override notification
procedure TNxProgress.Notification(AComponent: TComponent;
Operation: TOperation);
begin
if (operation = opRemove) and (aComponent = FForm) then
FForm := nil;
inherited notification(aComponent, operation);
end;
can be fixed by
constructor TNxProgress.Create(AOwner: TComponent);
.......
FForm := TForm.CreateNew(Application);
// bill greene
FForm.freeNotification(self);
and then override notification
procedure TNxProgress.Notification(AComponent: TComponent;
Operation: TOperation);
begin
if (operation = opRemove) and (aComponent = FForm) then
FForm := nil;
inherited notification(aComponent, operation);
end;
#7848 bug in v4.2 oct10
Posted by bgreene on 11 October 2007 - 11:19 PM in NextDBGrid Component
just installed v4.2
1. following change needed to prevent av when inplaceeditor for a column is changed back to nil
procedure TNxCustomColumn.SetInplaceEdit(const Value: TNxCustomEdit);
begin
if FInplaceEdit <> Value then
begin
// bill greene
if assigned(FInplaceEdit) then RemoveFreeNotification(FInplaceEdit);
FInplaceEdit := Value;
if assigned(FInplaceEdit) then FreeNotification(FInplaceEdit);
end;
end;
2. $define_trial is still defined in nxdbgrid
3. nx_debug is still defined in nxsuite.inc so grid shows remarks at top in claqua
4. try as i might, i cant get the grid to accept keyboard input. i'm using a memory table which
works fine with a normal grid.
1. following change needed to prevent av when inplaceeditor for a column is changed back to nil
procedure TNxCustomColumn.SetInplaceEdit(const Value: TNxCustomEdit);
begin
if FInplaceEdit <> Value then
begin
// bill greene
if assigned(FInplaceEdit) then RemoveFreeNotification(FInplaceEdit);
FInplaceEdit := Value;
if assigned(FInplaceEdit) then FreeNotification(FInplaceEdit);
end;
end;
2. $define_trial is still defined in nxdbgrid
3. nx_debug is still defined in nxsuite.inc so grid shows remarks at top in claqua
4. try as i might, i cant get the grid to accept keyboard input. i'm using a memory table which
works fine with a normal grid.
- Berg Forum
- → bgreene's Content
- Privacy Policy