Jump to content


Speed

Member Since 08 Jun 2005
Offline Last Active Jul 01 2025 02:20 AM
-----

Topics I've Started

TNxAlertWindow Closing.

23 May 2025 - 03:30 AM

Hi Boki,

 

I mainly using NextSuite 6 but I like the TNxAlertWindow from NextSuite 5 for some things.

 

I have a couple of event handlers in an application that show when a connection to a server application has been lost, and when it reconnects.

 

What I'm trying to do is, if the disconnection alert is still showing when a connection is reestablished, it will be closed and the re-connection alert shown instead.

 

However, it doesn't seem to work.  The code is below.

 

= Steve

procedure TfrmMain.ConnectionLost(Sender: TObject);
begin
   LostConnectionNotification.CloseDelay := 5000;
   LostConnectionNotification.Popup;
end;

// ****************************** TfrmMain.ConnectionReEstablished **************************************************
procedure TfrmMain.ConnectionReEstablished(Sender: TObject);
begin
   if LostConnectionNotification.Showing then
   begin
      LostConnectionNotification.Close;
   end;

   ReconnectionNotification.CloseDelay := 5000;
   ReconnectionNotification.Popup;
end;

 


 

 


Enable/Disable Button in a Column and Row.

22 January 2025 - 03:22 AM

Hi Boki,

 

What is the syntax for enabling/disabling a button in a TNxButtonColumn6 of a specific row?

 

In other words, I don't want to enable/disable all buttons in the column, just ones in specific rows.

 

Thanks.

 

= Steve

 


InactiveSelection Font Colour.

11 December 2024 - 07:03 AM

Hi Boki,

 

TNextGrid6 has an InactiveSelectionColor property, which I use all of the time.  I set it to the same colour as the SelectionColor property.  However, the font colour defaults to black.  Would it be possible to add a font property for the inactive selection colour?

 

Thanks.

 

= Steve

 


Drag and Drop Within Grid.

04 December 2024 - 04:26 AM

Hi Boki,

 

Is it possible to drag and drop within a grid?

 

Say, for example. I want to drag and drop a cell onto another cell in the same column, or a different column.

 

= Steve