Jump to content
uniGUI Discussion Forums

Артем

uniGUI Subscriber
  • Content Count

    134
  • Joined

  • Last visited

Everything posted by Артем

  1. Артем

    UniTabControl panels on bottom

    Hello! How show panels of UniTabControl on bottom? Not found good solution on forum.
  2. Hello! I'm using UniSF components and creating dynamic UniSFMenuButton. When button creating, not assigned UniPopupMenu and don't show when I press UniSFMenuButton. This is code of dynamic creating button: var ButtonModule: TUniSFMenuButton; begin ButtonModule:=TUniSFMenuButton.Create(UniScrollBox1); ButtonModule.DropdownMenu:=UniPopupMenu1; ButtonModule.ButtonStyles:=bs_transparent; ButtonModule.OnClick:=LaunchModuleClick; ButtonModule.Images:=UniMainModule.UniNativeImageList3; ButtonModule.ImageIndex:=0; ButtonModule.IconAlign:=iaTop; ButtonModule.Font:=UniSFBitBtnMenu.Font; ButtonModule.Font.Color:=clWhite; ButtonModule.Caption:='test'; ButtonModule.ShowHint:=True; ButtonModule.Name:='TUniSFMenuButton1'; ButtonModule.Parent:=UniScrollBox1; ButtonModule.Width:=150; ButtonModule.Height:=80; ButtonModule.Left:=50; ButtonModule.Top:=50; end; How assigned UniPopupMenu with UniSFButton in RunTime?
  3. Артем

    UniPopupMenu not assigned with UniSFMenuButton

    Ok, I was sendig personal message to him.
  4. Артем

    UrlReferer Setup

    Hello! How use UrlReferer property? I want that users use not IP of my Server and use normal URL.
  5. Артем

    Summary and UniButtonWidget

    Hello! If I use UniButtonWidget then UniDBGrid.Summary not working for column where exist UniButtonWidget. ColLines exist, but summary not working: Width UniButtonWidget: Without UniButtonWidget: Why?
  6. Артем

    Fixed width for column in UniDBGrid

    Good afternoon! There are several columns in my table. I need to pin the width of some columns so that it is fixed on the specified columns. Unfortunately, the columns do not have a property Columns.MaxWidth (I hope that appears in the following assemblies). For example, there are 5 columns in my table. I need the width of 1,2,4 columns to be fixed and not to change with the property ForceFit:=True How can I do that?
  7. Артем

    Fixed width for column in UniDBGrid

    Thank's, working!
  8. Артем

    UrlReferer Setup

    Anybody can explain how do this?
  9. Артем

    Image in ToolTip

    Hello! Is it possible put image in ToolTop, using JSInterface.JSCall? I mean this: JSInterface.JSCall('setTooltip',['<img source="'>...<b>My text</b>']);
  10. Артем

    Image in ToolTip

    Perfect! Working excellent! Thank's, @Sherzod!
  11. Артем

    MainForm OnDestroy action

    Good evening! After successful authorization, through the authorization form, I record in the database about the authorization time. I need to follow a similar procedure when restarting the application. There may be 2 options for shutting down: 1. The user has updated the page via the button - this is the right approach, in this case I easily perform the procedure of writing to the database about the time of shutdown; 2. Through F5 (either the refresh button in the browser, or closing the browser through the cross) is the wrong approach, but it can be. In connection with paragraph 2, I have a question: Does MainForm or MainModule have an event in which my event about the disconnection time from the database will be executed?
  12. Артем

    UniDateTimePicker editor

    Ok, very good. And when will be New build?
  13. Артем

    UniDateTimePicker editor

    Hello! In database I have table with field having type TIME. In my project, I using UniDateTimePicker and want set new value of time, using RowEditor. When I select new value from UnIDateTimePicker, I have error: Property of UniDateTimePicker:
  14. Артем

    UniDateTimePicker editor

    Ok! I will be waiting answer.
  15. Артем

    UniDateTimePicker editor

    Ok, thank's! And when will be answer from Support team?
  16. Артем

    UniDateTimePicker editor

    Look, I add UniDateTimePicker in you test case. When I make double click in UniDBGrid1 and using RowEditor, new value of time adding with '01.01.2008'. So, this is value ('01.01.2008') don't must adding. Only time must be insert. I get the same error. Because when you change the value of time, an extra value is added - the year. DateTime_RowEditor_with_UniDateTimePicker.zip
  17. Артем

    UniDateTimePicker editor

    Sorry, I'm not admin in server and can't create test Firebird database, using FireDAC. May be, possible get new value of time before post into table? For example, in event UnIDateTimePicker1.OnChange and then post new value when pressing button "Save" in RowEditor.
  18. Артем

    UniDateTimePicker editor

    Thank you for example, but you testcase not help me because you are using ClientDataSet - I'm using FireDAC, you creating field RunTime - I have now created field with time (TIME, Firebird). You are not using UnIDateTImePicker for edit time value.
  19. Артем

    UniDateTimePicker editor

    Ok, now I'm installing 1521 and will see, if it error will be exist...
  20. Артем

    UniDateTimePicker editor

    I would like @Sherzod to confirm that this error was fixed in version 1521. I downloaded it, but I’m using 1521 so far and don’t want to waste time reinstalling the version on 1521 if it has such an error. I would like to hear a comment from developers and support too. Do you have a test case with UniDateTimePicker settings? May accidentally be in stock. And then I used scripts too and maybe they conflict with what is written in OnCreate UniServerModule.
  21. Артем

    UniDateTimePicker editor

    I use the "Save" and "Cancel" buttons, which are used to save when using RowEditor in UniDBGrid. However, I put the code with the message here: procedure TUniFormWorkingTimeForGroup.FDQueryTimesAfterPost (DataSet: TDataSet); begin ShowMessageN (FDQueryTimes.FieldByName ('WorkTime'). AsString); end; And I did not receive this message, because at first I got an error in the browser about the wrong format: "'01 .01.2008 2:30:00 'is not a valid time.", But ShowMessageN did not appear.
  22. Артем

    UniDateTimePicker editor

    No, only this:
  23. Артем

    UniDateTimePicker editor

    This is from log:
  24. Артем

    UniDateTimePicker editor

    Hello! I was using first link from you answer and write that: procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin // Change application global format settings PFmtSettings.CurrencyFormat:=0; PFmtSettings.CurrencyString:='€'; PFmtSettings.DateSeparator:='.'; PFmtSettings.ShortDateFormat:='dd.mm.yyyy'; PFmtSettings.ShortTimeFormat:='hh:mm:ss'; PFmtSettings.TimeSeparator:=':'; end; But this is not working... After select time and pressing button "Save", in RowEditor, I get error.
  25. Артем

    vertical scrollbar

    May be, UniScrollBox help you?
×