Hello,
Is there a way to have a particular hint when mouse is over the tab (where the caption is) of a tabsheet?
Tabsheet component has a red colored property "customHint" in IDE, what is its purpose, how to use it?
Regards.
qi130 hasn't added any friends yet.
03 December 2023 - 08:19 PM
Hello,
Is there a way to have a particular hint when mouse is over the tab (where the caption is) of a tabsheet?
Tabsheet component has a red colored property "customHint" in IDE, what is its purpose, how to use it?
Regards.
22 August 2023 - 07:45 PM
Hello,
I use to work with both Delphi XE5 and XE10 (Berlin) and after installing Next components, I can play with them.
I've recently installed Delphi Community Edition, how can I register Next components under this newly Delphi platform?
Should I uninstall first and reinstall the components ?
Could I "replay" the install process without uninstall ? (of course with the same V5 package)
Other way?
Thx.
05 May 2023 - 06:07 PM
Hello boki,
I can see that each TNxCustomColumn have a public "Display" property
property Display: TColumnDisplay read FDisplay;
Looking at TColumnDisplay, i see:
TColumnDisplay = class(TVirtualColElement) ... procedure DrawHintMark; virtual;
where TVirtualColElement have a public Canvas property
And this procedure ...
procedure TColumnDisplay.DrawHintMark; begin with Canvas do begin Pen.Color := clRed; Brush.Color := clRed; Polygon([Point(ClientRect.Right - 5, ClientRect.Top), Point(ClientRect.Right - 1, ClientRect.Top), Point(ClientRect.Right - 1, ClientRect.Top + 4)]); end; end;
... is what I ask in a previous topic
I try to call it from my app at the end of Formcreate
NxCol_Colonne.Display.DrawHintMark;
giving an access violation.
I try in debug mode and I see that NxCol_Colonne.Display.canvas value is nil
Is there a way to fix it?
18 January 2023 - 03:48 PM
Hello !
I need to get the row number. Unfortunatly, the only parameter for the ButtonClick event manager is "Sender:TObject"
How to deal with the Sender to get the Arow value for the button?
Thx.
05 January 2023 - 11:10 PM
Hello !
In my app, I create columns in an empty grid depending on SQL definition of the queried fields
I.e char or varchar => textcolumn, numeric (int, float,...)=> Numbercolumn, etc.
GridResultat.Columns.Add(TNxNumberColumn,DC_Query.Fields.SqlName[j] );
=> the header caption is correctly set with Fields.SqlName
I've found a bug in my app for Numbercolumn when trying to set cell content for a SQL null :
if DC_Query.Fields.IsNull[j] then GridResultat.Cell[j,i].AsString:='<null>'
=>
'<null>' is not a correct float value
Several topics in the forum refer to HideWhenEmpty and EmptyCaption properties, but I'm not able to access them in runtime
TNxNumberColumn(GridRequete.ColumnByName[DC_Query.Fields.SqlName[j]]).HideWhenEmpty:=true;
or
(GridRequete.ColumnByName[DC_Query.Fields.SqlName[j]] as TNxNumberColumn).Header.Caption // in a MessageBox
both fire an access violation
What is the correct syntax to proceed?
Thx