Jump to content

AmericoKutomi

uniGUI Subscriber
  • Posts

    23
  • Joined

  • Last visited

Everything posted by AmericoKutomi

  1. My app is running on Linux 64 (Ubuntu 18.0.4). The server has 256 GB of RAM. I set the MaxAllowedSize from 0 to 3.221.225.472. When it was 0, no message was shown, but the upload did not work. After changing to 3221225472, the message above appeared. What can I do to solve this matter? Thanks
  2. I have had the same problem with Themes that are not loaded in Linux. Looking forward to the correction in a new build.
  3. Hi, I had the same problem and found a solution. In my case, DBLookupComboBox has a datasource and datafield. Consider DBLookupComboBox.datafield is MyField. When the statement MyField.AsInteger:= 1 is called programatically, the correspondent item in the DBLookupComboBox is not selected. The solution is to add the statement: DBLookupComboBox.UpdateText; Apparently, UpdateText does manually the work that should be automatic by a data aware component as TDBLookupComboBox. I hope this can help others.
  4. I had the same problem and thank you for this solution!
  5. I am trying to use a DBMemo component inside a FieldSet. I had done a sample project to show the strange behavior. This is the screen with the problem. The first component is a DBMemo, and the second one is a DBMemo inside a FieldSet. The DBMemo inside FieldSet shows only one line. Why? There is no difference when alignment is equal to none or to client. I have attached the project to this post. I would like to know what I am doing wrong. Could you, please, help me to solve this problem? Thanks ProjetoTeste.zip
  6. It works fine. Thank you! I have asked: "Additionally: what can I do to put a minimun width to DBLookupComboBox?" Is there 'minWidth', too?
  7. Yes. Here it is. Thank you. ProjetoTeste.zip
  8. I have a UniFieldSet which contains DBLookupComboBox, DBEdit and DBCheckBox. The DBCheckBox occupies more width that I want. The DBCheckBox width should be smaller. I would like to know what I am doing wrong. This is the DFM part of the form: object MainForm: TMainForm Left = 0 Top = 0 ClientHeight = 338 ClientWidth = 586 Caption = 'MainForm' OldCreateOrder = False MonitoredKeys.Keys = <> PixelsPerInch = 96 TextHeight = 13 object UniFieldSet5: TUniFieldSet Left = 0 Top = 0 Width = 586 Height = 88 Hint = '' CreateOrder = 1 Title = 'Adicionar novo telefone' Align = alTop Layout = 'hbox' TabOrder = 0 ExplicitLeft = -156 ExplicitTop = 1 ExplicitWidth = 641 object UniDBLookupComboBox1: TUniDBLookupComboBox Left = 15 Top = 18 Width = 146 Hint = '' CreateOrder = 1 ListFormat = '%s' ListField = 'conteudo' KeyField = 'idtipo_telefone' ListFieldIndex = 0 DataField = 'tipo_telefone' TabOrder = 1 Color = clWindow LayoutConfig.Flex = 1 FieldLabel = 'Tipo' FieldLabelAlign = laTop ForceSelection = True end object UniDBEdit6: TUniDBEdit Left = 127 Top = 34 Width = 50 Height = 22 Hint = '' CreateOrder = 2 DataField = 'codigo_pais' TabOrder = 2 LayoutConfig.Flex = 2 LayoutConfig.Margin = '0 0 0 20' FieldLabel = 'Cod. Pa'#237's' FieldLabelWidth = 50 FieldLabelAlign = laTop end object UniDBEdit7: TUniDBEdit Left = 188 Top = 18 Width = 177 Height = 22 Hint = '' CreateOrder = 3 DataField = 'telefone' TabOrder = 3 LayoutConfig.Flex = 3 LayoutConfig.Margin = '0 0 0 20' FieldLabel = 'N'#186' Telefone com DDD' FieldLabelAlign = laTop end object UniDBCheckBox1: TUniDBCheckBox Left = 464 Top = 18 Width = 100 Height = 17 Hint = '' CreateOrder = 4 DataField = 'app_mensagem' ValueChecked = '1' ValueUnchecked = '0' Caption = 'WhatsApp' TabOrder = 5 ParentColor = False Color = clBtnFace LayoutConfig.Flex = 4 LayoutConfig.Margin = '0 0 0 20' FieldLabel = 'Aceita Mensagem?' FieldLabelAlign = laTop end object UniDBEdit8: TUniDBEdit Left = 293 Top = 36 Width = 150 Height = 22 Hint = '' CreateOrder = 5 DataField = 'descricao' TabOrder = 4 LayoutConfig.Flex = 5 LayoutConfig.Margin = '0 0 0 20' FieldLabel = 'Ramal ou outra informa'#231#227'o' FieldLabelWidth = 150 FieldLabelAlign = laTop end end object UniButton1: TUniButton Left = 264 Top = 216 Width = 75 Height = 25 Hint = '' Caption = 'Close' TabOrder = 1 OnClick = UniButton1Click end end Please, what I have to do to reduce the DBCheckBox width? Additionally: what can I do to put a minimun width to DBLookupComboBox?
  9. I opened an old project with the complete list of themes. After that, I opened the new project. Then, the list of themes appeared complete also in the new project. I don't know what happened, but the problem is solved this time. I will close the topic. Thank you.
  10. I executed FMSoft_uniGUI_Theme_Pack_1.90.0.1534.exe in order to install the themes package. The dropdown list of Theme property of UniMainModule still shows the standard themes without the new ones. I was looking for some existing topic, but I couldn't find. What I have to do to be able to pick more themes? Is there a topic with a step by step process? Note: I had achieved the installation before, and some old projects have the complete list of themes available.
  11. I think you can reproduce the behavior using the sample program: "Memo and Image Column". I guess that if you Lock the first two columns, you will see the problem happening.
  12. UniGUIVersion 1.90.0.1523 I made a simple app. There is only one form with a DBGrid. The first 3 columns are Locked. The last column in the grid is DisplayMemo (=true). The database is in the source directory: DADOS.FDB and is a Firebird file. When running the application, the line with IDPACIENTE = 26 has different heights: one for the locked columns, and higher height for the others. It is due to the last column has data. The lines below are not even between locked and unlocked part of the grid. DBGridLocked.zip
  13. I am using Locked columns in a DBGrid. In the DBGrid there is a column with DisplayMemo = True, and Editor = UniMemo1. When the DBGrid is shown, at first time, the locked columns appear with default height. After (at right) the locked columns, the height of the lines vary depending on the text on Memo Column. It is show in the image below. The only way I have found to correct the heights is when the form is resized. The result is that all lines in all columns are with the correct height. See the image below. How can the DBGrid appears correctly when the frame is shown at first time? Please, I appreciate any help. Thanks Americo
  14. I have a DBGrid with several columns that hold CheckBoxField. For data entry, I am using Tab Key to set focus in each column. Tab key works fine to go to the next column, except for those columns that use CheckBoxField. Tab key works for columns with CheckBoxField when the prior column is not in "editing mode". If the prior column has focus with edition, Tab key sets the focus to the next column that doesn't have a CheckBoxField. It skips the columns that apparently have to double-click to enter the checkbox. Is it possible to always set focus in a column with CheckBoxField by using Tab key?
  15. Sherzod, I will try this, too, because I want to learn more. Thank you, very much.
  16. alft, It worked fine. The solution is very easy and clean. Thank you.
  17. My DBGrid has columns with large texts for their titles. Is it possible to wrap texts (break in multiple lines) inside each title column?
  18. Kaspersky antivirus stopped my stand alone application with the message: Application performing dangerous activity characteristic of malware You are advised to close all active programs and save your changes before computer restart. Detected: PDM:Trojan.Win32.Generic Location: c:\sistemas\cl..in32\debug\webclimax.exe (Button) Disinfect and restart the computer Try do disinfect without compurter restart When I use the second option of disinfecting without computer restart, Kaspersky deletes de executable. What can I do? I ran the scan with Kaspersky and it should be Okay, but the problem remains. Is it possible that is a false alarm? Americo
×
×
  • Create New...