Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/12/20 in all areas

  1. Another example from the "All about..." series. This time, about user's session info. Some information is a little harder to find like your real IP. I´m note talking here about the IP address between client/server session but you Internet real IP. If you´re running your server and client in the same machine it will only result to localhost/127.0.0.1. Here (look at the image provided) the IP is my real connection to the public Internet and the local IP is my Network local IP. They are both different from uniSession.remoteIP info. Another useful information is Geolocation that you can get a relative position via IP connection in most browsers device even without GPS available. This example shows how to do it and how to locate in Google maps (the easy part...). It's not precise as GPS is but you can easily resolve to the Country and and City by that retrieved info (coming soon in next version). Have fun Project available at https://www.unigui.express
    1 point
  2. As far as I remember this was already resolved, but with version 39 it came back // CONFIGURING REGIONAL CONFIGURATIONS UniGuiApplication.PFmtSettings.ThousandSeparator: = '.'; UniGuiApplication.PFmtSettings.DecimalSeparator: = ','; UniGuiApplication.PFmtSettings.CurrencyDecimals: = 2; UniGuiApplication.PFmtSettings.DateSeparator: = '/'; UniGuiApplication.PFmtSettings.ShortDateFormat: = 'dd / mm / yyyy'; UniGuiApplication.PFmtSettings.LongDateFormat: = 'dd / mm / yyyy'; UniGuiApplication.PFmtSettings.TimeSeparator: = ':'; UniGuiApplication.PFmtSettings.TimeAMString: = 'AM'; UniGuiApplication.PFmtSettings.TimePMString: = 'PM'; UniGuiApplication.PFmtSettings.ShortTimeFormat: = 'hh: mm'; UniGuiApplication.PFmtSettings.LongTimeFormat: = 'hh: mm: ss'; UniGuiApplication.PFmtSettings.CurrencyString: = 'R $';
    1 point
  3. Hi there, I suggest you use the login form for this. Display your splash screen after a successful login and before showing main form. See attached sample project. SplashDemo.zip
    1 point
  4. An update for Theme Pack 1 is almost ready. This will include theming for the Pivot grid, the Navigation Tree as well as a few small UI consistency fixes. Regards, Gerhard
    1 point
  5. Вообще, в приложенном примере проблем несколько. Начну с двух. 1. Не работает MultiSelect (пробовал в разных браузерах). Может это зависит от TClientDataSet? Например, в другом приложении MultiSelect работает, но там у меня компоненты DevArt UniDAC + Firebird. 2. В процедуре uniDialogCallbackAnonProc строка UniDBGrid1.SelectedRows.Count возвращает всегда 0, хотя одна запись в сетке выделена по любому. Третья проблема - в рабочем проекте. 3. Эта проблема проявляется тоже в uniDialogCallbackAnonProc, но в другом приложении, где используются компоненты DevArt UniDAC, там проблема в том, что строка UniDBGrid.refresh не вызывает обновлений и приходится нажимать кнопку refresh на UniDBNavigator для обновления сетки и датасета TUniQuery. В принципе, из-за третьей проблемы я пытался создать пример на базе ClientDataSet и обнаружил первые две проблемы, которых нет в рабочем проекте. unigui_event.zip
    1 point
×
×
  • Create New...