Jump to content


Photo

AV when a modal dialog is shown in NxDatePicker6.Change.


  • Please log in to reply
2 replies to this topic

#1 FourWhey

FourWhey
  • Members
  • 165 posts

Posted 01 November 2016 - 04:50 PM

procedure TNxPopupControl6.Close(Value: WideString);
begin
  if not Assigned(DropDown) then Exit; // Added this check since the modal dialog 
                                       // interrupts things and DropDown is no 
                                       // longer assigned after the dialog is 
                                       // dismissed.
  if DropDown.AutoClose then
  begin
    { Set State }
    Include(FPopupState, psClosing);

    { Close & Destroy }
    DropDown.DroppedDown := False;
  end;
end;


#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 02 November 2016 - 02:27 PM

Hi,

 

Included. Thanks for this fix.


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 FourWhey

FourWhey
  • Members
  • 165 posts

Posted 03 November 2016 - 09:35 PM

Thanks






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users