Jump to content


Speed's Content

There have been 38 items by Speed (Search limited from 25-April 23)


By content type

See this member's


Sort by                Order  

#21622 TUxNotificationsManager Fonts and Colours.

Posted by Speed on 12 April 2024 - 01:33 AM in Next Collection v6 Sub-Suite

<bump>




#21621 No Menu Button?

Posted by Speed on 12 April 2024 - 01:32 AM in NextGrid v6 Component

<bump>




#21620 TNxButton6 Text Alignment Guide.

Posted by Speed on 12 April 2024 - 01:31 AM in Next Collection v6 Sub-Suite

Any thoughts on this?




#21619 NxComboBox6 DropDown Button.

Posted by Speed on 12 April 2024 - 01:31 AM in Next Collection v6 Sub-Suite

I have discovered that this only happens if the control has a hint that is displayed.




#21602 TNxButton6 Text Alignment Guide.

Posted by Speed on 14 March 2024 - 06:18 AM in Next Collection v6 Sub-Suite

I was wondering why the TNxButton6 component doesn't have a text alignment guide like other buttons.

 

In this example, it is easy to align the label correctly because of the text alignment guide:

 

Alignment Guide.jpg

 

With the TNxButton 6, there is no text alignment guide, making it a bit of guesswork to align the text correctly:

 

No Alignment Guide.jpg




#21588 NxComboBox6 DropDown Button.

Posted by Speed on 13 February 2024 - 03:30 AM in Next Collection v6 Sub-Suite

It seems to be intermittent.




#21587 NxComboBox6 DropDown Button.

Posted by Speed on 13 February 2024 - 03:12 AM in Next Collection v6 Sub-Suite

Hi Boki,

 

This may be just a property I haven't set right.  When I click on the down-arrow button of the combobox, the drop-down list drops down and then closes immediately.  I want to be able to have it stay open so I can go through the list.

 

= Steve

 




#21585 Scrolling Wheel Doesn't Work with TNxComboBox6.

Posted by Speed on 08 February 2024 - 12:48 AM in Next Collection v6 Sub-Suite

When the list is open in the TNxComboBox6 control, the arrow keys can be used to scroll through the list, and the mouse can be used to drag the scrollbar, but the mousewheel doesn't scroll through the list.

 

= Steve

 




#21573 No Menu Button?

Posted by Speed on 12 December 2023 - 08:18 AM in NextGrid v6 Component

Hi Boki,

 

I noticed that you don't have a menu button.  Do you have any plans on making one?

 

Menu Button.png

 

= Steve

 




#21565 TUxNotificationsManager Suggestion.

Posted by Speed on 25 November 2023 - 04:56 AM in Next Collection v6 Sub-Suite

Hi Boki,

 

This will make things complicated so it may not be worth the time doing it, but my suggestion is to add an optional Snooze button to notifications with perhaps a selectable time delay.

 

The TUxNotificationsManager may not be designed to handle it so i could be to much to ask.

 

Anyway, it's just a thought.

 

= Steve




#21564 TUxNotificationsManager.

Posted by Speed on 25 November 2023 - 04:52 AM in Next Collection v6 Sub-Suite

Hi Boki,

 

Never mind.  The reminders are stored in a database, so when the user clicks close I'll just disable the reminder in the database.

 

= Steve




#21563 TUxNotificationsManager.

Posted by Speed on 25 November 2023 - 03:45 AM in Next Collection v6 Sub-Suite

Hi Boki,

 

I'm not sure if this is the correct way to do this but I get a List Index Out of Bounds (-1) error when I do.
 

procedure TfrmMain.ReminderClosed(Sender: TObject);
var
   ReminderIndex, NotificationsIndex, i: integer;
   Reminder: TUxNotificationControl;
   ReminderText: string;
begin
   // Get the reminder that has closed.
   ReminderText := TUxNotificationControl(Sender).Text;

   // This is not an AutoClose reminder so we can remove it from the list of reminders.
   if not TUxNotificationControl(Sender).AutoClose then
   begin
      // Find a match for this reminder
      for i:= (NotificationControls.Count - 1) downto 0 do
      begin
         Reminder := TUxNotificationControl(NotificationControls[i]);

         if SameText(Reminder.Text, ReminderText) then
         begin
            NotificationsIndex := NotificationControls.IndexOf(Pointer(Reminder));

            NotificationControls.Delete(NotificationsIndex);

            Break;
         end;
      end;
   end;
end;

The error occurs here in the UxControls6.pas unit, on the line shown in the attached image.  It's probably something I'm doing wrong.

 


= Steve

Attached Thumbnails

  • Popup Error Message.png



#21562 TUxNotificationsManager.

Posted by Speed on 25 November 2023 - 02:14 AM in Next Collection v6 Sub-Suite

Hi Boki,

 

Never mind, I worked it out.  In my event handler I can check which notification it is and whether or not it's set to AutoClose. :mellow:

   CodeSite.Send('TUxNotificationControl(Sender).Text', TUxNotificationControl(Sender).Text);

   if TUxNotificationControl(Sender).AutoClose then
   begin

   end
   else
   begin

   end;

= Steve




#21561 TUxNotificationsManager.

Posted by Speed on 25 November 2023 - 01:40 AM in Next Collection v6 Sub-Suite

Thanks Boki.

 

I've hooked onto the TUxNotificationControl OnClose event, but there's no way to tell if the notification has been closed manually or autoclosed.

 

Is there code I can add to check that?

 

The reason for this is, if a notification is autoclosed, then I want it to appear again as the user may not be on their computer when the notification appears.  But if the user closes it manually, then it would become annoying for them if the notification kept popping up.

 

The plan is to delete the notification from the TList if the user manually clicks the close button.

 

What do you think?

 

= Steve




#21558 TUxNotificationsManager.

Posted by Speed on 24 November 2023 - 05:01 AM in Next Collection v6 Sub-Suite

Hello Steve,

 

From the next version you will be able to find published UxControls6.NotificationControls (TList) variable. There you can find all currently open pop-ups.

Has this version been released, or is it still in dev?

 

= Steve




#21557 TUxNotificationsManager Fonts and Colours.

Posted by Speed on 24 November 2023 - 03:59 AM in Next Collection v6 Sub-Suite

Hi Boki,

 

You might have missed this one.

 

= Steve




#21556 Delphi 12 ?

Posted by Speed on 24 November 2023 - 03:13 AM in General Discussion

That was fast!




#21547 TUxNotificationsManager.

Posted by Speed on 11 November 2023 - 12:06 AM in Next Collection v6 Sub-Suite

Hello Steve,

 

From the next version you will be able to find published UxControls6.NotificationControls (TList) variable. There you can find all currently open pop-ups.

Hi Boki,

 

That is brilliant!  Thank you.

 

= Steve




#21545 TUxNotificationsManager.

Posted by Speed on 06 November 2023 - 10:54 PM in Next Collection v6 Sub-Suite

Hello,

 

Unfortunately it's not possible to check if a specific popup is open, but I can add it. I will also try to add an event for OnClose for the popup.

Thanks Boki, that would be awesome. 

 

In the meantime, I got around it by adding the popup text to a TStringList and then checking to see if it's in the list.  I can't get around the OnClose event though.

 

= Steve




#21543 TUxNotificationsManager Fonts and Colours.

Posted by Speed on 06 November 2023 - 03:05 AM in Next Collection v6 Sub-Suite

Hi Boki,

 

Is there any way to change the fonts, sizes and colours of the text for the TUxNotificationsManager control?  The text can be a bit hard to read.

 

= Steve

Attached Thumbnails

  • NotificationsManagerFontAndColour.png



#21542 TUxNotificationsManager.

Posted by Speed on 06 November 2023 - 02:53 AM in Next Collection v6 Sub-Suite

Is there also a way to detect if a reminder has been closed using the Close button?




#21541 TUxNotificationsManager.

Posted by Speed on 06 November 2023 - 01:09 AM in Next Collection v6 Sub-Suite

<bump>




#21540 TUxNotificationsManager.

Posted by Speed on 04 November 2023 - 01:18 AM in Next Collection v6 Sub-Suite

Hi Boki,

 

Is there any way to detect if a popup is already showing?

 

Let me explain.

 

If AutoClose is set to False, and a notification popup with the title of "Meeting" is showing, is there a way I can detect that this popup is already showing so I don't show the same popup again?

 

= Steve

 




#21538 Missing Download?

Posted by Speed on 30 October 2023 - 11:39 PM in General Discussion

Hello Steve,

 

It seems that I made a mistake with the date. It’s the first one at the list, and I will fix the date now.

 

Please sorry for this mistake.

 

Hi Boki,

 

No problem. :)

 

= Steve
 




#21534 Missing Download?

Posted by Speed on 30 October 2023 - 12:50 AM in General Discussion

Hi Boki,

 

The home page of your website says that NextSuite v6.12 has been released, but when I check my downloads it isn't listed (please see attached file).

 

= Steve

 

Attached Thumbnails

  • Downloads.png