Jump to content

fiorilli

uniGUI Subscriber
  • Posts

    118
  • Joined

  • Last visited

  • Days Won

    4

fiorilli last won the day on July 21 2018

fiorilli had the most liked content!

Recent Profile Visitors

1193 profile views

fiorilli's Achievements

Active Member

Active Member (3/4)

8

Reputation

  1. Hello, it didn't work, I put it in my login form, but after logging in and closing the tab the event is not called
  2. Hello, I need to detect when the browser or my site's tab is closed, but I couldn't find an effective way. Currently I use procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'bclose' then statement end; With this I can detect the closing of the browser, but not the closing of the tab. What would be the best way to solve this case? Also, I would like to know if there is any documentation on unigui's event triggers such as "bclose". Some topics I've already consulted are: http://forums.unigui.com/index.php?/topic/12182-browser-or-tab-close/ http://forums.unigui.com/index.php?/topic/2967-kill-a-session-when-browser-is-closed/
  3. Hello, I have found the problem. It was not related to the hyperserver.
  4. Hello, would anyone have any tips? My application has been in production with this problem for a few days and I still can't find it.
  5. Hello, I am facing an access violation problem in my application and I can't find the reason. The problem happens randomly and analyzing the case I realized that the cause is access to a non-existent element or memory leaks, which are usually the cause of such problems. Probably it would be related to hyperserver nodes, because the problem happens only in some sessions and all sessions that enter the same node will have this problem. Even when relogging in the application the problem persists and is only solved when you recycle the node. The problem when giving show in forms and the most intriguing is that some of these forms don't even execute code in the show, create or any initialization event. The application's .cfg file is attached. Any questions I am available. Administrator.cfg
  6. Hello, I am using unisweetalert and want to use the execute method to indicate a response, however I am creating the unisweet alert at runtime in a class responsible for generating message boxes, my code is as follows: class function function TMessageUtils.UniSweetAlertQuestion(msg: string): boolean; var sweetAlert: TUniSweetAlert; begin sweetAlert := TUniSweetAlert.Create(nil); with sweetAlert do begin AlertType := atQuestion; html := msg; ConfirmButtonText := 'yes CancelButtonText := 'no'; ShowConfirmButton := true; ShowCancelButton := true; title := string.Empty; AllowEscapeKey := false; AllowOutsideClick := false; InputType := ItNone; end; if sweetAlert.Execute then result := true else result := false end; at no moment the function enters if. I did some tests and found out that the problem happens because you are passing nil when creating the component, is there any way around this?
  7. Hello, I used JSInterface.JSCallDefer('getSelectionModel().deselect', [0],10); to deselect the first row. Thanks for your help
  8. It worked for selecting the rows by js, but the first record still always comes selected. Could you not select the row when calling DataSet.first?
  9. Thank you, I look forward to hearing from you.
  10. GridMultiSelect - Checkbox.rarIf you disable the property dgDontShowSelected js row select will work fine.
  11. This case was solved with dgCheckSelectCheckOnly, but when I activate the dgDontShowSelected property the first record is still always selected and the selection I make in the loop stops working.
  12. Hello, Is there any way to allow selecting the row only when clicking on the checkbox?Currently the first row is always selected, and whenever I click on a row all other rows are deselected Hello, Is there any way to allow selecting the row only when clicking on the checkbox?Currently the first row is always selected, and whenever I click on a row all selected rows are unselected.
  13. When i call de method with button click it works, but when i use other triggers not. Examples: UniDBGrid.AfterLoad, Form.Aftershow.
  14. ok, I will implement it this way. One question, by selecting the row this way will I be able to find it through UniDBGrid.SelectedRows.Count
×
×
  • Create New...