Jump to content
uniGUI Discussion Forums

AmericoKutomi

uniGUI Subscriber
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

About AmericoKutomi

  • Rank
    Newbie
  1. AmericoKutomi

    UniFieldSet with CheckBox

    It works fine. Thank you! I have asked: "Additionally: what can I do to put a minimun width to DBLookupComboBox?" Is there 'minWidth', too?
  2. AmericoKutomi

    UniFieldSet with CheckBox

    Yes. Here it is. Thank you. ProjetoTeste.zip
  3. AmericoKutomi

    UniFieldSet with CheckBox

    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?
  4. AmericoKutomi

    (solved) Theme Pack

    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.
  5. It works fine. Thank you, Sherzod!
  6. AmericoKutomi

    (solved) Theme Pack

    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.
  7. Ok, I will do it.
  8. 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.
  9. 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
  10. 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
  11. 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?
  12. AmericoKutomi

    (solved) Long text on column title in DBGrid - How to wrap it?

    It worked very well!
  13. AmericoKutomi

    (solved) Long text on column title in DBGrid - How to wrap it?

    Sherzod, I will try this, too, because I want to learn more. Thank you, very much.
  14. AmericoKutomi

    (solved) Long text on column title in DBGrid - How to wrap it?

    alft, It worked fine. The solution is very easy and clean. Thank you.
×